I'm using Zabbix to monitor a service (say, httpd). There are multiple check configured (process running, tcp port open, etc). I want Zabbix to restart the service should one of the checks fail. The action condition looks like this:
The problem is that when the process is down, every single check triggers a restart, so I end up with multiple restart actions, which I obviously don't want. One possible solution would be to script around it in the actions themselves, but it is not too elegant and with number of checks rising this would become really messy. I'd like to keep that logic in Zabbix. Any advice on how to work around that?
Code:
(A or B) and C (A) Trigger = "Apache is not responding on server Template_Linux_server" (B) Trigger = "Apache process is not running on server Template_Linux_server" (C) Trigger value = "PROBLEM"
Comment