hello! I need a report on the provision of a custom node, but so that all assets (installed by default and manually) are included in the report Ideally, the report should be in the form of:
There was a report already on Thwack that had some of what you need List of nodes by view type - Forum - Network Performance Monitor (NPM) - THWACK (solarwinds.com)
I added a few things to it here. If you put this into a custom swql report it should look like what was requested.
--Note ICMP Nodes will return as Unknown in DeviceTypeSELECT n.caption AS [Node Name] ,n.IPAddress as [IP_Address] ,v.ViewGroupName AS [Assigned View Name] ,vd.DeviceTypeFROM Orion.NodeSettings nsjoin Orion.Views v on ns.SettingValue = v.ViewIDjoin Orion.Nodes n on ns.NodeID = n.NodeIDjoin Orion.Viewsbydevicetype vd on ns.SettingValue = v.ViewIDwhere SettingName = 'ViewID' And vd.ObjectType like 'n'Order By DeviceType ASC
Great! Or maybe you can also help how to get DeviceType from the [NodesCustomProperties] table?
Change the YOURCUTOMPROPERTIES to match yours below.
--Note ICMP Nodes will return as Unknown in DeviceTypeSELECT n.caption AS [Node Name] ,n.IPAddress as [IP_Address] ,v.ViewGroupName AS [Assigned View Name] ,vd.DeviceType ,[n].CustomProperties.YOURCUSTOMPROPERTIESFROM Orion.NodeSettings nsjoin Orion.Views v on ns.SettingValue = v.ViewIDjoin Orion.Nodes n on ns.NodeID = n.NodeIDjoin Orion.Viewsbydevicetype vd on ns.SettingValue = v.ViewIDwhere SettingName = 'ViewID' And vd.ObjectType like 'n'Order By DeviceType ASC