mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-06-09 00:32:05 -04:00
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:
parent
79e9c3ebc8
commit
6e25c50e44
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue