Im trying to change the unit configuration of a bunch of sensors. They are all "snmp Traffic sensors". I did manage to change the inheretence but not the value I want to change these to Mbit & MByte https://<HOSTNAME>/api/setobjectproperty.htm?username=admin&passhash=<Passhash>&id=7143&name=unitconfig__oukBytesBandwidth_speed_&value=Mbit
I have tried using the number 13 as that one is the value for MBit but no luck.
You can do this fairly easily with PrtgAPI
This results in an API request as follows
Regards,
lordmilko
Oct, 2018 - Permalink