Hi guys,
So I created an alert based on a custom poller, with the conditions:
Poller Name is equal to status
status is equal to disconnected.
The poller basically checks if an access point is disconnected, and if it is, send out an email. The content of the trigger action active the following action, showing the location of the AP:
Location: ${SQL:Select status From CustomPollerAssignment as Assignment, CustomPollerStatus as value where Assignment.CustomPollerAssignmentID = value.CustomPollerAssignmentID and Assignment.NodeID = '${NodeID}' and Assignment.AssignmentName like 'desc%';}
Now till last week everything was working fine and the correct location was being reported, now it seems like something has changed and the first polled connected AP location is returned, which is not the same as the disconnected AP location.
As per my understanding Orion checks for a particular alert condition, and if true, any queries against that CustomPollerAssignmentID is for that particular condition which is true (disconnected AP). I have tried changing the alert conditions but it seems to be returning me the wrong, connected AP every time!
I have tested this on other sites and they all exhibit the same behaviour, restarted Orion services and still no luck. Would appreciate any help regarding this problem, as I really don't know what I'm doing wrong here.