diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-07-22 01:03:42 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2002-07-22 01:03:42 +0000 |
commit | 4bd953d9e9f77c9e1688cc3fec99356749069fce (patch) | |
tree | 1b034c239e697c7fa03f7560ca57dd01ba334b56 /net/nagios-plugins/files/patch-check_breeze.pl | |
parent | Update to 1.6 release (diff) |
Add nagios-plugins after repocopy from netsaint-plugins.
Submitted by: Blaz Zupan <blaz@si.FreeBSD.org>
Repocopied by: joe
Notes
Notes:
svn path=/head/; revision=63351
Diffstat (limited to 'net/nagios-plugins/files/patch-check_breeze.pl')
-rw-r--r-- | net/nagios-plugins/files/patch-check_breeze.pl | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/net/nagios-plugins/files/patch-check_breeze.pl b/net/nagios-plugins/files/patch-check_breeze.pl new file mode 100644 index 000000000000..ed01ed5752ce --- /dev/null +++ b/net/nagios-plugins/files/patch-check_breeze.pl @@ -0,0 +1,23 @@ +--- plugins-scripts/check_breeze.pl.orig Tue May 7 07:35:49 2002 ++++ plugins-scripts/check_breeze.pl Fri Jul 19 20:46:00 2002 +@@ -1,9 +1,9 @@ +-#! /usr/bin/perl -wT ++#! /usr/bin/perl -w + + + use strict; + use Getopt::Long; +-use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $PROGNAME); ++use vars qw($opt_V $opt_h $opt_H $opt_w $opt_c $opt_C $PROGNAME); + use lib utils.pm ; + use utils qw(%ERRORS &print_revision &support &usage); + +@@ -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 -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); |