feat: syslogize
This commit is contained in:
parent
47f66a6060
commit
228239bbae
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
check process knot with pidfile /tmp/knot.pid
|
check process knot with pidfile /tmp/knot.pid
|
||||||
start program = "/usr/sbin/knotd -d"
|
start program = "/usr/local/bin/syslogize /usr/sbin/knotd -d"
|
||||||
stop program = "/usr/sbin/knotc stop"
|
stop program = "/usr/local/bin/syslogize /usr/sbin/knotc stop"
|
||||||
if 5 restarts within 8 cycles then alert
|
if 5 restarts within 8 cycles then alert
|
||||||
if failed port 53 type udp protocol dns for 3 times within 5 cycles then restart
|
if failed port 53 type udp protocol dns for 3 times within 5 cycles then restart
|
||||||
if failed port 53 type tcp protocol dns for 3 times within 5 cycles then restart
|
if failed port 53 type tcp protocol dns for 3 times within 5 cycles then restart
|
||||||
|
|
Loading…
Reference in a new issue