summaryrefslogtreecommitdiff
path: root/monit/zabbix-server.conf
diff options
context:
space:
mode:
authorMy Name2014-12-11 00:47:01 +0100
committerMy Name2014-12-11 00:47:01 +0100
commitdd9a6048bb109494072d94281701ad9734d2b275 (patch)
tree116e23217a56169d55c1fae19ddc65b47fac6737 /monit/zabbix-server.conf
parent510493a04ccf84b301a271b56687ecf729b2c61a (diff)
downloaddotfiles-dd9a6048bb109494072d94281701ad9734d2b275.tar.gz
Added ZNC init + monit script, rtorrent + zabbix-server monit config and fixed typos
Diffstat (limited to 'monit/zabbix-server.conf')
-rw-r--r--monit/zabbix-server.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/monit/zabbix-server.conf b/monit/zabbix-server.conf
new file mode 100644
index 0000000..7f75704
--- /dev/null
+++ b/monit/zabbix-server.conf
@@ -0,0 +1,7 @@
+check process zabbix_server with pidfile /var/run/zabbix/zabbix_server.pid
+ start program = "/etc/init.d/zabbix-server start"
+ stop program = "/etc/init.d/zabbix-server stop"
+ if failed port 10051 type tcp for 3 times within 5 cycles then alert
+ if failed port 10051 type tcp for 5 times within 10 cycles then restart
+ if 3 restarts within 3 cycles then alert
+ if 5 restarts within 5 cycles then timeout