summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_rpc.pl
diff options
context:
space:
mode:
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 d2701e95..474067e3 100755
--- a/plugins-scripts/check_rpc.pl
+++ b/plugins-scripts/check_rpc.pl
@@ -1,6 +1,6 @@
1#!/usr/local/bin/perl -w 1#!/usr/local/bin/perl -w
2# 2#
3# check_rpc plugin for nagios 3# check_rpc plugin for monitoring
4# 4#
5# usage: 5# usage:
6# check_rpc host service 6# check_rpc host service
@@ -254,7 +254,7 @@ $proto = 't' if ($opt_t);
254$proto = 'u' if ($opt_u); 254$proto = 'u' if ($opt_u);
255 255
256 256
257# Just in case of problems, let's not hang Nagios 257# Just in case of problems, let's not hang the monitoring system
258$SIG{'ALRM'} = sub { 258$SIG{'ALRM'} = sub {
259 print ("ERROR: No response from RPC server (alarm)\n"); 259 print ("ERROR: No response from RPC server (alarm)\n");
260 exit $ERRORS{"UNKNOWN"}; 260 exit $ERRORS{"UNKNOWN"};