7 lines
335 B
Plaintext
7 lines
335 B
Plaintext
|
check process knot with pidfile /tmp/knot.pid
|
||
|
start program = "/usr/sbin/knotd -d"
|
||
|
stop program = "/usr/sbin/knotc stop"
|
||
|
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 tcp protocol dns for 3 times within 5 cycles then restart
|