About

The monit file works assuming that /etc/init.d/ntp exists - on some distributions, the init file is located at /etc/init.d/ntpd.

Code

###########################################################################
##  Copyright (C) Wizardry and Steamworks 2018 - License: GNU GPLv3      ##
###########################################################################
 
check process ntpd matching "ntpd"
   start program  "/bin/systemctl start openntpd"
   stop program  "/bin/systemctl stop openntpd"
   #if failed host 127.0.0.1 port 123 type udp then restart
   # if 5 restarts within 5 cycles then timeout

assets/monit/debian/templates/ntpd.txt ยท Last modified: 2024/11/02 00:53 by office

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.