blob: 7f757040351852f50143da3ca984b1ee4dae49ee (
plain)
1
2
3
4
5
6
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
|