Is it possible to write a SWQL query for a dashboard widget that would have a WHERE clause similar to this:
WHERE custom poller (status or currentValue) != x for last 12 hours
I can write a SWQL query against the various custompoller tables (i.e. custompollerstatistics), where it equals or does not equal some value, that's easy. But what I can't seem to figure out, is how to do basically what we do in Alerts Trigger condition, where we say "Condition must exist for more than xx hours". Even if we build a query with dropdowns and such (in Alerts/Trigger condition), then have it show us the resulting SWQL query, that doesn't actually help in this scenario, because it does not include the "Condition must exist for more than xx hours" portion.
I know the UnDP poller has history enabled, so I would hope the data should be available. But how do I query and say "the currentValue != to xx, and has been that way for xx hours)? Hopefully there is a simple way that I'm just not seeing yet.
Thanks in advance!!