Documentation forServer & Application Monitor

Enable Asset Inventory polling for multiple nodes in SAM

This topic also applies to SolarWinds SCM, which supports Asset Inventory polling.

By default, Asset Inventory polling is automatically enabled for nodes that meet Asset Inventory requirements that are added during Discovery. You can also enable Asset Inventory polling for individual nodes.

To enable Asset Inventory polling for a large group of nodes (for example, after adding required third-party software to nodes), you can either:

  • Run Discovery again to "re-import" the nodes. This will not affect anything currently monitored, but Asset Inventory will be enabled on all nodes that meet requirements during the import process. See this article for details.
  • Use SWIS verbs to turn Asset Inventory on and off across multiple nodes, as described next.

To avoid overloading polling engines, do not enable Asset Inventory across hundreds of agentless nodes in bulk. If nodes are polled by Orion agents, that issue should not occur.

Use SWIS to enable or disable Asset Inventory polling

You can also use SolarWinds Information Service (SWIS) verbs to control Asset Inventory polling across multiple nodes:

  • Orion.AssetInventory.Polling.EnablePollingForNodes.
  • Orion.AssetInventory.Polling.DisablePollingForNodes.

SWIS is the data access layer that serves as an API for the Orion Platform. You can use the Orion SDK to interface with SWIS, which allows for higher-level operations than would be allowed directly in SQL. The SDK includes a SWQL Studio tool to validate queries and data. SolarWinds Query Language (SWQL —rhymes with "pickle") is a proprietary, read-only subset of SQL that you can use to query your Orion database.

Note the following details about the Orion SDK:

To enable or disable Asset Inventory for multiple nodes with SWIS:

  1. Download the OrionSDK.msi installer from GitHub and run the setup wizard.
  2. Launch SWQL Studio from its default folder:
    C:\Program Files (x86)\SolarWinds\Orion SDK\SWQL Studio
  3. Generate a list of node IDs, as shown in this example query:

    SELECT CONCAT('<int>', NodeID, '</int>') AS col1
    FROM Orion.AssetInventory.Polling

  4. Click Ctrl + C to copy the list of node IDs.

  5. In Object explorer tree, navigate to Orion.AssetInventory.Polling.

  6. Right-click the verb (for example, EnablePollingForNodes) and click Invoke.

  1. When a new query pane opens, paste the node IDs, as shown here:

  2. Click Invoke to process the command.