I have a scenario where I need to check the values of pairs of SNMP items over N iterations.
HOST_A returns a value of 3 if all is well. (Possible return values are 0..4)
HOST_B returns a value of 4 if all is well. (Possible return values are 0..4)
It can't matter which host returns 3 or 4, but between the two hosts, one needs to return 3 and the other one, 4.
This works for a single iteration
({SNMP:HOST_A.last()} + {SNMP:HOST_B.last()}) <>7
...but we prefer at least two concurrent failures before triggering an alert.
I've been trying to figure out if the count() function could be used, but with no luck
Thanks!
HOST_A returns a value of 3 if all is well. (Possible return values are 0..4)
HOST_B returns a value of 4 if all is well. (Possible return values are 0..4)
It can't matter which host returns 3 or 4, but between the two hosts, one needs to return 3 and the other one, 4.
This works for a single iteration
({SNMP:HOST_A.last()} + {SNMP:HOST_B.last()}) <>7
...but we prefer at least two concurrent failures before triggering an alert.
I've been trying to figure out if the count() function could be used, but with no luck
Thanks!