Hi All,
Can anyone help me with a report which will show details of who has acknowledged the alerts... When i m trying to build with alert history, i m getting duplicate instances and report is not coming accurate...
Use this SWQL in reports and tell me if it's what you are looking for.
SELECT ah.TimeStamp, ah.AccountID, ah.Message, ao.EntityCaption, ao.RelatedNodeCaption, ao.TriggeredCount, ao.RealEntityType
FROM Orion.AlertHistory ah
left join orion.alertobjects ao on ao.AlertObjectID=ah.AlertObjectID
where eventtype=2
order by ah.timestamp desc
Might help if you showed what you have so far?
Use Alert Object instead of Alert History and Alert History/EventType equal to 2, which is the acknowledge. Alert History/AccountID will tell you the username. Other details you might need are on the Alert Object table.
that too did not help
sure..
This is what i get the output as:
So its like for 1 CI, i get 3 duplicate entries.. and in some cases m not even getting details of alerts which is actually ack by my team...
so any help would be much appreciated...
thanks a lot... something like this only i was looking for..
Any variable that i can use to show the alert name that was triggered?