diff options
author | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-12 04:32:20 +0000 |
---|---|---|
committer | Subhendu Ghosh <sghosh@users.sourceforge.net> | 2003-02-12 04:32:20 +0000 |
commit | 6e25c50e44f348c0b9533ff766c724e2432e576d (patch) | |
tree | b15a4c30b92c903f42f77f41059cad8677647dfe /plugins-scripts/check_ifoperstatus.pl | |
parent | 79e9c3ebc8d3dd0922633e5613d4247fdddfc30a (diff) | |
download | monitoring-plugins-6e25c50e44f348c0b9533ff766c724e2432e576d.tar.gz |
added timeout alarm
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@318 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins-scripts/check_ifoperstatus.pl')
-rw-r--r-- | plugins-scripts/check_ifoperstatus.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index b5d0bcd1..f4eaefc0 100644 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl | |||
@@ -87,7 +87,7 @@ $SIG{'ALRM'} = sub { | |||
87 | print ("ERROR: No snmp response from $hostname (alarm)\n"); | 87 | print ("ERROR: No snmp response from $hostname (alarm)\n"); |
88 | exit $ERRORS{"UNKNOWN"}; | 88 | exit $ERRORS{"UNKNOWN"}; |
89 | }; | 89 | }; |
90 | #alarm($TIMEOUT); | 90 | alarm($TIMEOUT); |
91 | 91 | ||
92 | 92 | ||
93 | ### Validate Arguments | 93 | ### Validate Arguments |