Hello,
To modify the icon of a device via the API of PRTG, you can use the following API call:
http(s)://{PRTGServer}/api/setobjectproperty.htm?id={DeviceID}&name=deviceicon&value={ImageName}&username={Username}&passhash={Passhash}
Please, change the "variables" in the request according to your configuration.
You can find the name of the pictures available by default in PRTG under C:\Program Files (x86)\PRTG Network Monitor\webroot\icons\devices.
You can also find the name by using the Inspect menu (F12) of your browser under the "Settings" tab of the device:
https://imgur.com/a/ZhNHZXb
If you want to add more icons, please use the same folder.
Kind regards.
Add comment