Author: blues                        Date: Sun Oct 14 20:42:02 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- monitrc monitoring for postfix

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

---- Diffs:

================================================================
Index: SOURCES/postfix.monitrc
diff -u /dev/null SOURCES/postfix.monitrc:1.1
--- /dev/null   Sun Oct 14 22:42:02 2007
+++ SOURCES/postfix.monitrc     Sun Oct 14 22:41:57 2007
@@ -0,0 +1,14 @@
+check process postfix with pidfile /var/spool/postfix/pid/master.pid
+       group mail
+       start program = "/etc/init.d/postfix start"
+       stop  program = "/etc/init.d/postfix stop"
+       if failed port 25 protocol smtp then restart
+       if 5 restarts within 5 cycles then timeout
+       depends on postfix_rc
+
+check file postfix_rc with path /etc/init.d/postfix
+       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