243 |
check process named with pidfile /var/named/chroot/var/run/named/named.pid |
check process named with pidfile /var/named/chroot/var/run/named/named.pid |
244 |
start program = "/etc/init.d/named start" |
start program = "/etc/init.d/named start" |
245 |
stop program = "/etc/init.d/named stop" |
stop program = "/etc/init.d/named stop" |
246 |
if failed host 127.0.0.1 port 53 type tcp then alert |
if failed host 127.0.0.1 port 53 protocol dns type tcp then alert |
247 |
if failed host 127.0.0.1 port 53 type udp then alert |
if failed host 127.0.0.1 port 53 protocol dns type udp then alert |
248 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
249 |
</pre> |
</pre> |
250 |
|
|
643 |
group database |
group database |
644 |
start program = "/etc/init.d/mysql start" |
start program = "/etc/init.d/mysql start" |
645 |
stop program = "/etc/init.d/mysql stop" |
stop program = "/etc/init.d/mysql stop" |
646 |
if failed host 192.168.1.1 port 3306 then restart |
if failed host 192.168.1.1 port 3306 protocol mysql then restart |
647 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
648 |
alert foo@bar |
alert foo@bar |
649 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |