Code

added timeout alarm
authorSubhendu Ghosh <sghosh@users.sourceforge.net>
Wed, 12 Feb 2003 04:32:20 +0000 (04:32 +0000)
committerSubhendu Ghosh <sghosh@users.sourceforge.net>
Wed, 12 Feb 2003 04:32:20 +0000 (04:32 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c

plugins-scripts/check_ifoperstatus.pl

index b5d0bcd1e10a898882bc6412dea2f529f3fd58e3..f4eaefc0576a36f5bc9b1aec3ebb35979f0eba86 100644 (file)
@@ -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