hello folks, it's been a couple of days I try to migrate a query that succeeds in report writer to a Custom Query view. My idea is to create a view for my NOC that has on the left a query to find all the alarm without ACK and right all alarms with ACK. I was watching that alarms without seeing are dated 1899.
Query from RR
SELECT
AlertStatus.ObjectName as Node, AlertStatus.TriggerTimeStamp as Date, AlertStatus.TriggerTimeStamp as Time,AlertDefinitions.AlertName
FROM AlertStatus, AlertDefinitions
WHERE AlertDefinitions.AlertDefId=AlertStatus.AlertDefId AND AlertStatus.ObjectName like '%mpls%'
or AlertDefinitions.AlertDefId=AlertStatus.AlertDefId AND AlertStatus.ObjectName like '%bgp%' AND AlertStatus.AcknowledgedTime not like '%1899%'
ORDER BY AlertStatus.TriggerTimeStamp DES
I was reading SWQL http://knowledgebase.solarwinds.com/kb/questions/4543/__print but still fails to become good friends.
Thanks in advance.