683d68d763
from pkgsrc-wip. This is a package for the SNMP monitoring plug-ins for nagios. For more information about nagios, see the 'nagios-base' package.
13 lines
488 B
Text
13 lines
488 B
Text
$NetBSD: patch-ad,v 1.1.1.1 2006/02/18 17:23:43 bouyer Exp $
|
|
|
|
--- plugins-scripts/check_breeze.pl.orig 2005-08-04 07:37:19.000000000 -0700
|
|
+++ plugins-scripts/check_breeze.pl 2005-08-04 07:47:00.000000000 -0700
|
|
@@ -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 = `$utils::PATH_TO_SNMPGET -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);
|