I want to have a trigger on our firewalls that fires when it changes from Active to Passive or vice versa.
I have one now but that only compares the last value with the current one.
Trigger:
(last(/Template Palo Alto Firewall/panSysHAState,#1)<>last(/Template Palo Alto Firewall/panSysHAState,#2))=1
So if there is a failover from Active to Passive, it fires because the value is different. But since this value is read every minute, after a minute the trigger is OK because then the last value is the same as he current (still Passive).
What I want is that the trigger stays active until the value gets back to Active.
Any ideas?
I have one now but that only compares the last value with the current one.
Trigger:
(last(/Template Palo Alto Firewall/panSysHAState,#1)<>last(/Template Palo Alto Firewall/panSysHAState,#2))=1
So if there is a failover from Active to Passive, it fires because the value is different. But since this value is read every minute, after a minute the trigger is OK because then the last value is the same as he current (still Passive).
What I want is that the trigger stays active until the value gets back to Active.
Any ideas?
Comment