Code

added timeout alarm
[nagiosplug.git] / 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