From 6e25c50e44f348c0b9533ff766c724e2432e576d Mon Sep 17 00:00:00 2001 From: Subhendu Ghosh Date: Wed, 12 Feb 2003 04:32:20 +0000 Subject: [PATCH] added timeout alarm git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c --- plugins-scripts/check_ifoperstatus.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2