/[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.19 by martinp, Tue Aug 12 19:40:05 2003 UTC revision 1.20 by martinp, Tue Aug 12 19:45:17 2003 UTC
# Line 122  Add the following line after start of cr Line 122  Add the following line after start of cr
122     group system     group system
123     start program = "/etc/init.d/cron start"     start program = "/etc/init.d/cron start"
124     stop  program = "/etc/init.d/cron stop"     stop  program = "/etc/init.d/cron stop"
125     timeout (5,5)     if 5 restarts within 5 cycles then timeout
126     alert foo@bar     alert foo@bar
127     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
128     depends on cron_rc     depends on cron_rc
# Line 141  Add the following line after start of cr Line 141  Add the following line after start of cr
141   check process gdm with pidfile /var/run/gdm.pid   check process gdm with pidfile /var/run/gdm.pid
142     start program = "/etc/init.d/gdm start"     start program = "/etc/init.d/gdm start"
143     stop program = "/etc/init.d/gdm stop"     stop program = "/etc/init.d/gdm stop"
144     timeout (5,5)     if 5 restarts within 5 cycles then timeout
145     alert foo@bar     alert foo@bar
146     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
147  </pre>  </pre>
# Line 154  Add the following line after start of cr Line 154  Add the following line after start of cr
154     host 192.168.1.1 port 25 protocol smtp  # e.g. exim     host 192.168.1.1 port 25 protocol smtp  # e.g. exim
155     host 192.168.1.1 port 515               # e.g. cups-lpd     host 192.168.1.1 port 515               # e.g. cups-lpd
156     host 192.168.1.1 port 113               # e.g. ident     host 192.168.1.1 port 113               # e.g. ident
157     timeout (5,5)     if 5 restarts within 5 cycles then timeout
158     alert foo@bar     alert foo@bar
159     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
160  </pre>  </pre>
# Line 164  Add the following line after start of cr Line 164  Add the following line after start of cr
164   check process syslogd with pidfile /var/run/syslogd.pid   check process syslogd with pidfile /var/run/syslogd.pid
165     start program = "/etc/init.d/sysklogd start"     start program = "/etc/init.d/sysklogd start"
166     stop program = "/etc/init.d/sysklogd stop"     stop program = "/etc/init.d/sysklogd stop"
167     timeout (5,5)     if 5 restarts within 5 cycles then timeout
168     alert foo@bar     alert foo@bar
169     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
170    
# Line 177  Add the following line after start of cr Line 177  Add the following line after start of cr
177   check process xfs with pidfile /var/run/xfs.pid   check process xfs with pidfile /var/run/xfs.pid
178     start program = "/etc/init.d/xfs start"     start program = "/etc/init.d/xfs start"
179     stop program = "/etc/init.d/xfs stop"     stop program = "/etc/init.d/xfs stop"
180     timeout (5,5)     if 5 restarts within 5 cycles then timeout
181     alert foo@bar     alert foo@bar
182     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
183  </pre>  </pre>
# Line 187  Add the following line after start of cr Line 187  Add the following line after start of cr
187   check process ypbind with pidfile /var/run/ypbind.pid   check process ypbind with pidfile /var/run/ypbind.pid
188     start program = "/etc/init.d/nis start"     start program = "/etc/init.d/nis start"
189     stop program = "/etc/init.d/nis stop"     stop program = "/etc/init.d/nis stop"
190     timeout (5,5)     if 5 restarts within 5 cycles then timeout
191     alert foo@bar     alert foo@bar
192     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
193  </pre>  </pre>
# Line 199  Add the following line after start of cr Line 199  Add the following line after start of cr
199     stop program = "/etc/init.d/snmpd stop"     stop program = "/etc/init.d/snmpd stop"
200     host 192.168.1.1 port 161 type udp     host 192.168.1.1 port 161 type udp
201     host 192.168.1.1 port 199 type tcp     host 192.168.1.1 port 199 type tcp
202     timeout (5,5)     if 5 restarts within 5 cycles then timeout
203     alert foo@bar     alert foo@bar
204     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
205  </pre>  </pre>
# Line 211  Add the following line after start of cr Line 211  Add the following line after start of cr
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     host 192.168.1.1 port 21 protocol ftp     host 192.168.1.1 port 21 protocol ftp
214     timeout (5,5)     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 }
217  </pre>  </pre>
# Line 223  Add the following line after start of cr Line 223  Add the following line after start of cr
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     host 192.168.1.1 port 22 protocol ssh     host 192.168.1.1 port 22 protocol ssh
226     timeout(5, 5)     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 }
229  </pre>  </pre>
# Line 247  Add the following line after start of cr Line 247  Add the following line after start of cr
247     host 192.168.1.1 port 443 type TCPSSL     host 192.168.1.1 port 443 type TCPSSL
248          certmd5 12-34-56-78-90-AB-CD-EF-12-34-56-78-90-AB-CD-EF          certmd5 12-34-56-78-90-AB-CD-EF-12-34-56-78-90-AB-CD-EF
249          protocol HTTP request /monit/token          protocol HTTP request /monit/token
250     timeout(5,5)     if 5 restarts within 5 cycles then timeout
251     alert foo@bar     alert foo@bar
252     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
253     depends on apache_bin     depends on apache_bin
# Line 277  Add the following line after start of cr Line 277  Add the following line after start of cr
277     stop  program = "/etc/init.d/zope stop"     stop  program = "/etc/init.d/zope stop"
278     group www     group www
279     host 192.168.1.1 port 8080 protocol HTTP     host 192.168.1.1 port 8080 protocol HTTP
280     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
281     every 5     every 5
282     alert foo@bar     alert foo@bar
283     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 290  Add the following line after start of cr Line 290  Add the following line after start of cr
290     start program = "/etc/init.d/squid start"     start program = "/etc/init.d/squid start"
291     stop  program = "/etc/init.d/squid stop"     stop  program = "/etc/init.d/squid stop"
292     host 192.168.1.1 port 3128     host 192.168.1.1 port 3128
293     timeout(5,5)     if 5 restarts within 5 cycles then timeout
294     alert foo@bar     alert foo@bar
295     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
296     depends on squid_bin     depends on squid_bin
# Line 320  Add the following line after start of cr Line 320  Add the following line after start of cr
320     group www     group www
321     start program = "/etc/init.d/privoxy start"     start program = "/etc/init.d/privoxy start"
322     stop  program = "/etc/init.d/privoxy stop"     stop  program = "/etc/init.d/privoxy stop"
323     timeout(5,5)     if 5 restarts within 5 cycles then timeout
324     host 192.168.1.1 port 8118     host 192.168.1.1 port 8118
325     alert foo@bar     alert foo@bar
326     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 353  Add the following line after start of cr Line 353  Add the following line after start of cr
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     host 192.168.1.1 port 25 protocol smtp     host 192.168.1.1 port 25 protocol smtp
356     timeout(5, 5)     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 }
359     depends on postfix_rc     depends on postfix_rc
# Line 374  Add the following line after start of cr Line 374  Add the following line after start of cr
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     host 192.168.1.1 port 25 protocol smtp     host 192.168.1.1 port 25 protocol smtp
377       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 }
380     depends on sendmail_bin     depends on sendmail_bin
# Line 402  Add the following line after start of cr Line 403  Add the following line after start of cr
403     group mail     group mail
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     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
407     host 192.168.1.1 port 110 type TCP protocol POP     host 192.168.1.1 port 110 type TCP protocol POP
408     alert foo@bar     alert foo@bar
409     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 433  Add the following line after start of cr Line 434  Add the following line after start of cr
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     unix /var/run/sophie
437     timeout(5, 5)     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 }
440     depends on sophie_bin     depends on sophie_bin
# Line 464  Add the following line after start of cr Line 465  Add the following line after start of cr
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     unix /var/run/trophie
468     timeout(5, 5)     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 }
471     depends on trophie_bin     depends on trophie_bin
# Line 493  Add the following line after start of cr Line 494  Add the following line after start of cr
494     group mail     group mail
495     start program = "/etc/init.d/spamd start"     start program = "/etc/init.d/spamd start"
496     stop  program = "/etc/init.d/spamd stop"     stop  program = "/etc/init.d/spamd stop"
497     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
498     alert foo@bar     alert foo@bar
499     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
500     depends on spamd_bin     depends on spamd_bin
# Line 528  check process mysql with pidfile /opt/my Line 529  check process mysql with pidfile /opt/my
529     start program = "/etc/init.d/mysql start"     start program = "/etc/init.d/mysql start"
530     stop program = "/etc/init.d/mysql stop"     stop program = "/etc/init.d/mysql stop"
531     host 192.168.1.1 port 3306     host 192.168.1.1 port 3306
532     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
533     alert foo@bar     alert foo@bar
534     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
535     depends on mysql_bin     depends on mysql_bin
# Line 558  check process slapd with pidfile /var/ru Line 559  check process slapd with pidfile /var/ru
559     start program = "/etc/init.d/slapd start"     start program = "/etc/init.d/slapd start"
560     stop program = "/etc/init.d/slapd stop"     stop program = "/etc/init.d/slapd stop"
561     host 192.168.1.1 port 389 protocol ldap3     host 192.168.1.1 port 389 protocol ldap3
562     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
563     alert foo@bar     alert foo@bar
564     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
565     depends on slapd_bin     depends on slapd_bin
# Line 595  check process slapd with pidfile /var/ru Line 596  check process slapd with pidfile /var/ru
596     start program = "/etc/init.d/smbd start"     start program = "/etc/init.d/smbd start"
597     stop  program = "/etc/init.d/smbd stop"     stop  program = "/etc/init.d/smbd stop"
598     host 192.168.1.1 port 139 type TCP     host 192.168.1.1 port 139 type TCP
599       if 5 restarts within 5 cycles then timeout
600     alert foo@bar     alert foo@bar
601     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
602     depends on smbd_bin     depends on smbd_bin
# Line 615  check process slapd with pidfile /var/ru Line 617  check process slapd with pidfile /var/ru
617     stop  program = "/etc/init.d/nmbd stop"     stop  program = "/etc/init.d/nmbd stop"
618     host 192.168.1.1 port 138 type UDP     host 192.168.1.1 port 138 type UDP
619     host 192.168.1.1 port 137 type UDP     host 192.168.1.1 port 137 type UDP
620       if 5 restarts within 5 cycles then timeout
621     alert foo@bar     alert foo@bar
622     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
623     depends on nmbd_bin     depends on nmbd_bin
# Line 636  check process slapd with pidfile /var/ru Line 639  check process slapd with pidfile /var/ru
639     start program = "/etc/init.d/lprng start"     start program = "/etc/init.d/lprng start"
640     stop  program = "/etc/init.d/lprng stop"     stop  program = "/etc/init.d/lprng stop"
641     host 192.168.1.1 port 515 type TCP     host 192.168.1.1 port 515 type TCP
642       if 5 restarts within 5 cycles then timeout
643     alert foo@bar     alert foo@bar
644     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
645     depends on lprng_bin     depends on lprng_bin
# Line 665  check process slapd with pidfile /var/ru Line 669  check process slapd with pidfile /var/ru
669    with pidfile /usr/iplanet/ldapmaster/slapd-master-1/logs/pid    with pidfile /usr/iplanet/ldapmaster/slapd-master-1/logs/pid
670     start program  "/usr/iplanet/ldapmaster/slapd-master-1/start-slapd"     start program  "/usr/iplanet/ldapmaster/slapd-master-1/start-slapd"
671     stop program  "/usr/iplanet/ldapmaster/slapd-master-1/stop-slapd"     stop program  "/usr/iplanet/ldapmaster/slapd-master-1/stop-slapd"
672     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
673     host 192.168.1.1 port 389 protocol ldap3     host 192.168.1.1 port 389 protocol ldap3
674     alert foo@bar     alert foo@bar
675     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 678  check process slapd with pidfile /var/ru Line 682  check process slapd with pidfile /var/ru
682     start program  "/usr/iplanet/msg-ims-1/imsimta start dispatcher"     start program  "/usr/iplanet/msg-ims-1/imsimta start dispatcher"
683     stop program  "/usr/iplanet/msg-ims-1/imsimta stop dispatcher"     stop program  "/usr/iplanet/msg-ims-1/imsimta stop dispatcher"
684     group messaging     group messaging
685     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
686     host 192.168.1.1 port 25 protocol smtp     host 192.168.1.1 port 25 protocol smtp
687     alert foo@bar     alert foo@bar
688     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 691  check process slapd with pidfile /var/ru Line 695  check process slapd with pidfile /var/ru
695     start program  "/usr/iplanet/msg-ims-1/imsimta start job_controller"     start program  "/usr/iplanet/msg-ims-1/imsimta start job_controller"
696     stop program  "/usr/iplanet/msg-ims-1/imsimta stop job_controller"     stop program  "/usr/iplanet/msg-ims-1/imsimta stop job_controller"
697     group messaging     group messaging
698     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
699     host 192.168.1.1 port 28442     host 192.168.1.1 port 28442
700     alert foo@bar     alert foo@bar
701     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 702  check process slapd with pidfile /var/ru Line 706  check process slapd with pidfile /var/ru
706   check process store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store   check process store with pidfile /usr/iplanet/msg-ims-1/config/pidfile.store
707     start program  "/usr/iplanet/msg-ims-1/start-msg store"     start program  "/usr/iplanet/msg-ims-1/start-msg store"
708     stop program  "/usr/iplanet/msg-ims-1/stop-msg store"     stop program  "/usr/iplanet/msg-ims-1/stop-msg store"
709     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
710     alert foo@bar     alert foo@bar
711     alert 123456@sms on { timestamp timeout }     alert 123456@sms on { timestamp timeout }
712     group messaging     group messaging
# Line 726  check process slapd with pidfile /var/ru Line 730  check process slapd with pidfile /var/ru
730     start program  "/usr/iplanet/msg-ims-1/start-msg http"     start program  "/usr/iplanet/msg-ims-1/start-msg http"
731     stop program  "/usr/iplanet/msg-ims-1/stop-msg http"     stop program  "/usr/iplanet/msg-ims-1/stop-msg http"
732     group messaging     group messaging
733     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
734     host 192.168.1.1 port 80 protocol http     host 192.168.1.1 port 80 protocol http
735     alert foo@bar     alert foo@bar
736     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 738  check process slapd with pidfile /var/ru Line 742  check process slapd with pidfile /var/ru
742     start program  "/usr/iplanet/msg-ims-1/start-msg pop"     start program  "/usr/iplanet/msg-ims-1/start-msg pop"
743     stop program  "/usr/iplanet/msg-ims-1/stop-msg pop"     stop program  "/usr/iplanet/msg-ims-1/stop-msg pop"
744     group messaging     group messaging
745     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
746     host 192.168.1.1 port 110 protocol pop     host 192.168.1.1 port 110 protocol pop
747     alert foo@bar     alert foo@bar
748     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 750  check process slapd with pidfile /var/ru Line 754  check process slapd with pidfile /var/ru
754     start program  "/usr/iplanet/msg-ims-1/start-msg imap"     start program  "/usr/iplanet/msg-ims-1/start-msg imap"
755     stop program  "/usr/iplanet/msg-ims-1/stop-msg imap"     stop program  "/usr/iplanet/msg-ims-1/stop-msg imap"
756     group messaging     group messaging
757     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
758     host 192.168.1.1 port 143 protocol imap     host 192.168.1.1 port 143 protocol imap
759     alert foo@bar     alert foo@bar
760     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 762  check process slapd with pidfile /var/ru Line 766  check process slapd with pidfile /var/ru
766     start program  "/usr/iplanet/msg-ims-1/start-msg snmp"     start program  "/usr/iplanet/msg-ims-1/start-msg snmp"
767     stop program  "/usr/iplanet/msg-ims-1/stop-msg snmp"     stop program  "/usr/iplanet/msg-ims-1/stop-msg snmp"
768     group messaging     group messaging
769     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
770     alert foo@bar     alert foo@bar
771     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
772  </pre>  </pre>
# Line 773  check process slapd with pidfile /var/ru Line 777  check process slapd with pidfile /var/ru
777     start program  "/usr/iplanet/mmp-ims2/AService.rc start"     start program  "/usr/iplanet/mmp-ims2/AService.rc start"
778     stop program  "/usr/iplanet/mmp-ims2/AService.rc stop"     stop program  "/usr/iplanet/mmp-ims2/AService.rc stop"
779     group messaging     group messaging
780     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
781     host 192.168.1.2 port 110 protocol pop     host 192.168.1.2 port 110 protocol pop
782     host 192.168.1.2 port 143 protocol imap     host 192.168.1.2 port 143 protocol imap
783     alert foo@bar     alert foo@bar
# Line 786  check process slapd with pidfile /var/ru Line 790  check process slapd with pidfile /var/ru
790     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service admin"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service admin"
791     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service admin"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service admin"
792     group calendar     group calendar
793     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
794     alert foo@bar     alert foo@bar
795     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
796  </pre>  </pre>
# Line 797  check process slapd with pidfile /var/ru Line 801  check process slapd with pidfile /var/ru
801     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service http"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service http"
802     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service http"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service http"
803     group calendar     group calendar
804     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
805     host 192.168.1.3 port 80 protocol http     host 192.168.1.3 port 80 protocol http
806     alert foo@bar     alert foo@bar
807     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 809  check process slapd with pidfile /var/ru Line 813  check process slapd with pidfile /var/ru
813     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service dwp"
814     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service dwp"
815     group calendar     group calendar
816     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
817     host 192.168.1.3 port 9779 protocol dwp     host 192.168.1.3 port 9779 protocol dwp
818     if cpu usage > 2% for 5 cycles then restart   # There's a leak in csdwpd     if cpu usage > 2% for 5 cycles then restart   # There's a leak in csdwpd
819     alert foo@bar     alert foo@bar
# Line 822  check process slapd with pidfile /var/ru Line 826  check process slapd with pidfile /var/ru
826     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service notify"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service notify"
827     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service notify"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service notify"
828     group calendar     group calendar
829     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
830     alert foo@bar     alert foo@bar
831     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
832  </pre>  </pre>
# Line 833  check process slapd with pidfile /var/ru Line 837  check process slapd with pidfile /var/ru
837     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service ens"     start program  "/usr/iplanet/SUNWics5/cal/bin/csstart service ens"
838     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service ens"     stop program  "/usr/iplanet/SUNWics5/cal/bin/csstop service ens"
839     group calendar     group calendar
840     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
841     host 192.168.1.3 port 7997     host 192.168.1.3 port 7997
842     alert foo@bar     alert foo@bar
843     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 847  check process slapd with pidfile /var/ru Line 851  check process slapd with pidfile /var/ru
851     group ups     group ups
852     start program = "/etc/init.d/apcupsd start"     start program = "/etc/init.d/apcupsd start"
853     stop  program = "/etc/init.d/apcupsd stop"     stop  program = "/etc/init.d/apcupsd stop"
854     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
855     host 192.168.1.3 port 7000 type TCP     host 192.168.1.3 port 7000 type TCP
856     alert foo@bar     alert foo@bar
857     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
# Line 878  check process slapd with pidfile /var/ru Line 882  check process slapd with pidfile /var/ru
882     start program = "/etc/init.d/webmin start"     start program = "/etc/init.d/webmin start"
883     stop  program = "/etc/init.d/webmin stop"     stop  program = "/etc/init.d/webmin stop"
884     host 192.168.1.3 port 10000     host 192.168.1.3 port 10000
885     timeout(5, 5)     if 5 restarts within 5 cycles then timeout
886     alert foo@bar     alert foo@bar
887     alert 123456@sms on { timeout }     alert 123456@sms on { timeout }
888    

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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