Looking to create a report that will grab node information, cusom properties and threshold values;
I've got this far;
SELECT cp.Environment, n.Caption, n.Description, n.DetailsUrl, n.DisplayName, n.IP_Address
FROM Orion.Nodes AS n
JOIN Orion.NodesCustomProperties AS cp ON n.NodeID = cp.NodeID
WHERE cp.Environment = 'Production'
and did try to just add this line, but hasn't worked, it shows no results. But when I remove this I get results, so something to do with this JOIN and I think it might be field DisplayName?? not sure
JOIN Orion.NodesThresholds AS th ON n.DisplayName = th.DisplayName
Anyone got any ideas?
I would like to see node info, custom property and threshold warning and critical values for cpu and memory to start with (will look at volume later
)