20 lines
490 B
Text
20 lines
490 B
Text
set init
|
|
set daemon 60
|
|
set logfile syslog facility log_daemon
|
|
set pidfile /run/monit.pid
|
|
set idfile /var/lib/monit/id
|
|
set statefile /var/lib/monit/state
|
|
set eventqueue basedir /var/lib/monit/events slots 100
|
|
set limits { programoutput: 1 MB }
|
|
|
|
check program nsupdate
|
|
with path "/usr/local/bin/nsupdate"
|
|
every 1 cycle
|
|
if status = 0 then unmonitor
|
|
|
|
check program zeroconf
|
|
with path "/usr/local/bin/zeroconf"
|
|
every 1 cycle
|
|
if status = 0 then unmonitor
|
|
|
|
include /etc/monit.d/*.conf
|