Quantcast
Viewing all articles
Browse latest Browse all 21093

Re: Alert when Interface within a Specific Group is Down

SELECT Interfaces.InterfaceID AS NetObjectID, Interfaces.FullName as Name

FROM Interfaces

------------------------------------------------------------------------------------------------------------------

JOIN Nodes nod ON nod.NodeID=Interfaces.NodeID

JOIN ContainerMemberSnapshots sn ON sn.EntityID=nod.NodeID

JOIN Containers co ON co.ContainerID=sn.ContainerID

JOIN StatusInfo st ON Interfaces.OperStatus=st.StatusId

WHERE Interfaces.OperStatus<>1

AND co.name IN ('GRP001','GRP002')

ORDER BY co.ContainerID

 

This should work, but when the same interface (or node) is a member of more groups, it will trigger only once.

Image may be NSFW.
Clik here to view.

Viewing all articles
Browse latest Browse all 21093

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>