/[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.18 by martinp, Wed Aug 6 19:54:15 2003 UTC revision 1.19 by martinp, Tue Aug 12 19:40:05 2003 UTC
# Line 129  Add the following line after start of cr Line 129  Add the following line after start of cr
129    
130   check file cron_rc with path /etc/init.d/cron   check file cron_rc with path /etc/init.d/cron
131     group system     group system
132     checksum     if failed checksum then stop
133     permission 755     if failed permission 755 then stop
134       if failed uid root then stop
135       if failed gid root then stop
136     alert foo@bar     alert foo@bar
137  </pre>  </pre>
138    
# Line 253  Add the following line after start of cr Line 255  Add the following line after start of cr
255    
256   check file apache_bin with path /opt/apache/bin/httpd   check file apache_bin with path /opt/apache/bin/httpd
257     group www     group www
258     checksum     if failed checksum then stop
259     permission 755     if failed permission 755 then stop
260       if failed uid root then stop
261       if failed gid root then stop
262     alert foo@bar     alert foo@bar
263    
264   check file apache_rc with path /etc/init.d/apache   check file apache_rc with path /etc/init.d/apache
265     group www     group www
266     checksum     if failed checksum then stop
267     permission 755     if failed permission 755 then stop
268       if failed uid root then stop
269       if failed gid root then stop
270     alert foo@bar     alert foo@bar
271  </pre>  </pre>
272    
# Line 292  Add the following line after start of cr Line 298  Add the following line after start of cr
298    
299   check file squid_bin with path /opt/squid/bin/squid   check file squid_bin with path /opt/squid/bin/squid
300     group www     group www
301     checksum     if failed checksum then stop
302     permission 755     if failed permission 755 then stop
303       if failed uid root then stop
304       if failed gid root then stop
305     alert foo@bar     alert foo@bar
306    
307   check file squid_rc with path /etc/init.d/squid   check file squid_rc with path /etc/init.d/squid
308     group www     group www
309     checksum     if failed checksum then stop
310     permission 755     if failed permission 755 then stop
311       if failed uid root then stop
312       if failed gid root then stop
313     alert foo@bar     alert foo@bar
314  </pre>  </pre>
315  </pre>  </pre>
# Line 319  Add the following line after start of cr Line 329  Add the following line after start of cr
329    
330   check file privoxy_bin with path /opt/privoxy/sbin/privoxy   check file privoxy_bin with path /opt/privoxy/sbin/privoxy
331     group www     group www
332     checksum     if failed checksum then stop
333     permission 755     if failed permission 755 then stop
334       if failed uid root then stop
335       if failed gid root then stop
336     alert foo@bar     alert foo@bar
337    
338   check file privoxy_rc with path /etc/init.d/privoxy   check file privoxy_rc with path /etc/init.d/privoxy
339     group www     group www
340     checksum     if failed checksum then stop
341     permission 755     if failed permission 755 then stop
342       if failed uid root then stop
343       if failed gid root then stop
344     alert foo@bar     alert foo@bar
345  </pre>  </pre>
346    
# Line 346  Add the following line after start of cr Line 360  Add the following line after start of cr
360    
361   check file postfix_rc with path /etc/init.d/postfix   check file postfix_rc with path /etc/init.d/postfix
362     group mail     group mail
363     checksum     if failed checksum then stop
364     permission 755     if failed permission 755 then stop
365       if failed uid root then stop
366       if failed gid root then stop
367     alert foo@bar     alert foo@bar
368  </pre>  </pre>
369    
# Line 365  Add the following line after start of cr Line 381  Add the following line after start of cr
381    
382   check file sendmail_bin with path /usr/lib/sendmail   check file sendmail_bin with path /usr/lib/sendmail
383     group mail     group mail
384     checksum     if failed checksum then stop
385     permission 755     if failed permission 755 then stop
386       if failed uid root then stop
387       if failed gid root then stop
388     alert foo@bar     alert foo@bar
389    
390   check file sendmail_rc with path /etc/init.d/sendmail   check file sendmail_rc with path /etc/init.d/sendmail
391     group mail     group mail
392     checksum     if failed checksum then stop
393     permission 755     if failed permission 755 then stop
394       if failed uid root then stop
395       if failed gid root then stop
396     alert foo@bar     alert foo@bar
397  </pre>  </pre>
398    
# Line 391  Add the following line after start of cr Line 411  Add the following line after start of cr
411    
412   check file qpopper_bin with path /opt/sbin/popper   check file qpopper_bin with path /opt/sbin/popper
413     group mail     group mail
414     checksum     if failed checksum then stop
415     permission 755     if failed permission 755 then stop
416       if failed uid root then stop
417       if failed gid root then stop
418     alert foo@bar     alert foo@bar
419    
420   check file qpopper_rc with path /etc/init.d/qpopper   check file qpopper_rc with path /etc/init.d/qpopper
421     group mail     group mail
422     checksum     if failed checksum then stop
423     permission 755     if failed permission 755 then stop
424       if failed uid root then stop
425       if failed gid root then stop
426     alert foo@bar     alert foo@bar
427  </pre>  </pre>
428    
# Line 417  Add the following line after start of cr Line 441  Add the following line after start of cr
441    
442   check file sophie_bin with path /opt/virus/sophie/sophie   check file sophie_bin with path /opt/virus/sophie/sophie
443     group mail     group mail
444     checksum     if failed checksum then stop
445     permission 755     if failed permission 755 then stop
446       if failed uid root then stop
447       if failed gid root then stop
448     alert foo@bar     alert foo@bar
449    
450   check file sophie_rc with path /etc/init.d/sophie   check file sophie_rc with path /etc/init.d/sophie
451     group mail     group mail
452     checksum     if failed checksum then stop
453     permission 755     if failed permission 755 then stop
454       if failed uid root then stop
455       if failed gid root then stop
456     alert foo@bar     alert foo@bar
457  </pre>  </pre>
458    
# Line 444  Add the following line after start of cr Line 472  Add the following line after start of cr
472    
473   check file trophie_bin with path /opt/virus/trophie/trophie   check file trophie_bin with path /opt/virus/trophie/trophie
474     group mail     group mail
475     checksum     if failed checksum then stop
476     permission 755     if failed permission 755 then stop
477       if failed uid root then stop
478       if failed gid root then stop
479     alert foo@bar     alert foo@bar
480    
481   check file trophie_rc with path /etc/init.d/trophie   check file trophie_rc with path /etc/init.d/trophie
482     group mail     group mail
483     checksum     if failed checksum then stop
484     permission 755     if failed permission 755 then stop
485       if failed uid root then stop
486       if failed gid root then stop
487     alert foo@bar     alert foo@bar
488  </pre>  </pre>
489    
# Line 469  Add the following line after start of cr Line 501  Add the following line after start of cr
501    
502   check file smapd_bin with path /usr/local/bin/spamd   check file smapd_bin with path /usr/local/bin/spamd
503     group mail     group mail
504     checksum     if failed checksum then stop
505     permission 755     if failed permission 755 then stop
506       if failed uid root then stop
507       if failed gid root then stop
508     alert foo@bar     alert foo@bar
509    
510   check file spamd_rc with path /etc/init.d/spamd   check file spamd_rc with path /etc/init.d/spamd
511     group mail     group mail
512     checksum     if failed checksum then stop
513     permission 755     if failed permission 755 then stop
514       if failed uid root then stop
515       if failed gid root then stop
516     alert foo@bar     alert foo@bar
517  </pre>  </pre>
518    
# Line 500  check process mysql with pidfile /opt/my Line 536  check process mysql with pidfile /opt/my
536    
537   check file mysql_bin with path /opt/mysql/bin/mysqld   check file mysql_bin with path /opt/mysql/bin/mysqld
538     group database     group database
539     checksum     if failed checksum then stop
540     permission 755     if failed permission 755 then stop
541       if failed uid root then stop
542       if failed gid root then stop
543     alert foo@bar     alert foo@bar
544    
545   check file mysql_rc with path /etc/init.d/mysql   check file mysql_rc with path /etc/init.d/mysql
546     group database     group database
547     checksum     if failed checksum then stop
548     permission 755     if failed permission 755 then stop
549       if failed uid root then stop
550       if failed gid root then stop
551     alert foo@bar     alert foo@bar
552  </pre>  </pre>
553    
# Line 526  check process slapd with pidfile /var/ru Line 566  check process slapd with pidfile /var/ru
566    
567   check file slapd_bin with path /usr/sbin/slapd   check file slapd_bin with path /usr/sbin/slapd
568     group database     group database
569     checksum     if failed checksum then stop
570     permission 755     if failed permission 755 then stop
571       if failed uid root then stop
572       if failed gid root then stop
573     alert foo@bar     alert foo@bar
574    
575   check file slapd_rc with path /etc/init.d/slapd   check file slapd_rc with path /etc/init.d/slapd
576     group database     group database
577     checksum     if failed checksum then stop
578     permission 755     if failed permission 755 then stop
579       if failed uid root then stop
580       if failed gid root then stop
581     alert foo@bar     alert foo@bar
582  </pre>  </pre>
583    
# Line 557  check process slapd with pidfile /var/ru Line 601  check process slapd with pidfile /var/ru
601    
602   check file smbd_bin with path /opt/samba2.2/sbin/smbd   check file smbd_bin with path /opt/samba2.2/sbin/smbd
603     group samba     group samba
604     checksum     if failed checksum then stop
605     permission 755     if failed permission 755 then stop
606       if failed uid root then stop
607       if failed gid root then stop
608     alert foo@bar     alert foo@bar
609  </pre>  </pre>
610    
# Line 575  check process slapd with pidfile /var/ru Line 621  check process slapd with pidfile /var/ru
621    
622   check file nmbd_bin with path /opt/samba2.2/sbin/nmbd   check file nmbd_bin with path /opt/samba2.2/sbin/nmbd
623     group samba     group samba
624     checksum     if failed checksum then stop
625     permission 755     if failed permission 755 then stop
626       if failed uid root then stop
627       if failed gid root then stop
628     alert foo@bar     alert foo@bar
629  </pre>  </pre>
630    
# Line 595  check process slapd with pidfile /var/ru Line 643  check process slapd with pidfile /var/ru
643    
644   check file lprng_bin with path /opt/lprng/sbin/lpd   check file lprng_bin with path /opt/lprng/sbin/lpd
645     group printer     group printer
646     checksum     if failed checksum then stop
647     permission 755     if failed permission 755 then stop
648       if failed uid root then stop
649       if failed gid root then stop
650     alert foo@bar     alert foo@bar
651    
652   check file lprng_rc with path /etc/init.d/lprng   check file lprng_rc with path /etc/init.d/lprng
653     group printer     group printer
654     checksum     if failed checksum then stop
655     permission 755     if failed permission 755 then stop
656       if failed uid root then stop
657       if failed gid root then stop
658     alert foo@bar     alert foo@bar
659  </pre>  </pre>
660    
# Line 804  check process slapd with pidfile /var/ru Line 856  check process slapd with pidfile /var/ru
856    
857   check file apcupsd_bin with path /opt/apcupsd/sbin/apcupsd   check file apcupsd_bin with path /opt/apcupsd/sbin/apcupsd
858     group ups     group ups
859     checksum     if failed checksum then stop
860     permission 755     if failed permission 755 then stop
861       if failed uid root then stop
862       if failed gid root then stop
863     alert foo@bar     alert foo@bar
864    
865   check file apcupsd_rc with path /etc/init.d/apcupsd   check file apcupsd_rc with path /etc/init.d/apcupsd
866     group ups     group ups
867     checksum     if failed checksum then stop
868     permission 755     if failed permission 755 then stop
869       if failed uid root then stop
870       if failed gid root then stop
871     alert foo@bar     alert foo@bar
872  </pre>  </pre>
873    
# Line 828  check process slapd with pidfile /var/ru Line 884  check process slapd with pidfile /var/ru
884    
885   check file webmin_rc with path /etc/init.d/webmin   check file webmin_rc with path /etc/init.d/webmin
886     group webmin     group webmin
887     checksum     if failed checksum then stop
888     permission 755     if failed permission 755 then stop
889       if failed uid root then stop
890       if failed gid root then stop
891     alert foo@bar     alert foo@bar
892  </pre>  </pre>
893             </font>             </font>

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

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