I'm traying to create a query that will bring Nodes with the group they are, but in the results, I'm seeing some results with nodes with a group that they don't belong to. I entered SolarWinds web server and confirmed the group that those nodes belong. Not all the result brings the nodes with the wrong group, but some of them do.
This is the query I am using.
Select Caption, c.Name AS [Group], SF, nd.DetailsURL AS [Node Details URL] FROM Orion.NodesCustomProperties cp
--For SF---
INNER JOIN Orion.nodes nd on cp.NodeID = nd.NodeID
--For Group---
LEFT JOIN Orion.ContainerMemberSnapshots AS CMS ON nd.NodeID=CMS.EntityID
LEFT JOIN Orion.Container AS C ON C.ContainerID=CMS.ContainerID
--For Unmanaged----
WHERE nd.status = 1 AND c.Owner != 'Maps' AND c.Name = 'Test'
Any help is welcome