From: Dinko Korunic Date: Sun, 10 Aug 2008 09:35:19 +0000 (+0200) Subject: - dodani novi predlosci za: mailgraph, maradns zoneserver, maradns, pdns X-Git-Tag: v4.10.1-3~8 X-Git-Url: http://ftp.carnet.hr/carnet-debian/scm?a=commitdiff_plain;h=66ee787365d107b57bfe7948a298258c8b7651aa;p=monit-cn.git - dodani novi predlosci za: mailgraph, maradns zoneserver, maradns, pdns recursor, pdns, snmpd --- diff --git a/monit-cn/mailgraph.conf b/monit-cn/mailgraph.conf new file mode 100644 index 0000000..0d7b203 --- /dev/null +++ b/monit-cn/mailgraph.conf @@ -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 index 0000000..71af8a7 --- /dev/null +++ b/monit-cn/maradns-zoneserver.conf @@ -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 index 0000000..c8494a9 --- /dev/null +++ b/monit-cn/maradns.conf @@ -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 index 0000000..5e39f81 --- /dev/null +++ b/monit-cn/pdns-recursor.conf @@ -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 index 0000000..1f8d8e2 --- /dev/null +++ b/monit-cn/pdns.conf @@ -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 index 0000000..4eec7f5 --- /dev/null +++ b/monit-cn/snmpd.conf @@ -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