Hi, please advice.
I have apache template, it have some items and triggers including trigger "apache is down".
I also have N hosts with this template applied. Sometimes apache fails on this hosts and restart is required (doesn't matter why).
I can create action on zabbix with conditions
Trigger value = "PROBLEM" and Trigger = "Apache is down on host0, which runs remote command (host0: /etc/inid.d/apache2 restart). And this would restart apache on host0 when it's failed.
But is there any way to do one action for all hosts: when apache failed on one of them, restart it on that host.
How?
I have apache template, it have some items and triggers including trigger "apache is down".
I also have N hosts with this template applied. Sometimes apache fails on this hosts and restart is required (doesn't matter why).
I can create action on zabbix with conditions
Trigger value = "PROBLEM" and Trigger = "Apache is down on host0, which runs remote command (host0: /etc/inid.d/apache2 restart). And this would restart apache on host0 when it's failed.
But is there any way to do one action for all hosts: when apache failed on one of them, restart it on that host.
How?
Comment