I am sure this is a logical issue with a logical soloution, but at this time I am struggling.
I need the following
1) Trigger to fire on a specific event
2) Trigger to stay until the later of the specific events time and 10 minutes, or the triggered event stops
For context I have an active ping run from server a to server b. If that ping fails then the trigger should fire, this will then run an action, which itself runs a remote command.
Now if the ping comes back within ten minutes then the trigger needs to stay raised until the ten minutes has lapsed.
If the ping stays down for longer then the trigger can return immediately.
I believe I need something like (apologies for formatting but I still fail to understand the structure)
{TRIGGER.VALUE=0} && {pingitem.last(0)>0}
||
{TRIGGER.VALUE=1} && ... but now I have no idea.
Anyone out there that can assist me please?
I need the following
1) Trigger to fire on a specific event
2) Trigger to stay until the later of the specific events time and 10 minutes, or the triggered event stops
For context I have an active ping run from server a to server b. If that ping fails then the trigger should fire, this will then run an action, which itself runs a remote command.
Now if the ping comes back within ten minutes then the trigger needs to stay raised until the ten minutes has lapsed.
If the ping stays down for longer then the trigger can return immediately.
I believe I need something like (apologies for formatting but I still fail to understand the structure)
{TRIGGER.VALUE=0} && {pingitem.last(0)>0}
||
{TRIGGER.VALUE=1} && ... but now I have no idea.
Anyone out there that can assist me please?