Have you ever wondered how to get a SolarWinds report to show you what has been discovered but not imported as a node yet?
Network Sonar Discovery finds devices, but unless someone goes back into the discovery results and imports them, they sit there unmonitored. Scheduled discoveries make this worse, as new devices quietly build up in the results between runs.
This SWQL Custom Query shows every discovery profile that has found nodes NOT yet imported into SolarWinds monitoring.
How it works
A device counts as "New Found" when its IP exists in the discovery results (Orion.DiscoveredNodes) but does not match an existing monitored node (Orion.Nodes). Anything deliberately set to Ignore in the discovery results is excluded.
For each device it shows the discovery profile, discovery method (ICMP or SNMP version), IP, hostname, DNS, SNMP SysName, vendor, machine type, system description and when the profile last ran.
Where to use it
Classic Dashboard Custom Query widget, as a live "pending import" list.
Custom Report, as a regular to-do list after scheduled discoveries run.
Notes and Limitations
Matching is on the node polling IP. A device discovered on a secondary interface IP may show as New Found even if it is already monitored.
'ICMP Only' is shown for SnmpVersion 0. This also includes WMI and Agent discovered devices, as these report SnmpVersion 0.
Classic Dashboard tested. Modern Dashboard not yet tested.
Coming next
A follow-up version joining the Nodes Custom Properties table, using 'Site' as the example, so New Found devices can be listed alongside the monitored nodes at the same site.
Modules: NPM
Tested on: SolarWinds Platform 2026.2.2
--# SWQL - Discovered Devices Pending Import v1.0
--# THWACK: DC4Networks
--# Reference: https://solarwinds.github.io/OrionSDK/2026.2.2/schema/index.html
--# Modules: NPM
--# Tested: SolarWinds Platform 2026.2.2
--# Purpose: Show discovery profiles that have found nodes NOT yet
-- imported into SolarWinds monitoring.
-- New Found = IP exists in DiscoveredNodes but has no matching
-- NodeID in Orion.Nodes (N.NodeID IS NULL after LEFT JOIN).
-- Monitored = IP matches an existing node's polling IP.
--# Note: IgnoredNodeID IS NULL excludes nodes deliberately set to Ignore
-- in the discovery results GUI.
--# Option: Comment out the AND N.NodeID IS NULL line in the WHERE clause
-- to list ALL discovered nodes, New Found and Monitored together.
--# Limit: Matching is on the node polling IP (Orion.Nodes.IP_Address).
-- A device discovered on a secondary interface IP may show as
-- New Found even if it is already monitored.
--# Note: 'ICMP Only' is shown for SnmpVersion 0. This also includes
-- WMI and Agent discovered devices, as these report SnmpVersion 0.
SELECT
-- Node Status: New Found or Monitored
CASE WHEN N.NodeID IS NULL
THEN 'New Found'
ELSE 'Monitored'
END AS [Node Status],
-- SNMP Version as text
CASE DN.SnmpVersion
WHEN 0 THEN 'ICMP'
WHEN 1 THEN 'SNMPv1'
WHEN 2 THEN 'SNMPv2c'
WHEN 3 THEN 'SNMPv3'
ELSE CONCAT('Unknown: ', TOSTRING(DN.SnmpVersion))
END AS [Discovery Method],
-- Discovered Node Details
DN.IPAddress AS [Discovered IP],
DN.Hostname AS [Hostname],
DN.DNS AS [DNS Name],
DN.SysName AS [SNMP SysName],
DN.Vendor AS [Vendor],
DN.MachineType AS [Machine Type],
DN.SysDescription AS [System Description],
-- Last Run: YYYY-MM-DD | HH:MM
CONCAT(
TOSTRING(YEAR(TOLOCAL(DP.LastRun))), '-',
CASE WHEN MONTH(TOLOCAL(DP.LastRun)) < 10
THEN CONCAT('0', TOSTRING(MONTH(TOLOCAL(DP.LastRun))))
ELSE TOSTRING(MONTH(TOLOCAL(DP.LastRun)))
END, '-',
CASE WHEN DAY(TOLOCAL(DP.LastRun)) < 10
THEN CONCAT('0', TOSTRING(DAY(TOLOCAL(DP.LastRun))))
ELSE TOSTRING(DAY(TOLOCAL(DP.LastRun)))
END, ' | ',
CASE WHEN HOUR(TOLOCAL(DP.LastRun)) < 10
THEN CONCAT('0', TOSTRING(HOUR(TOLOCAL(DP.LastRun))))
ELSE TOSTRING(HOUR(TOLOCAL(DP.LastRun)))
END, ':',
CASE WHEN MINUTE(TOLOCAL(DP.LastRun)) < 10
THEN CONCAT('0', TOSTRING(MINUTE(TOLOCAL(DP.LastRun))))
ELSE TOSTRING(MINUTE(TOLOCAL(DP.LastRun)))
END) AS [Last Run]
FROM Orion.DiscoveryProfiles AS DP
-- Discovery results per profile
INNER JOIN Orion.DiscoveredNodes AS DN
ON DP.ProfileID = DN.ProfileID
-- Match discovered IPs against existing monitored nodes
LEFT JOIN Orion.Nodes AS N
ON DN.IPAddress = N.IP_Address
-- Exclude Ignored nodes | New Found only (comment out line 2 for ALL)
WHERE DN.IgnoredNodeID IS NULL
AND N.NodeID IS NULL
ORDER BY DP.Name ASC, DN.IPAddress ASC
--# END OF SWQL Custom Query.
Feedback and improvements welcome.