As our customers deploy more SolarWinds products, we see an increasing number of demand for a programmatic way to export and/or import nodes (as well as interfaces, volumes…) from/to an Orion instance.
The combinations of products involved in these scenarios cover, but are not limited to combinations such as:
This blog contains and describes a working PowerShell script example, that exports nodes from SolarWinds NPM network monitoring software and imports them into NCM, but it can be easily modified to accommodate other combinations, including non-SolarWinds sources (CMDB)
The required configuration to run this script is:
The script for 10.2.x is located here:PowerShell script that exports Nodes from NPM and imports them into NCM (for Core 2011.2.x and before - NPM 10.2 and before).
The version adapted for Core 2012.1 (comes with NPM 10.3) is here: PowerShell script that exports Nodes from NPM and imports them into NCM (for Core 2012.1 and after - NPM 10.3 and after)
Here is an example of run, which extracted 561 nodes from my NPM 10.2.2 and imported them into my NCM 7.0.2
A few features of the script:
I hope you will enjoy and benefit from this script, and I don’t want to finish without thanking Tim and Tomas for their invaluable help!