From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- .../265188-31_check_disk_local_option.dpatch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 web/attachments/265188-31_check_disk_local_option.dpatch (limited to 'web/attachments/265188-31_check_disk_local_option.dpatch') diff --git a/web/attachments/265188-31_check_disk_local_option.dpatch b/web/attachments/265188-31_check_disk_local_option.dpatch new file mode 100644 index 0000000..08bbabc --- /dev/null +++ b/web/attachments/265188-31_check_disk_local_option.dpatch @@ -0,0 +1,17 @@ +## 31_check_disk_local_option.dpatch by Jan Wagner +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix local option for check_disk + +diff -Nur nagios-plugins-1.4.11/plugins/check_disk.c.orig nagios-plugins-1.4.11/plugins/check_disk.c +--- nagios-plugins-1.4.11/plugins/check_disk.c.orig 2007-12-08 17:34:05.000000000 +0100 ++++ nagios-plugins-1.4.11/plugins/check_disk.c 2008-02-05 22:13:43.397159697 +0100 +@@ -475,7 +475,7 @@ + {"iwarning", required_argument, 0, 'W'}, + /* Dang, -C is taken. We might want to reshuffle this. */ + {"icritical", required_argument, 0, 'K'}, +- {"local", required_argument, 0, 'l'}, ++ {"local", no_argument, 0, 'l'}, + {"stat-remote-fs", required_argument, 0, 'L'}, + {"kilobytes", required_argument, 0, 'k'}, + {"megabytes", required_argument, 0, 'm'}, -- cgit v1.2.3-74-g34f1