Hi All
Is there a way i can add a Map(dynamic) created using python, stored as json into Solarwinds, Can anyone help with the process of doing this?
If you figure out the details of the json formats that orion maps use to place things yes this is within the realm of possible things, but I've talked to a lot of people about map automations and so far nobody has built it.
But there is also a question around what is your python going to be adding that Orion isn't already natively providing? Any entity relationships Orion knows about can already be displayed so the path of least resistance might be to create a group of the intended objects, make sure they have relationships defined, and then the automatic map that is made by orion could have what you need already.
Yes, Not much, in that orderas mesverrum said, it's technically doable but anyone's game
I want to attempt it, I have a JSON Map file ready to go. Can i get the steps? Do i use API or is there something else i can try?
Cant give steps with certainty because while it is definitely possible no-one's really figured it out yet outside the SW devs. I've not tried myself (but will probably need to for a project in this quarter) but have been in discussion with a couple people trying.. Maps seem to exist or mostly exist in the containers table, and so a step somewhere might be to use the API to insert a new entry in that table. There's almost certainly another step of querying your stuff to select a group of them to become objects on the map. The big one will be to format the data info the form that the container wants in order to display it properly as a map.
How are you planning to make sure that the devices on the Map are already on SolarWinds? The JSON file i have has an entire site on it. I am not even sure that those devices are there in the environment.
Its possible as I've done it before.Trick is to open Chrome Devtools (or browser of your choice equivalent) go to the network tab, and the make a map update or something.This will give you the endpoint you need to hit for updates, along with the rough format the json needs to be in.I was never able to get it to create the map, so I had to create it first as a blank map, and then send the json.
You'll need to pull a bit of data out of Solarwinds in order to map things correctly with IP address to orion nodes/interfaces. (This isn't overly hard if you understand what it needs/how to query the solarwinds api)
I'll warn that my data was valid enough to be accepted/update the map - but no other user was able to edit the map/would error if you tried to manually modify it.
As everyone in this thread said, "yes" it's possible, but it's highly unlikely because of the edge and node configuration you'll have to encapsulate in the call. In summary,
Possible: yes
Probable: no.