Hello, can someone advise me if it is possible to create a NCM Custom SWQL Query to tell me the NCM node status = "Not Backed Up"
NCM should have this as a default report already.
However, here is the SWQL used within that default report.
SELECT DISTINCT
CASE
WHEN ConfigTable.NodeID IS NOT NULL THEN 'backedUp'
ELSE 'notBackedUp'
END AS NCMNodeStatus,
Orion.NodeID AS CoreNodeID,
Orion.Caption,
ConfigTable.NodeID,
Orion.IPAddress,
Orion.DetailsUrl,
Orion.ChildStatus,
Orion.Vendor,
Orion.Status,
Orion.Icon,
OrionVendors.Icon
FROM Cirrus.NodeProperties AS NCMNodeProperties
JOIN Orion.Nodes AS Orion ON Orion.NodeID=NCMNodeProperties.CoreNodeId
JOIN Orion.NodesCustomProperties AS OrionCustomProperties ON Orion.NodeId= OrionCustomProperties.NodeId
INNER JOIN Orion.Vendors AS OrionVendors ON Orion.Vendor=OrionVendors.Name
LEFT JOIN (SELECT NodeID FROM Cirrus.ConfigArchive) AS ConfigTable ON NCMNodeProperties.NodeID=ConfigTable.NodeID
ORDER BY Orion.Caption ASC
This will show you a list of all NCM devices, and whether they have been backed up or not.
I hope this helps.
Thank you,
-Will
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.