I am creating a web report that lists current open alerts on servers but I cannot get the Status to show as the green or red icon. Instead, it just shows the text "up.gif" or "down.gif".
What am I doing wrong?
Here is the code I am using:
SELECT
Nodes.Caption,
'/Orion/NetPerfMon/NodeDetails.aspx?NetObject=N:'+CAST(Nodes.NodeID as varchar(256)) AS 'DetailsURL',
Nodes.StatusLED AS Status_Icon,
AlertDefinitions.AlertName,
AlertStatus.TriggerTimestamp
FROM
(alertdefinitions INNER Join alertstatus on (alertdefinitions.alertdefid = AlertStatus.AlertDefID) INNER JOIN Nodes on (AlertStatus.ActiveObject = Nodes.Nodeid))
WHERE
AlertDefinitions.ObjectType = 'Node'