From dd9a6048bb109494072d94281701ad9734d2b275 Mon Sep 17 00:00:00 2001 From: My Name Date: Thu, 11 Dec 2014 00:47:01 +0100 Subject: Added ZNC init + monit script, rtorrent + zabbix-server monit config and fixed typos --- monit/zabbix-server.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 monit/zabbix-server.conf (limited to 'monit/zabbix-server.conf') 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 -- cgit v1.2.3