Changing the unit Configuration via API
Modified on 2025-06-10 12:29:20 +0200
Attention: This article is a record of a conversation with the Paessler support team. The information in this conversation is not updated to preserve the historical record. As a result, some of the information or recommendations in this conversation might be out of date.
Important: We no longer maintain this article. The information might be out of date.
Article Comments
You can do this fairly easily with PrtgAPI
Get-Probe contoso | Get-Sensor -Type snmptraffic | Set-ObjectProperty BandwidthSpeedUnit mbit
This results in an API request as follows
/editsettings?id=40&unitconfig__oukbytesbandwidth_speed=13&unitconfiggroup=0&unitconfig_=
Regards,
lordmilko
Oct, 2018 - Permalink
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
You can do this fairly easily with PrtgAPI
This results in an API request as follows
Regards,
lordmilko
Oct, 2018 - Permalink