Hello,
I would like to get the world map where all my devices and their states are shown. These devices don't have anything I could ping nor any OS, so they way I have to do it is to call the API to set the device's location by entering coordinates (latitude and longitude) that I store in my database. Trying to do so I'm facing two problems:
1. If I don't set device location at all and they try to change it by the API, nothing happens. The location is still empty and device is not shown on the world map.
2. If I set some location and then try to change it by the API, it works halfway. The world map is updated and shows new location of my device, but if I hover it there or enter device settings, there are still old coordinates shown.
I tried to do this by these two calls:
/api/setlonlat.htm?id=objectid&location=name_of_object_location&lonlat=longitude,latitude /api/setobjectproperty.htm?id=objectid&name=lonlat&value=longitude,latitude
I have the newest version of the PRTG installed (PRTG Network Monitor 20.2.59.1689 x64).
Add comment