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. --- web/attachments/329924-snmp_dskmon.diff | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 web/attachments/329924-snmp_dskmon.diff (limited to 'web/attachments/329924-snmp_dskmon.diff') diff --git a/web/attachments/329924-snmp_dskmon.diff b/web/attachments/329924-snmp_dskmon.diff new file mode 100644 index 0000000..f454346 --- /dev/null +++ b/web/attachments/329924-snmp_dskmon.diff @@ -0,0 +1,30 @@ +--- nagios-plugins-1.4.13/contrib/check_snmp_disk_monitor.pl 2002-08-22 07:42:43.000000000 -0700 ++++ nagios-plugins-1.4.13_mod/contrib/check_snmp_disk_monitor.pl 2009-06-03 06:27:33.000000000 -0700 +@@ -27,7 +27,6 @@ + %mounts = (); + + sub process_options { +- my( $opt_crit, $opt_warn ) = (); + Getopt::Long::Configure( 'bundling' ); + GetOptions( + 'V' => \$opt_version, 'version' => \$opt_version, +@@ -37,8 +36,8 @@ + 'H:s' => \$opt_host, 'hostname:s' => \$opt_host, + 'p:i' => \$opt_port, 'port:i' => \$opt_port, + 'C:s' => \$opt_community, 'community:s' => \$opt_community, +- 'c:i' => \$opt_crit, 'critical:i' => \$opt_crit, +- 'w:i' => \$opt_warn, 'warning:i' => \$opt_warn, ++ 'c:i' => \$opt_critical, 'critical:i' => \$opt_critical, ++ 'w:i' => \$opt_warning, 'warning:i' => \$opt_warning, + 't:i' => \$TIMEOUT, 'timeout:i' => \$TIMEOUT, + 'm:s' => \$opt_mountpoint, 'mountpoint:s'=> \$opt_mountpoint + ); +@@ -56,7 +55,7 @@ + } + + sub print_usage { +- print "Usage: $PROGNAME -H -C [-s] [-w ,] [-c ,] [-t ] -m \n"; ++ print "Usage: $PROGNAME -H -C [-s] [-w ] [-c ] [-t ] -m \n"; + } + + sub print_help { -- cgit v1.2.3-74-g34f1