Hello,
I'm beginner in Zabbix and some days I have been looking in the forums the solution or a tip for my problem.
Explain:
I have a Action to execute a Remote Command to restart a service in windows for example Spooler, but I want to avoid the restart the service more than once in a day or 24 hours... Currently every time that service is down is restarted...
I created a Item like -> service.info[spooler, state];
After I created 2 triggers for this Item... One Trigger just alarm and other to alarm and fired remote command (restart service)... I tried use count...but no success.
Triggers:
{HOST1:service.info[spooler, state].last()}<>0
{HOST1:service.info[spooler, state].last()}<>0 and {HOST1:service.info[spooler, state].count(1,2,gt,86400)}>1
I need a trigger that show the first Failure of de Service on day and execute remote command to restart service, and if the service goes down again less of 24 hours, just show de failure without execute remote command.
Could someone help me please...
Thanks....
I'm beginner in Zabbix and some days I have been looking in the forums the solution or a tip for my problem.
Explain:
I have a Action to execute a Remote Command to restart a service in windows for example Spooler, but I want to avoid the restart the service more than once in a day or 24 hours... Currently every time that service is down is restarted...
I created a Item like -> service.info[spooler, state];
After I created 2 triggers for this Item... One Trigger just alarm and other to alarm and fired remote command (restart service)... I tried use count...but no success.
Triggers:
{HOST1:service.info[spooler, state].last()}<>0
{HOST1:service.info[spooler, state].last()}<>0 and {HOST1:service.info[spooler, state].count(1,2,gt,86400)}>1
I need a trigger that show the first Failure of de Service on day and execute remote command to restart service, and if the service goes down again less of 24 hours, just show de failure without execute remote command.
Could someone help me please...
Thanks....

Comment