X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=plugins-scripts%2Fcheck_breeze.pl;h=a4e8542cbe8ca3c4986b8653e636c28262c3570e;hb=2b442ff177751c5ea17e792c10e6d50d7b922b08;hp=c7728b8d211c6e1d4c8b1388dfd409193a51f6e6;hpb=d95644521ccd544cbb9a8bfeda927a6b9f6fb01a;p=nagiosplug.git diff --git a/plugins-scripts/check_breeze.pl b/plugins-scripts/check_breeze.pl index c7728b8..a4e8542 100755 --- a/plugins-scripts/check_breeze.pl +++ b/plugins-scripts/check_breeze.pl @@ -1,9 +1,9 @@ -#! /usr/bin/perl -wT +#!/usr/bin/perl -wT 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_w $opt_c $opt_H $opt_C $PROGNAME); use lib utils.pm ; use utils qw(%ERRORS &print_revision &support &usage); @@ -26,7 +26,7 @@ GetOptions "C=s" => \$opt_C, "community=s" => \$opt_C); if ($opt_V) { - print_revision($PROGNAME,'$Revision$'); + print_revision($PROGNAME,'@NP_VERSION@'); exit $ERRORS{'OK'}; } @@ -65,7 +65,7 @@ sub print_usage () { } sub print_help () { - print_revision($PROGNAME,'$Revision$'); + print_revision($PROGNAME,'@NP_VERSION@'); print "Copyright (c) 2000 Jeffrey Blank/Karl DeBisschop This plugin reports the signal strength of a Breezecom wireless equipment