проверку синтаксиса для файла конфигурации monit control:
# monit -t
краткое описание monit:
# monit summary
Reload the Monit service with the following command:
# monit reload
статус monit run:
# monit status
Слежение и запуск сервиса в системах с systemd на примере bind9 (chroot):
## bind check process named with pidfile /var/named/chroot/var/run/named/named.pid start program = "/usr/bin/systemctl start named-chroot" stop program = "/usr/bin/systemctl stop named-chroot" if failed host 127.0.0.1 port 53 type tcp protocol dns then restart if failed host 127.0.0.1 port 53 type udp protocol dns then restart if 5 restarts within 5 cycles then timeout