Hi....Team...
I was trying to add outage duration in minutes to my report for last 30 days outage...however went unsuccessful....appreciate if you can help me :)....
Below is my SQL for the report....please advise what i need to add...
Nodes.OfficeName AS OfficeName,
Nodes.City AS City,
Nodes.IP_Address AS IP_Address,
Events_EventTypes.Name AS Event_Type_Name
FROM
Nodes INNER JOIN (Events INNER JOIN EventTypes Events_EventTypes ON (Events.EventType = Events_EventTypes.EventType)) ON (Nodes.NodeID = Events.NetworkNode)
WHERE
( EventTime BETWEEN 42034 AND 42061 )
AND
(
(Nodes.NetworkPlatform = 'British Telecom') AND
(
(Events_EventTypes.Name = 'Node Down') OR
(Events_EventTypes.Name = 'Node Up'))
)
) As r ORDER BY 2 ASC, 3 DESC