Author: gotar                        Date: Fri Dec 26 20:32:52 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- initial monit file

---- Files affected:
SOURCES:
   saslauthd.monitrc (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/saslauthd.monitrc
diff -u /dev/null SOURCES/saslauthd.monitrc:1.1
--- /dev/null   Fri Dec 26 21:32:52 2008
+++ SOURCES/saslauthd.monitrc   Fri Dec 26 21:32:46 2008
@@ -0,0 +1,22 @@
+check process saslauthd with pidfile /var/lib/sasl2/saslauthd.pid
+       group mail
+       start program = "/etc/rc.d/init.d/saslauthd start"
+       stop  program = "/etc/rc.d/init.d/saslauthd stop"
+       if failed unix /var/lib/sasl2/mux then restart
+       if 5 restarts within 5 cycles then timeout
+       depends on saslauthd_bin
+       depends on saslauthd_rc
+
+check file saslauthd_bin with path /usr/sbin/saslauthd
+       group mail
+       if failed checksum then unmonitor
+       if failed permission 755 then unmonitor
+       if failed uid root then unmonitor
+       if failed gid root then unmonitor
+
+check file saslauthd_rc with path /etc/rc.d/init.d/saslauthd
+       group mail
+       if failed checksum then unmonitor
+       if failed permission 754 then unmonitor
+       if failed uid root then unmonitor
+       if failed gid root then unmonitor
================================================================
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to