Baka
Menu

Monitoring of ntpd status and clock diff

Xymon script to check ntp sync status on ntp sources and send non-green status if the time is not in sync with local time by defined max offset of seconds.

Installation:
Client-side:
Download and copy ntpd.sh to xymon ext directory.
Create new file /etc/xymon/clientlaunch.d/ntpd.cfg:

Server-side:
Add "ntpd=ncv" to TEST2RRD variable and "ntpd" to GRAPHS variable in xymonserver.cfg.
Add new line "NCV_ntpd="Offset:GAUGE,*:NONE" to xymonserver.cfg.
Create new file /etc/xymon/graphs.d/ntpd.cfg:

Add "ntpd" tag to hosts.cfg for monitored targets.
Restart the xymon-server.

Download

Screenshots:

ntpd: green / yellow / red