/[monit]/monit/web/examples.html
ViewVC logotype

Diff of /monit/web/examples.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.22 by martinp, Wed Aug 27 23:36:43 2003 UTC revision 1.23 by hauk, Sat Sep 6 00:18:14 2003 UTC
# Line 210  Add the following line after start of cr Line 210  Add the following line after start of cr
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 }
# Line 222  Add the following line after start of cr Line 222  Add the following line after start of cr
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 }
# Line 352  Add the following line after start of cr Line 352  Add the following line after start of cr
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 }
# Line 373  Add the following line after start of cr Line 373  Add the following line after start of cr
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 }
# Line 404  Add the following line after start of cr Line 404  Add the following line after start of cr
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
# Line 433  Add the following line after start of cr Line 433  Add the following line after start of cr
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 }
# Line 464  Add the following line after start of cr Line 464  Add the following line after start of cr
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 }

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26