]> git.pld-linux.org Git - packages/nagios-plugins.git/blame - nagios-plugins-check_snmp_disk_monitor-opts.patch
- all plugins R: nagios-common (via secondary deps it's wrong)
[packages/nagios-plugins.git] / nagios-plugins-check_snmp_disk_monitor-opts.patch
CommitLineData
42e7c695
MM
1--- contrib/check_snmp_disk_monitor.pl 2009-04-03 15:44:39.000000000 +0200
2+++ contrib/check_snmp_disk_monitor.pl.new 2009-07-18 10:28:04.835758511 +0200
3@@ -27,7 +27,6 @@
4 %mounts = ();
5
6 sub process_options {
7- my( $opt_crit, $opt_warn ) = ();
8 Getopt::Long::Configure( 'bundling' );
9 GetOptions(
10 'V' => \$opt_version, 'version' => \$opt_version,
11@@ -37,8 +36,8 @@
12 'H:s' => \$opt_host, 'hostname:s' => \$opt_host,
13 'p:i' => \$opt_port, 'port:i' => \$opt_port,
14 'C:s' => \$opt_community, 'community:s' => \$opt_community,
15- 'c:i' => \$opt_crit, 'critical:i' => \$opt_crit,
16- 'w:i' => \$opt_warn, 'warning:i' => \$opt_warn,
17+ 'c:i' => \$opt_critical, 'critical:i' => \$opt_critical,
18+ 'w:i' => \$opt_warning, 'warning:i' => \$opt_warning,
19 't:i' => \$TIMEOUT, 'timeout:i' => \$TIMEOUT,
20 'm:s' => \$opt_mountpoint, 'mountpoint:s'=> \$opt_mountpoint
21 );
This page took 0.076477 seconds and 4 git commands to generate.