Hi
I have a simple custom table query to get all the physical interfaces in Down,Warning and Critical status, the problem is that I.LastChange column is not getting the correct time when the interface status last changed.
SELECT N.DisplayName as [Node Name],I.DisplayName as [Interface Name] ,I.StatusDescription AS [Status], I.LastChange,C.Comments,I.DetailsUrl as [Interface Details URL],N.DetailsUrl as [Node Details URL] FROM Orion.NPM.Interfaces I
INNER JOIN Orion.Nodes N on N.NodeID = I.NodeID
INNER join Orion.NPM.InterfacesCustomProperties C on I.InterfaceID = C.InterfaceID WHERE ((I.Status = 2 or I.Status = 3 or I.Status = 16) AND I.InterfaceType = 6 )
Is this field "LastChange" mean for status change, or configuration change?
Thanks.