Hello,
I am trying to create a SQL query to get the same data as in the widget NPM L2-L3 connections :
I create the following query :
SELECT NodesData.caption as Source_Name
,SourceInterface.InterfaceName as Source_Interface
,Layer_Type
,MappedNode.Caption as Mapped_Name
,MappedInterface.InterfaceName as Destination_Interface
FROM [SolarWindsOrion].[dbo].[TopologyConnections] as TopologyConnections
LEFT JOIN dbo.NodesData as NodesData
on TopologyConnections.SourceNodeID = NodesData.NodeID
LEFT JOIN dbo.NodesData as MappedNode
on TopologyConnections.MappedNodeID = MappedNode.NodeID
LEFT JOIN dbo.Interfaces as SourceInterface
on TopologyConnections.SourceInterfaceID = SourceInterface.InterfaceID
LEFT JOIN dbo.Interfaces as MappedInterface
on TopologyConnections.MappedInterfaceID = MappedInterface.NodeID
WHERE NodesData.caption LIKE 'OFF-RE-I157-01%'
and get the following results :
One connection is missing and I don't find where I should get it.
Any idea ?
Thanks for your help
Christine Delhougne