blob: 49d7beb1b59625ee18ae7805671c8aa344bad375 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
diff -ruN nagios-plugins-1.3.1/plugins-scripts/check_breeze.pl nagios-plugins-1.3.1-new/plugins-scripts/check_breeze.pl
--- nagios-plugins-1.3.1/plugins-scripts/check_breeze.pl 2002-10-28 13:05:06.000000000 +0000
+++ nagios-plugins-1.3.1-new/plugins-scripts/check_breeze.pl 2003-07-14 18:39:57.000000000 +0100
@@ -47,7 +47,7 @@
($opt_C) || ($opt_C = "public") ;
my $sig=0;
-$sig = `/usr/bin/snmpget $host $opt_C .1.3.6.1.4.1.710.3.2.3.1.3.0`;
+$sig = `/usr/bin/snmpget -v 1 -OQ -c $opt_C $host .1.3.6.1.4.1.710.3.2.3.1.3.0`;
my @test=split(/ /,$sig);
$sig=$test[2];
$sig=int($sig);
|