I tried setting up an alert for this using the Alert Wizard and found out from SolarWinds support I have to write an SWQL script for this to work and they don't support that so hope Thwack can help.
We are monitoring an OID which is a serial number that changes when a pair (HA) fails over so we want to set up an alert when the change happens. We need to have it check a previous poll for the original serial number and check it against the current poll and if they are different trigger the alert. We have 1000's of devices that do this so can't do it on specific serial numbers it has to be generic.
I haven't been able to work out how to get the value from a previous poll which I know is in the DB and check it against the current poll.
Has anyone done this as I haven't been able to find it in Thwack only on values where they are compared numerically not a text field.
I guess we have to use a datediff setting and maybe a case in the WHERE statement but just haven't been able to work it out.
Time travel required.
Z,