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

File: http://svn.grimore.org/configuration-templates/monit/debian/templates/ntpd -

###########################################################################
##  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

unix/monit/debian/templates/ntpd.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

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.