packages: monit-rc-apache/apache.monitrc - tabs for indenting
glen
glen at pld-linux.org
Mon Jan 30 12:16:34 CET 2012
Author: glen Date: Mon Jan 30 11:16:34 2012 GMT
Module: packages Tag: HEAD
---- Log message:
- tabs for indenting
---- Files affected:
packages/monit-rc-apache:
apache.monitrc (1.2 -> 1.3)
---- Diffs:
================================================================
Index: packages/monit-rc-apache/apache.monitrc
diff -u packages/monit-rc-apache/apache.monitrc:1.2 packages/monit-rc-apache/apache.monitrc:1.3
--- packages/monit-rc-apache/apache.monitrc:1.2 Mon Jan 30 11:59:08 2012
+++ packages/monit-rc-apache/apache.monitrc Mon Jan 30 12:16:28 2012
@@ -1,30 +1,31 @@
check process apache with pidfile /var/run/httpd.pid
- group http
- start program = "/etc/rc.d/init.d/httpd start"
- stop program = "/etc/rc.d/init.d/httpd stop"
- if failed host 127.0.0.1 port 80
- protocol HTTP request / then restart
-# if failed host 192.168.1.1 port 443 type TCPSSL
+ group http
+ start program = "/etc/rc.d/init.d/httpd start"
+ stop program = "/etc/rc.d/init.d/httpd stop"
+ if failed host 127.0.0.1 port 80
+ protocol HTTP request /
+ then restart
+# if failed host 192.168.1.1 port 443 type TCPSSL
# certmd5 12-34-56-78-90-AB-CD-EF-12-34-56-78-90-AB-CD-EF
# protocol HTTP request /monit/token then restart
- if 5 restarts within 5 cycles then timeout
-# alert root at localhost
-# alert 123456 at sms on { timeout }
- depends on apache_bin
- depends on apache_rc
+ if 5 restarts within 5 cycles then timeout
+# alert root at localhost
+# alert 123456 at sms on { timeout }
+ depends on apache_bin
+ depends on apache_rc
- check file apache_bin with path /usr/sbin/httpd
- group http
- if failed checksum then unmonitor
- if failed permission 755 then unmonitor
- if failed uid root then unmonitor
- if failed gid root then unmonitor
-# alert root at localhost
+check file apache_bin with path /usr/sbin/httpd
+ group http
+ if failed checksum then unmonitor
+ if failed permission 755 then unmonitor
+ if failed uid root then unmonitor
+ if failed gid root then unmonitor
+# alert root at localhost
- check file apache_rc with path /etc/rc.d/init.d/httpd
- group http
- if failed checksum then unmonitor
- if failed permission 754 then unmonitor
- if failed uid root then unmonitor
- if failed gid root then unmonitor
-# alert root at localhost
+check file apache_rc with path /etc/rc.d/init.d/httpd
+ group http
+ if failed checksum then unmonitor
+ if failed permission 754 then unmonitor
+ if failed uid root then unmonitor
+ if failed gid root then unmonitor
+# alert root at localhost
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/monit-rc-apache/apache.monitrc?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list