containers-monit/monitrc

26 lines
568 B
Text
Raw Normal View History

2019-09-10 23:24:35 +00:00
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
2019-09-11 00:11:06 +00:00
set limits { programoutput: 1 MB }
2019-09-10 23:24:35 +00:00
set httpd port 2812
allow localhost
allow 172.0.0.0/8
2022-03-07 23:28:42 +00:00
allow "fd00:acab::/32"
2019-09-10 23:24:35 +00:00
2021-04-01 18:49:14 +00:00
check program nsupdate
with path "/usr/local/bin/nsupdate"
every 1 cycle
if status = 0 then unmonitor
2022-03-07 23:28:42 +00:00
check program email
with path "/usr/local/bin/email"
every 1 cycle
if status = 0 then unmonitor
2022-03-07 21:59:28 +00:00
2019-09-10 23:24:35 +00:00
include /etc/monit.d/*.conf