summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubhendu Ghosh <sghosh@users.sourceforge.net>2003-02-12 04:32:20 (GMT)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>2003-02-12 04:32:20 (GMT)
commit6e25c50e44f348c0b9533ff766c724e2432e576d (patch)
treeb15a4c30b92c903f42f77f41059cad8677647dfe
parent79e9c3ebc8d3dd0922633e5613d4247fdddfc30a (diff)
downloadmonitoring-plugins-6e25c50e44f348c0b9533ff766c724e2432e576d.tar.gz
added timeout alarm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r--plugins-scripts/check_ifoperstatus.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl
index b5d0bcd..f4eaefc 100644
--- a/plugins-scripts/check_ifoperstatus.pl
+++ b/plugins-scripts/check_ifoperstatus.pl
@@ -87,7 +87,7 @@ $SIG{'ALRM'} = sub {
87 print ("ERROR: No snmp response from $hostname (alarm)\n"); 87 print ("ERROR: No snmp response from $hostname (alarm)\n");
88 exit $ERRORS{"UNKNOWN"}; 88 exit $ERRORS{"UNKNOWN"};
89}; 89};
90#alarm($TIMEOUT); 90alarm($TIMEOUT);
91 91
92 92
93### Validate Arguments 93### Validate Arguments