Hello,
I'm writing a Python Advanced Sensor that is measuring bandwidth of a device gathering data via http. It calculates the difference of a certain value and the time elapsed between each run, returning a value that is my network speed in bytes/minute.
Here https://prtg.paessler.com/api.htm?username=demo&password=demodemo&tabid=7#toc-index-3 I found a bit of documentation about the custom sensors, and in particular I'm interested in the following parameters:
Unit=SpeedNet SpeedSize=KiloByte SpeedTime=Minute
..everything looks promising, except that the PRTG python library 'paepy' does not seems to contain the SpeedSize and SpeedTime parameters! I tried adding 'manually' theese params to ChannelDefinition.py, but the remote probe seems to ignore it, so I'm wondering if the parameters in questions are deprecated/outdated or still working.
I'd like to display my bandwidth as the "Windows Network Card" sensor does (Mbit/s), but I'm not able to reproduce it! Why?
Thanks
Add comment