Good afternoon, I can't seem to find the relationship between SNMP traffic data returned by the historic data API and the data returned/displayed in PRTG
My API request is as follows:/api/historicdata.json?id=3007&avg=60&sdate="+startdatestring+"&edate="+enddatestring+"&usecaption=1"
This returns (single value taken for readability): Downtime:0
Traffic In (speed):223144.9389
Traffic In (volume):13857300.704
Traffic Out (speed):40778.2848
Traffic Out (volume):2532331.4877
Traffic Total (speed):263923.2237
Traffic Total (volume):16389632.1917
coverage:"100 %"
datetime:"28/08/2018 12:45:00 - 12:46:00"
When I check the same data via the PRTG report web interface for the same sensor and same timespan I get
28/08/2018 12:45:00 − 12:46:00
15.466 KByte Traffic Total (volume)
2.112 kbit/s Traffic Total (speed)
13.077 KByte Traffic In (volume)
1.786 kbit/s Traffic In (speed)
2.388 KByte Traffic Out (volume)
326 kbit/s Traffic Out (speed)
Could you explain how to convert the data from the API to the actual values in Kbps. I have tried the obvious bits to bytes to seconds etc but can't seem to find it.
Thanks Michaël
Add comment