diff options
Diffstat (limited to 'web/attachments/66458-nagios-plugins-1.3.1-check-breeze.patch')
-rw-r--r-- | web/attachments/66458-nagios-plugins-1.3.1-check-breeze.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/attachments/66458-nagios-plugins-1.3.1-check-breeze.patch b/web/attachments/66458-nagios-plugins-1.3.1-check-breeze.patch new file mode 100644 index 0000000..49d7beb --- /dev/null +++ b/web/attachments/66458-nagios-plugins-1.3.1-check-breeze.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -ruN nagios-plugins-1.3.1/plugins-scripts/check_breeze.pl nagios-plugins-1.3.1-new/plugins-scripts/check_breeze.pl | ||
2 | --- nagios-plugins-1.3.1/plugins-scripts/check_breeze.pl 2002-10-28 13:05:06.000000000 +0000 | ||
3 | +++ nagios-plugins-1.3.1-new/plugins-scripts/check_breeze.pl 2003-07-14 18:39:57.000000000 +0100 | ||
4 | @@ -47,7 +47,7 @@ | ||
5 | ($opt_C) || ($opt_C = "public") ; | ||
6 | |||
7 | my $sig=0; | ||
8 | -$sig = `/usr/bin/snmpget $host $opt_C .1.3.6.1.4.1.710.3.2.3.1.3.0`; | ||
9 | +$sig = `/usr/bin/snmpget -v 1 -OQ -c $opt_C $host .1.3.6.1.4.1.710.3.2.3.1.3.0`; | ||
10 | my @test=split(/ /,$sig); | ||
11 | $sig=$test[2]; | ||
12 | $sig=int($sig); | ||