I am using an application to read active alerts from Solarwinds and log ticket in Ticketing System using Solarwinds REST API.
e.g https://IPADDRESS-OF-Solarwinds:17778/SolarWinds/InformationService/v3/Json/Query?query=SELECT o.AlertConfigurations.Name, o.AlertObjectID, o.AlertConfigurations.Severity, o.EntityCaption, o.EntityDetailsURL, o.RelatedNodeCaption, o.RelatedNodeDetailsURL, o.AlertActive.TriggeredDateTime, ah.EventType, aa.AcknowledgedBy, ah.Message FROM Orion.AlertActive AS aa JOIN Orion.AlertObjects AS o ON aa.alertobjectid = o.alertobjectid LEFT JOIN Orion.Nodes AS p ON p.nodeid = o.relatednodeid LEFT JOIN Orion.alerthistory AS ah ON ah.AlertActiveID = aa.AlertActiveID AND ah.EventType IN (2,3) LEFT JOIN Orion.AlertConfigurationsCustomProperties AS acp ON o.AlertID = acp.AlertID ORDER BY o.AlertObjectID
- Is there any way to get monitor name (monitoring parameter / metric name)? for an alert?
- any table available to join with above query?
- example : Available disk space on ABC-HOSTNAME is 571.7 G It is less than 19 %
- I would to get "Available disk space".
Kindly support