The Service Graph Connector for SolarWinds copies hardware and software inventory from SolarWinds Orion into the Configuration Management Database. Setup has four parts: confirm licensing, register a connection in SGC Central, choose standard or air gap data sources, and switch on the scheduled import. Restricted networks add PowerShell steps on two servers, plus a plugin step on ServiceNow.
What you need before setup
Start with licensing, since it is easy to overlook. The connector draws on a subscription unit from the IT Operations Management Visibility or ITOM Discovery application. Managed IT resources that the connector creates or changes in the CMDB, and that those applications do not yet manage, use up that capacity, so check consumption first.
On the ServiceNow side, the Integration Commons for CMDB and CMDB CI class models store apps install automatically, as does the Discovery Core plugin. The ITOM Discovery License plugin must be activated by hand, and the ITOM Licensing plugin must be present. Configuration is an admin task. The Service Graph Connectors overview covers the wider model if you are new to it.
On the SolarWinds side, you need an Orion Platform deployment at a supported version, with 2019.4 HF6 and 2020.2.1 HF2 as the minimums. The Server & Application Monitor and Network Performance Monitor modules are optional, but you must tell the connector which are installed, because that choice changes the API classes it calls. The account needs read privileges on the SolarWinds Information Service API. That is the same access you have when signing in to the Orion website, not a database login.
Air gap connections need connector version 2.5.0 or later, and the SGC Central workflow needs 2.6.0 or later. Supported ServiceNow releases are Zurich, Australia and Brazil.
Changes to the module flags alter the API classes and data returned, so set them deliberately.
Setting up a connection in SGC Central
SGC Central is the recommended route. Open it from the Service Graph Workspace using the ingestion icon, or from the CMDB Workspace under SGC Central. Select Create connection on the dashboard or the All connections page, then pick the SolarWinds connector type.
The playbook then runs a fixed sequence. The first time you set up a connection with this connector, you complete the initial prerequisites. Next you choose a data source type: standard for environments with direct internet access, or air gap for restricted networks. That choice decides which later activities appear.
In the create and test step, a standard connection needs a connection name, the SolarWinds host name as the connection URL, and a user name and password. Tick Use MID server if traffic should route through a MID Server, then choose the server and its MID application. An air gap connection asks instead for a connection name, the parent directory on the low-secure server, an option to archive data after retrieval with an optional archive path, and the MID Server deployed on that machine.
Next, set the configuration properties by ticking SAM installed or NPM installed to match the instance. Then configure the import schedule. Expand the parent scheduled data import, select the SG-Solarwinds Hardware schedule, tick Active, and set the frequency and time. Execute Now runs it immediately. The other active SolarWinds schedules run in their configured order after the hardware schedule finishes, and any you do not need can be set inactive one at a time. The final confirm activity verifies the connection, which then appears in the installed connections list.
Setting up air gap data sources
Air gap support arrived in version 2.5.0 of the connector. It suits SolarWinds instances on a subnet with no internet access and no route for a MID Server agent. Data moves through three environments: a high-secure server that reaches the SolarWinds API, a low-secure server that a MID Server agent can reach, and the ServiceNow instance. Run the stages in order.
Step 1: high-secure server. From Add Multiple Instances, select Add Another Connection and download SgSolarWindsHighSecureSetup.ps1 and GetSolarWindsData.ps1. Create a SolarWinds directory, copy both scripts into it, and run the setup script in a PowerShell session. It asks for the directory path, a configuration file name, global settings such as the number of records per API call, the host and port, and where to store the credentials file and logs. Enter the SolarWinds credentials in the pop-up. The account that runs the fetch script needs write and delete permissions on the data directories, because old records are cleaned up.
Step 2: low-secure server. Download SgSolarWindsLowSecureSetup.ps1 from the same section, create a SolarWinds directory, run the script and name the data directories. Grant read and delete permissions on the SolarWinds directory.
Step 3: ServiceNow instance. Download the ServiceNow IntegrationHub Action Step PowerShell plugin from System Definition, then Plugins. Under Add Another Connection, select Airgap Data Sources and Add Connection. Enter a connection name, the MID Server on the low-secure machine (its sys_id is in the ecc_agent table), the parent directory, and any archive settings, then select Create Connection.
Step 4: test data load. On the high-secure server, run GetSolarWindsData.ps1 with the configuration path. It writes a sample file to the Hardware directory and a log to the Logs directory. A log line reading Test Load status SUCCESS confirms the endpoint is reachable. A 403 status on hardware points to missing permissions or wrong credentials. Check the SolarWinds user first, and rerun the high-secure setup script if the credentials changed.
Step 5: full data load. Run the fetch script with the complete-load switch set to true, pointing at the same configuration file. By default this deletes existing files in the data directories first, and a clean switch set to false keeps them. Copy the data source directories to the low-secure server by a method such as SFTP or SCP, and schedule the full load and the transfer to line up with the scheduled import on the instance.
Step 6: test the connection. Open the air gap connection from the connections list and select the test connection link. A status of Success confirms the chain works. Otherwise the status is not Success, and the remediation suggestions the test returns are the next step.
Checking connection details and scheduled imports
After a connection exists, the common connection framework in the Integration Commons for CMDB store app shows it in one view. Go to All, then Service Graph Connectors, then SolarWinds, then Connections, and open the connection by name. The page shows the alias, properties, data sources and linked scheduled imports, and the test connection link runs a check on demand.
Start here when an import stops returning data. The connection view lists the alias, properties, data sources and scheduled imports linked to the connection, and the Test Connection link runs a check on demand. For a wider view, the CMDB integrations dashboard summarises status, processing results and errors for all installed Service Graph Connectors. You can filter it by integration, time range or a single run.
Which CMDB classes receive SolarWinds data
Data lands in staging tables first. The transform engine used by the connector maps and transforms it, and the Identification and Reconciliation Engine inserts it into the CMDB. The target tables extend the configuration item table.
Server records cover Windows, Linux, UNIX, AIX, Solaris and Hyper-V servers, plus generic computer and hardware records. Cloud resources appear as availability zones, cloud networks, subnets, key pairs and service accounts. Storage volumes, VM instances, IIS web servers and MS SQL databases have classes of their own.
Software depends on Software Asset Management. With it installed, software lands in the software installation class. Without it, the data goes to the software instance and software tables. Settle which case applies early, because software reports will read from different places.
| Class | Table | Main relationships |
|---|---|---|
| Availability Zone | cmdb_ci_availability_zone | Contains cloud subnets and cloud networks |
| Logical Datacenter | cmdb_ci_logical_datacenter | Contained by an availability zone; hosted on a cloud service account |
| Computer | cmdb_ci_computer | Virtualized by a VM instance; contains disks |
| Hardware | cmdb_ci_hardware | Owns IP addresses and network adapters |
| VM Instance | cmdb_ci_vm_instance | Hosted on a logical datacenter; provisioned from an image and hardware type; uses storage volumes |
| Microsoft IIS Web Server | cmdb_ci_microsoft_iis_web_server | Runs on hardware; contains IIS virtual directories |
| MSFT SQL Instance | cmdb_ci_db_mssql_instance | Runs on hardware; contains MS SQL databases |
| Software Instance | cmdb_software_instance | References a computer and hardware |
Connector properties
The sn_solarwinds_inte.page_size property is an integer with a default of 10000 that sets the number of records fetched per SolarWinds API call. Find it in the System Properties [sys_properties] table by entering sys_properties.list in the navigation filter. Lower it if the SolarWinds server is under strain during imports.
Frequently asked questions
Which configuration method should I use?
Use SGC Central. The guided setup method is planned for deprecation, so keep it as a fallback for configuration problems that SGC Central cannot resolve.
Do I need the SAM or NPM modules installed?
No. The connector works with or without them. The module flags on the connection must match what is installed, because they decide which API classes are called.
What changes if I switch a module flag after imports have run?
Expect the API classes called and the data returned to change on the next run, then check the connection details.
Why does my air gap test return a 403 status?
The SolarWinds user lacks the permissions the hardware API needs, or the stored credentials are wrong. Check the account rights first, rerun the high-secure setup script if the credentials changed, then repeat the test data load.
Where can I confirm that a scheduled import ran?
Open the CMDB integrations dashboard, filter it to the SolarWinds integration and the time range you need, and check the processing results and errors for each run. The connection view shows which scheduled imports are linked to the connection.