check_ntp_peer which hostname?

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
ldclancy
Posts: 1
Joined: Mon Mar 27, 2017 5:22 pm

check_ntp_peer which hostname?

Post by ldclancy »

I'm reviewing our existing NTP monitoring in Nagios.

Most servers have a check that ensures that they are in sync with our core NTP server (check_ntp_time -a timeserver.local)
Our core NTP server runs a NTP peer check against itself (check_ntp_peer -H timeserver.local).

Is this right? Or should this test be run against one of the external sources? (e.g. check_ntp_peer -H pool.ntp.org)

Thanks, Liam.
avandemore
Posts: 1597
Joined: Tue Sep 27, 2016 4:57 pm

Re: check_ntp_peer which hostname?

Post by avandemore »

This check:

Code: Select all

check_ntp_peer -H timeserver.local
Is of dubious value if the check is run against localhost. About the only thing it would catch is if the NTP server went down.
Previous Nagios employee
Locked