[ntp:questions] Problem monitoring NTP synchronization status
Hal Murray
hal-usenet at ip-64-139-1-69.sjc.megapath.net
Wed Apr 23 01:18:21 UTC 2008
>$!/bin/sh
>if ! ntpq|grep '* name.of.router'>/dev/null; then
> mail -s "NTP sync has been lost" your.name at youremil.com
>fi
>
>And put the shell script into crontab to run every minute.
>(your milage may vary)
That could lead to a lot of clutter in your mailbox.
--
These are my opinions, not necessarily my employer's. I hate spam.
More information about the questions
mailing list