PDA

View Full Version : one action for period


lordiceman
08-09-2006, 14:13
I need to create action that will be activated at most once per time period, problem is that this action can be generated from 5 hosts

for example, you have 5 pc, when one of them freezes, only option is to restart it, it can be done with restarter connected throught ethernet, but problem is when 2 or 3 PCs freezes at once, it generates 3 triggers and so 3 actions of same type... so the restarter will get 3 commands to restart...

is there way to restrict action for executing maximum once per time period from last activating? for example maximum one action of that type per 5 minutes

Alexei
08-09-2006, 16:30
Create one trigger which will work when one of the hosts is down. I believe there is no need to create a trigger per each host.

lordiceman
11-09-2006, 09:59
when i create any trigger, zabbix will assign it to at least 1 host, so when i create trigger like (host1:icmpping.max(90)<1) | (host2:icmpping.max(90)<1) | (host3:icmpping.max(90)<1)
zabbix will assign this trigger to host1, host2, host3, so it will be called 3x when any of those hosts is down :(