]> git.pld-linux.org Git - packages/sendmail.git/commitdiff
- monit file for sendmail
authorPaweł Gołaszewski <blues@pld-linux.org>
Fri, 16 Jul 2004 12:31:24 +0000 (12:31 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sendmail.monitrc -> 1.1

sendmail.monitrc [new file with mode: 0644]

diff --git a/sendmail.monitrc b/sendmail.monitrc
new file mode 100644 (file)
index 0000000..6ea4a0f
--- /dev/null
@@ -0,0 +1,28 @@
+check process sendmail with pidfile /var/run/sendmail.pid
+       group mail
+       start program = "/etc/init.d/sendmail start"
+       stop  program = "/etc/init.d/sendmail stop"
+       if failed port 25 protocol smtp then restart
+       if 5 restarts within 5 cycles then timeout
+#       alert foo@bar
+#       alert 123456@sms on { timeout }
+       depends on sendmail_bin
+       depends on sendmail_rc
+
+check file sendmail_bin with path /usr/lib/sendmail
+       group mail
+       if failed checksum then unmonitor
+       if failed permission 2755 then unmonitor
+       if failed uid root then unmonitor
+       if failed gid smmsp then unmonitor
+#       alert foo@bar
+
+check file sendmail_rc with path /etc/init.d/sendmail
+       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
+#       alert foo@bar
+
+
This page took 0.092499 seconds and 4 git commands to generate.