Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1


Remember Me


Current Version
Last Release Date

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Check NTPd output for minimum number of servers, reach, and at least one selected time server.
This nagios check determines the health of NTPd on a system by calculating the overall health of the peers associated with the daemon. This check also verifies other attributes, such as the number of peers available, and whether a peer has been selected to be the sync source. The overall health percentage is a cumulative average of the reach over the peers.

Example: If 3 peers are listed, and 1 of the 3 dropped 2 of the last 8 packets, the health of that peer would be 75%, and the overall health would be about 92% ((100 + 100 + 75) / 3).

Available Options:
--critical|-c -Set the critical threshold for overall health (default:50)
--warning|-w -Set the warning threshold for overall health (default:75)
--peer_critical -Set the critical threshold for number of peers (default:1)
--peer_warning -Set the warning threshold for number of peers (default:2)
--help|-h -display this help
Reviews (1)
bymdella, September 29, 2014
1 of 1 people found this review helpful
So far we have run across several of our servers that for whatever reason, never correctly connected with their NTP servers. The result was that ntpq -p returned "No Association" as its result which created a false positive since this script didn't recognize the failure case.

Added at line 36:
} elsif($server_list[$i] =~ /^No association/) {
splice(@server_list, $i, 1);

to deal with this edge case
Owner's reply

Thanks! I've updated the plugin as you've suggested.