Quantcast
Channel: THWACK: Message List
Viewing all articles
Browse latest Browse all 21093

Can I use multiple custom pollers to trigger an alert ?

$
0
0

Hi,

 

I'd like to trigger an alert based on two conditions:

  • Custom poller 1 is equal to 'x' AND
  • Custom poller 2 is equal to 'y'

 

2 pollers alert.PNG

when I look at the SQL query generated it is absolutely not what I want:

 

SELECTDISTINCTCustomPollerAssignmentView.CustomPollerAssignmentIDASNetObjectID,CustomPollerAssignmentView.AssignmentNameASNameFROM(CustomPollerStatusINNERJOINCustomPollerAssignmentViewON(CustomPollerStatus.CustomPollerAssignmentID=CustomPollerAssignmentView.CustomPollerAssignmentID))LEFTOUTERJOINCustomPollersON(CustomPollerAssignmentView.CustomPollerID=CustomPollers.CustomPollerID)WHERE(((CustomPollers.UniqueName='_______Power')AND(CustomPollerStatus.RawStatus=0))AND((CustomPollers.UniqueName='_______State')AND(CustomPollerStatus.RawStatus=3)))AND((InterfaceID=0))
Only one set of poller information is queried while I would need two to be able to match the two conditions. As it is right now if the poller matches one statement it's not goign to match the other one.

 

Any idea how I could work around that?


Viewing all articles
Browse latest Browse all 21093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>