Za sljedece servise dolaze gotovi predlosci:
- amavisd.conf dovecot.conf ntp-server.conf saslauthd.conf
- aosi.conf dsmc.conf ntp.conf sendmail.conf
- apache1.conf exim.conf openldap.conf snmpd.conf
- apache2.conf freeradius.conf pdns-recursor.conf sophie.conf
- asterisk.conf mailgraph.conf pdns.conf sshd.conf
- bind8.conf mailman.conf postfix.conf syslogd.conf
- bind9.conf maradns-zoneserver.conf postgrey.conf thttpd.conf
- clamd.conf maradns.conf proftpd.conf tomcat5.conf
- cron.conf monitrc qpopper.conf vsftpd.conf
- dhcpd3.conf mysqld.conf samba.conf
+ amavisd.conf dsmc.conf ntp-server.conf saslauthd.conf
+ aosi.conf exim.conf ntp.conf sendmail.conf
+ apache1.conf freeradius.conf openldap.conf snmpd.conf
+ apache2.conf mailgraph.conf pdns-recursor.conf sophie.conf
+ asterisk.conf mailman.conf pdns.conf sshd.conf
+ bind8.conf maradns-zoneserver.conf postfix.conf syslogd.conf
+ bind9.conf maradns.conf postgrey.conf thttpd.conf
+ clamd.conf monitrc proftpd.conf tomcat5.conf
+ cron.conf mysqld.conf qpopper.conf vsftpd.conf
+ dhcpd3.conf nginx.conf rsyslogd.conf
+ dovecot.conf nsd3.conf samba.conf
Primijetite da je monit respawnable proces -- on ne starta kroz
/etc/init.d/monit skripte (tzv. System V init skripte), vec kroz
"padne" ili ga nehotice netko "ubije", on ce se automatski odmah pokrenuti
nazad.
- -- Dinko Korunic <kreator@CARNet.hr> at Sun, 12 Apr 2009 16:32:42 +0200
+ -- Dinko Korunic <kreator@CARNet.hr> Sat, 12 Sep 2009 00:01:41 +0200
+monit-cn (1:4.10.1-2) stable; urgency=low
+
+ * Dodane nove template konfiguracije za nginx, nsd3 i rsyslogd
+ * popravljena greska u thttpd templateu
+
+ -- Dinko Korunic <kreator@carnet.hr> Fri, 11 Sep 2009 23:59:57 +0200
+
monit-cn (1:4.10.1-1) stable; urgency=low
* Update paketa za Lenny
--- /dev/null
+## 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
--- /dev/null
+## 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 nsd3 with pidfile "/var/run/nsd3/nsd.pid"
+ start program = "/etc/init.d/nsd3 start"
+ stop program = "/etc/init.d/nsd3 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
--- /dev/null
+## 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 rsyslogd with pidfile "/var/run/rsyslogd.pid"
+ start program = "/etc/init.d/rsyslog start"
+ stop program = "/etc/init.d/rsyslog stop"
check process thttpd with pidfile "/var/run/thttpd.pid"
start program = "/etc/init.d/thttpd start"
stop program = "/etc/init.d/thttpd stop"
- if failed host 127.0.0.1 port 80
+ if failed host 127.0.0.1 port 80 protocol http
with timeout 15 seconds
then restart
- if children > 100 then restart