]> git.pld-linux.org Git - packages/nginx.git/blobdiff - nginx-perl.monitrc
just one monitrc config
[packages/nginx.git] / nginx-perl.monitrc
diff --git a/nginx-perl.monitrc b/nginx-perl.monitrc
deleted file mode 100644 (file)
index fb70946..0000000
+++ /dev/null
@@ -1,33 +0,0 @@
-check process nginx-perl with pidfile /var/run/nginx-perl.pid
-       group www
-       start program = "/etc/rc.d/init.d/nginx-perl start"
-       stop program = "/etc/rc.d/init.d/nginx-perl stop"
-       if failed url http://localhost/ timeout 10 seconds 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@localhost
-#      alert 123456@sms on { timeout }
-       depends on nginx-perl_bin
-       depends on nginx-perl_rc
-
-check file nginx-perl_bin with path /usr/sbin/nginx-perl
-       group nginx
-       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@localhost
-
-check file nginx-standard_rc with path /etc/rc.d/init.d/nginx-perl
-       group perl
-       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@localhost
-
-check file nginx-perl.conf path /etc/nginx/nginx-perl.conf
-       if changed sha1 checksum 
-       then exec "/etc/init.d/nginx-perl graceful"
This page took 0.028867 seconds and 4 git commands to generate.