Hi,

How its possible to modify the icon of an object ? for exemple a device has a cisco logo and i would like change this to meraki logo

I use this request :

/api/setobjectproperty.htm?id=obj_id&name=icon&value=icon_name

my icon_name is formated like 'an_image.png'

Thanks for your help. Th1b0plz.


Article Comments

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.


Sep, 2020 - Permalink

Hi Florian,

Thanks for your help.

its works !


Sep, 2020 - Permalink