summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_rpc.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 07:59:07 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 07:59:07 -0500
commit11cf54ca78185d820085a476cdbf7d8f9149c292 (patch)
treef91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins-scripts/check_rpc.pl
parent66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff)
parent6141cfebf6c42873e0181105d2051143d8c11eb7 (diff)
downloadmonitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz
Merge branch 'rename'
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"};