Hi,
I am planning to build Python script to get data from SolarWinds reports and compare the data from ServiceNow CMDB. This is to check all database nodes are being monitored in SolarWinds.
Is there a sample script for that?
Start here: GitHub - solarwinds/OrionSDK: SDK for the SolarWinds Orion platform, including tools, documentation, and samples in PowerShell, C#, Go, Perl, and Java. and since you want Python: GitHub - solarwinds/orionsdk-python: Python client for interacting with the SolarWinds Orion APIAnd look at the queries here to give you a start: (+) Custom Queries - The Orion Platform - THWACK (solarwinds.com) Here are some that I added for Service Now import a while ago
https://thwack.solarwinds.com/content-exchange/the-orion-platform/m/custom-queries/2986
https://thwack.solarwinds.com/content-exchange/the-orion-platform/m/custom-queries/2987
https://thwack.solarwinds.com/content-exchange/the-orion-platform/m/custom-queries/2985
https://thwack.solarwinds.com/content-exchange/the-orion-platform/m/custom-queries/2984
https://thwack.solarwinds.com/content-exchange/the-orion-platform/m/custom-queries/2983
Hi - I'm about to try working on something similar but with ManageEngine's CMDB. Basically my though process is to pull all the relevant IP addresses from both APIs, populate two lists in Python and then do a comparison there. Utlimately, I'm hoping to get a diff of the two and then do the necessary logic to make sure both databases are syncronized.I'm going with IP addresses since once those are in then each application can do their necessary scans to pull data.