* Dodane nove template konfiguracije za nginx, nsd3 i rsyslogd
[monit-cn.git] / monit-cn / nginx.conf
diff --git a/monit-cn/nginx.conf b/monit-cn/nginx.conf
new file mode 100644 (file)
index 0000000..014baf4
--- /dev/null
@@ -0,0 +1,13 @@
+## Begin - Generated by CARNet package monit-cn
+#
+#  This is a monit-cn template file.  REMOVE this whole comment block if
+#  you DON'T WANT monit-cn to edit/remove/delete your configuration file.
+#
+## End - Generated by CARNet package monit-cn
+
+check process nginx with pidfile "/var/run/nginx.pid"
+    start program = "/etc/init.d/nginx start"
+    stop program = "/etc/init.d/nginx stop"
+       if failed host 127.0.0.1 port 80 protocol http
+        with timeout 15 seconds
+        then restart