Hack for monitoring NTP servers

James Browning jamesb192 at jamesb192.com
Mon Apr 15 16:42:56 UTC 2024


> On 04/11/2024 12:39 PM PDT Hal Murray via devel <devel at ntpsec.org> wrote:
> 
>  
> If somebody feels like hacking, something like this should be fun.
> 
> The idea is to setup a ntpd server watching the servers you want to monitor.  
> (noselect on the server line does that)
> 
> The new code is a program that watches that server to see if the servers to be 
> monitored are responding correctly and sends you email if they aren't.

If you were thinking of adding way too many servers you might want to
replace the bubble sort around lines 1709-1728 of ntp_proto.c

I would not write such a thing as it would get me banned from Google.


More information about the devel mailing list