added timeout alarm

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
Subhendu Ghosh 2003-02-12 04:32:20 +00:00
parent 79e9c3ebc8
commit 6e25c50e44

View 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