diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-01-17 05:56:01 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-01-17 05:56:01 +0000 |
commit | 86ac5cbdb767501a836dc57f21377ae11810d4d0 (patch) | |
tree | 18c25d8ea091fd405a187367eed11d477bcbdc8a | |
parent | 1c359fe16f08025253871c3616dfc76ea96b906b (diff) | |
download | monitoring-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
-rwxr-xr-x | plugins-scripts/check_rpc.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_rpc.pl b/plugins-scripts/check_rpc.pl index 655028ce..b9ca2799 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 | |||
29 | my ($array_ref,$test,$element,@progkeys,$proto,$a,$b); | 29 | my ($array_ref,$test,$element,@progkeys,$proto,$a,$b); |
30 | my ($opt_V,$opt_h,$opt_C,$opt_p,$opt_H,$opt_c,$opt_u,$opt_t); | 30 | my ($opt_V,$opt_h,$opt_C,$opt_p,$opt_H,$opt_c,$opt_u,$opt_t); |
31 | my ($line, @progvers, $response2,$response3); | 31 | my ($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"; |