root@firewall:/var/run # ps auxww | grep ntpnobody 41571 0.0 0.1 750856 23484 - S 14:29 0:00.57 /usr/local/bin/node_exporter --web.listen-address=192.168.14.1:9100 --collector.textfile.directory=/var/tmp/node_exporter --collector.ntp --collector.devstatroot 87267 0.0 0.0 21768 6936 - Ss 15:17 0:00.02 /usr/local/sbin/ntpd -g -c /var/etc/ntpd.confroot 74685 0.0 0.0 12740 2348 0 S+ 15:19 0:00.00 grep ntproot@firewall:/var/run # ls -la /var/run/ntp*ls: No match.root@firewall:/var/run #
network time: remove PID file use as it can be unreliable
check process ntpd matching ntpd start program = "/usr/local/sbin/pluginctl -s ntpd start" stop program = "/usr/local/sbin/pluginctl -s ntpd stop" if failed host 127.0.0.1 port 123 type udp then alert