summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_ntp.pl
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 12:59:07 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2014-01-21 12:59:07 (GMT)
commit11cf54ca78185d820085a476cdbf7d8f9149c292 (patch)
treef91c77af08f3bbe60be2a1a699033ad7eda27ba2 /plugins-scripts/check_ntp.pl
parent66544851f7a4f5eeaf86d1cee8b1f54c76f98433 (diff)
parent6141cfebf6c42873e0181105d2051143d8c11eb7 (diff)
downloadmonitoring-plugins-11cf54ca78185d820085a476cdbf7d8f9149c292.tar.gz
Merge branch 'rename'
Diffstat (limited to 'plugins-scripts/check_ntp.pl')
-rwxr-xr-xplugins-scripts/check_ntp.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_ntp.pl b/plugins-scripts/check_ntp.pl
index 5c87e0a..d452b1b 100755
--- a/plugins-scripts/check_ntp.pl
+++ b/plugins-scripts/check_ntp.pl
@@ -172,7 +172,7 @@ if ($utils::PATH_TO_NTPQ && -x $utils::PATH_TO_NTPQ ) {
172 $have_ntpq = 0; 172 $have_ntpq = 0;
173} 173}
174 174
175# Just in case of problems, let's not hang Nagios 175# Just in case of problems, let's not hang the monitoring system
176$SIG{'ALRM'} = sub { 176$SIG{'ALRM'} = sub {
177 print ("ERROR: No response from ntp server (alarm)\n"); 177 print ("ERROR: No response from ntp server (alarm)\n");
178 exit $ERRORS{"UNKNOWN"}; 178 exit $ERRORS{"UNKNOWN"};