summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_rpc.pl
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-01-17 05:56:01 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-01-17 05:56:01 (GMT)
commit86ac5cbdb767501a836dc57f21377ae11810d4d0 (patch)
tree18c25d8ea091fd405a187367eed11d477bcbdc8a /plugins-scripts/check_rpc.pl
parent1c359fe16f08025253871c3616dfc76ea96b906b (diff)
downloadmonitoring-plugins-86ac5cbdb767501a836dc57f21377ae11810d4d0.tar.gz
bug fix for state and opt_c initialization
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@251 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_rpc.pl')
-rwxr-xr-xplugins-scripts/check_rpc.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl
index 655028c..b9ca279 100755
--- a/plugins-scripts/check_rpc.pl
+++ b/plugins-scripts/check_rpc.pl
@@ -29,8 +29,8 @@ my ($verbose,@proto,%prognum,$host,$response,$prognum,$port,$cmd,$progver,$state
29my ($array_ref,$test,$element,@progkeys,$proto,$a,$b); 29my ($array_ref,$test,$element,@progkeys,$proto,$a,$b);
30my ($opt_V,$opt_h,$opt_C,$opt_p,$opt_H,$opt_c,$opt_u,$opt_t); 30my ($opt_V,$opt_h,$opt_C,$opt_p,$opt_H,$opt_c,$opt_u,$opt_t);
31my ($line, @progvers, $response2,$response3); 31my ($line, @progvers, $response2,$response3);
32$opt_V = $opt_h = $opt_C = $opt_p = $opt_H = $opt_c = $opt_u = $opt_t =''; 32$opt_V = $opt_h = $opt_C = $opt_p = $opt_H = $opt_u = $opt_t ='';
33$state = 'OK'; 33$state = 'UNKNOWN';
34$progver = $response=$response2= $response3 =''; 34$progver = $response=$response2= $response3 ='';
35 35
36$PROGNAME = "check_rpc"; 36$PROGNAME = "check_rpc";