- dodani novi predlosci za: mailgraph, maradns zoneserver, maradns, pdns
authorDinko Korunic <kreator@carnet.hr>
Sun, 10 Aug 2008 09:35:19 +0000 (11:35 +0200)
committerDinko Korunic <kreator@carnet.hr>
Sun, 10 Aug 2008 09:35:19 +0000 (11:35 +0200)
  recursor, pdns, snmpd

monit-cn/mailgraph.conf [new file with mode: 0644]
monit-cn/maradns-zoneserver.conf [new file with mode: 0644]
monit-cn/maradns.conf [new file with mode: 0644]
monit-cn/pdns-recursor.conf [new file with mode: 0644]
monit-cn/pdns.conf [new file with mode: 0644]
monit-cn/snmpd.conf [new file with mode: 0644]

diff --git a/monit-cn/mailgraph.conf b/monit-cn/mailgraph.conf
new file mode 100644 (file)
index 0000000..0d7b203
--- /dev/null
@@ -0,0 +1,10 @@
+## 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 mailgraph with pidfile "/var/run/mailgraph.pid"
+    start program = "/etc/init.d/mailgraph start"
+    stop program = "/etc/init.d/mailgraph stop"
diff --git a/monit-cn/maradns-zoneserver.conf b/monit-cn/maradns-zoneserver.conf
new file mode 100644 (file)
index 0000000..71af8a7
--- /dev/null
@@ -0,0 +1,10 @@
+## 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 zoneserver with pidfile "/var/run/zoneserver.etc_maradns_mararc.pid"
+    start program = "/etc/init.d/zoneserver start"
+    stop program = "/etc/init.d/zoneserver stop"
diff --git a/monit-cn/maradns.conf b/monit-cn/maradns.conf
new file mode 100644 (file)
index 0000000..c8494a9
--- /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 maradns with pidfile "/var/run/maradns.etc_maradns_mararc.pid"
+    start program = "/etc/init.d/maradns start"
+    stop program = "/etc/init.d/maradns stop"
+    if failed host 127.0.0.1 port 53 type udp
+        with timeout 10 seconds
+        then restart
diff --git a/monit-cn/pdns-recursor.conf b/monit-cn/pdns-recursor.conf
new file mode 100644 (file)
index 0000000..5e39f81
--- /dev/null
@@ -0,0 +1,14 @@
+## 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 pdnsrecursor with pidfile "/var/run/pdns_recursor.pid"
+    start program = "/etc/init.d/pdns-recursor start"
+    stop program = "/etc/init.d/pdns-recursor stop"
+       #if failed host 127.0.0.1 port 53 type tcp
+       #       then restart
+       #if failed host 127.0.0.1 port 53 type udp
+       #       then restart
diff --git a/monit-cn/pdns.conf b/monit-cn/pdns.conf
new file mode 100644 (file)
index 0000000..1f8d8e2
--- /dev/null
@@ -0,0 +1,14 @@
+## 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 pdns with pidfile "/var/run/pdns.pid"
+    start program = "/etc/init.d/pdns start"
+    stop program = "/etc/init.d/pdns stop"
+       #if failed host 127.0.0.1 port 53 type tcp
+       #       then restart
+       #if failed host 127.0.0.1 port 53 type udp
+       #       then restart
diff --git a/monit-cn/snmpd.conf b/monit-cn/snmpd.conf
new file mode 100644 (file)
index 0000000..4eec7f5
--- /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 snmpd with pidfile "/var/run/snmpd.pid"
+    start program = "/etc/init.d/snmpd start"
+    stop program = "/etc/init.d/snmpd stop"
+    if failed host 127.0.0.1 port 161 type udp
+        with timeout 10 seconds
+        then restart