210 |
check process proftpd with pidfile /var/run/proftpd.pid |
check process proftpd with pidfile /var/run/proftpd.pid |
211 |
start program = "/etc/init.d/proftpd start" |
start program = "/etc/init.d/proftpd start" |
212 |
stop program = "/etc/init.d/proftpd stop" |
stop program = "/etc/init.d/proftpd stop" |
213 |
if failed host 192.168.1.1 port 21 protocol ftp then restart |
if failed port 21 protocol ftp then restart |
214 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
215 |
alert foo@bar |
alert foo@bar |
216 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
222 |
check process sshd with pidfile /var/run/sshd.pid |
check process sshd with pidfile /var/run/sshd.pid |
223 |
start program "/etc/init.d/sshd start" |
start program "/etc/init.d/sshd start" |
224 |
stop program "/etc/init.d/sshd stop" |
stop program "/etc/init.d/sshd stop" |
225 |
if failed host 192.168.1.1 port 22 protocol ssh then restart |
if failed port 22 protocol ssh then restart |
226 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
227 |
alert foo@bar |
alert foo@bar |
228 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
352 |
group mail |
group mail |
353 |
start program = "/etc/init.d/postfix start" |
start program = "/etc/init.d/postfix start" |
354 |
stop program = "/etc/init.d/postfix stop" |
stop program = "/etc/init.d/postfix stop" |
355 |
if failed host 192.168.1.1 port 25 protocol smtp then restart |
if failed port 25 protocol smtp then restart |
356 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
357 |
alert foo@bar |
alert foo@bar |
358 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
373 |
group mail |
group mail |
374 |
start program = "/etc/init.d/sendmail start" |
start program = "/etc/init.d/sendmail start" |
375 |
stop program = "/etc/init.d/sendmail stop" |
stop program = "/etc/init.d/sendmail stop" |
376 |
if failed host 192.168.1.1 port 25 protocol smtp then restart |
if failed port 25 protocol smtp then restart |
377 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
378 |
alert foo@bar |
alert foo@bar |
379 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
404 |
start program = "/etc/init.d/qpopper start" |
start program = "/etc/init.d/qpopper start" |
405 |
stop program = "/etc/init.d/qpopper stop" |
stop program = "/etc/init.d/qpopper stop" |
406 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
407 |
if failed host 192.168.1.1 port 110 type TCP protocol POP then restart |
if failed port 110 type TCP protocol POP then restart |
408 |
alert foo@bar |
alert foo@bar |
409 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
410 |
depends on qpopper_bin |
depends on qpopper_bin |
433 |
group mail |
group mail |
434 |
start program = "/etc/init.d/sophie start" |
start program = "/etc/init.d/sophie start" |
435 |
stop program = "/etc/init.d/sophie stop" |
stop program = "/etc/init.d/sophie stop" |
436 |
unix /var/run/sophie |
if failed unixsocket /var/run/sophie then restart |
437 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
438 |
alert foo@bar |
alert foo@bar |
439 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |
464 |
group mail |
group mail |
465 |
start program = "/etc/init.d/trophie start" |
start program = "/etc/init.d/trophie start" |
466 |
stop program = "/etc/init.d/trophie stop" |
stop program = "/etc/init.d/trophie stop" |
467 |
unix /var/run/trophie |
if failed unixsocket /var/run/trophie then restart |
468 |
if 5 restarts within 5 cycles then timeout |
if 5 restarts within 5 cycles then timeout |
469 |
alert foo@bar |
alert foo@bar |
470 |
alert 123456@sms on { timeout } |
alert 123456@sms on { timeout } |