From a previous question, I was able to get the IP address(s) in question however I ran into another issue. The results which should provide an IP address along with an "unknown" IP address based on the two interfaces that I filtered against instead show multiple results for the same two interfaces roughly 39 times. I believe this may be related to timing or historical data.
Does anyone know how to restrict the results to the most recent or something similar? I found the link below so I am doing a SELECT or JOIN on something that is grabbing additional detail. Any help is greatly appreciated.
(+) SWQL Query to pull IP Info - Forum - Network Performance Monitor (NPM) - THWACK (solarwinds.com)
SELECT TOP 100 Nodes.interfaces.InPercentUtilizationThreshold.CurrentValue AS InPercentUtilizationThreshold_CurrentValue
, Nodes.interfaces.OutPercentUtilizationThreshold.CurrentValue AS OutPercentUtilizationThreshold_CurrentValue
, Nodes.interfaces.CustomProperties.Comments AS CP_Comments
, Nodes.interfaces.Caption
, Nodes.interfaces.Index
, round((Nodes.interfaces.Inbandwidth / 1073741824.0),2) as TotalSize
, Nodes.interfaces.StatusDescription
, Nodes.interfaces.DetailsUrl
, Nodes.NodeIPAddresses.IPAddress AS IP
, Nodes.NodeIPAddresses.SubnetMask
, Nodes.Caption AS Device_Name
FROM Orion.Nodes as Nodes
WHERE Nodes.interfaces.CustomProperties.Comments LIKE 'XXXX'