Page 1 of 1

check_ntp_peer which hostname?

Posted: Mon Mar 27, 2017 5:32 pm
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.

Re: check_ntp_peer which hostname?

Posted: Tue Mar 28, 2017 9:34 am
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.