Quantcast
Channel: THWACK: All Content - Orion SDK
Viewing all articles
Browse latest Browse all 2677

NPM World Map updates via API

$
0
0

I wrote a python script with a function, that uses the Solarwinds API,  to grab  latitude and longitude for each of our sites from a database and  update two Solarwinds custom properties (Called Latitude and Longitude). This works great.

 

I then set the World Map to do automatic geolocation and after about 90 minutes I still had no markers on the map. I waited a while longer and still no markers. So after some research I found that the World Map us two properties called Latitude (World Map) and Longitude (World Map), not my custom Latitude and Longitude properties.

 

Can you update the Latitude (World Map) and Longitude (World Map) via the API? I looked at the API documentation and source code on github, however I have not figured out a way to do it yet.

 

My current  update line looks like this:  swis.update(uri + '/CustomProperties', Latitude = var2)

 

Any help is appreciated. Thank you,

-Matt


Viewing all articles
Browse latest Browse all 2677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>