-
Notifications
You must be signed in to change notification settings - Fork 328
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Periodically check_ntp_time return "Socket timeout" when one of several ntp server doesn't response #150
Comments
|
Amazing that this is still an issue... I am running into the same exact mess. Going to try this patch. |
|
I'm probably concerned by the same issue. Anyway switching back to the old |
|
The patch must have worked, as I haven't had the issue since. It's been so long I forgot about it. :/ |
|
The following is an observation of what happened to us, it may help others. TL;DR version: this plugin will time out in 10 seconds on hosts with link-local IPv6 address only, when querying an NTP pool that includes IPv6 addresses. We saw the same problem when EPEL switched from nagios-plugins 2.0.3 to 2.1.4 for both CentOS6 & 7. We suddenly were seeing timeouts across all tons of systems, but with various level of randomness (our NTP service has four A records and four AAAA ones). Checking against individual NTP IPs was very fast, so at first it was a bit confusing. It would be nice if there was a better way of handling this, rather than having to forcefully set the plugin to use IPv4 in those situations. |
|
I'm looking into the patch, and will probably integrate it fairly soon. |
several ntp server doesn't response Fix for issue #150 Thanks to Leonid Vasiliev for the patch. We may want to make a better fix at some point, but this should do the job for now.
|
Fixed in branch Will be release in version 2.2.2 |
several ntp server doesn't response Fix for issue #150 Thanks to Leonid Vasiliev for the patch. We may want to make a better fix at some point, but this should do the job for now.
|
What's the timeline for 2.2.2? We currently deactivated this plugin because of the false positives and would like to reenable it |
several ntp server doesn't response Fix for issue #150 Thanks to Leonid Vasiliev for the patch. We may want to make a better fix at some point, but this should do the job for now.
several ntp server doesn't response Fix for issue #150 Thanks to Leonid Vasiliev for the patch. We may want to make a better fix at some point, but this should do the job for now.
|
Would be great to have a new release of this plugin, any planned release date? Thanks! |
Hi!
Periodically (may be depends of server LA) check_ntp_time return:
CRITICAL - Socket timeout after 45 seconds
when one of the several ntp servers doesn't response. But AVG_NUM of response has been received from other servers.
It the attachment you will find our debug output for using command (nagios-plugins-2.1.1):
/usr/local/libexec/nagios/check_ntp_time -H pool.ntp.org -w 1 -c 5 -t 45 -vv
check_ntp_time.txt
We believe that this commit 1afc22d reduced time for the post-processing function best_offset_server and check_ntp_time is interrupted by alarm (timeout_interval).
Possible patch to the prevent this situation:
The text was updated successfully, but these errors were encountered: