aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-02-12 04:32:20 +0000
committerGravatar Subhendu Ghosh <sghosh@users.sourceforge.net> 2003-02-12 04:32:20 +0000
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 b5d0bcd1..f4eaefc0 100644
--- a/plugins-scripts/check_ifoperstatus.pl
+++ b/plugins-scripts/check_ifoperstatus.pl
@@ -87,7 +87,7 @@ $SIG{'ALRM'} = sub {
print ("ERROR: No snmp response from $hostname (alarm)\n");
exit $ERRORS{"UNKNOWN"};
};
-#alarm($TIMEOUT);
+alarm($TIMEOUT);
### Validate Arguments