From: Subhendu Ghosh Date: Wed, 12 Feb 2003 04:32:20 +0000 (+0000) Subject: added timeout alarm X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6e25c50e44f348c0b9533ff766c724e2432e576d;p=nagiosplug.git added timeout alarm git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c --- 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 { print ("ERROR: No snmp response from $hostname (alarm)\n"); exit $ERRORS{"UNKNOWN"}; }; -#alarm($TIMEOUT); +alarm($TIMEOUT); ### Validate Arguments