Hello PRTG-Team,
I am trying to retrieve the last 20 values of a sensor in JSON. The problem I am facing is that the 'live data' request
/api/table.json?content=values&output=json&columns=datetime,value_&count=20&id=2168&noraw=1&usecaption=true
returns
{"prtg-version":"18.3.42.1748","treesize":288,"values":[{"datetime":"10/08/2018 22:10:00 - 22:15:00","Ping Time":621.0000,"Minimum":615.8000,"Maximum":628.6000,"Packet Loss":0.0000,"Downtime":0.0000,"coverage":"100 %"},{"datetime":"10/08/2018 22:15:00 - 22:20:00","...
I would however need the actual 'live data' for each individual datapoint (ping in this case) and not the coverage values.
When I request the same from historicvalues I get each individual value but the problem is I don't know start and end date between last and last - 20 (or any other amount).
Is it normal that the 'live data' returns coverage between two points in time and not each individual value?
Thanks for sharing your wisdom Michaël
Add comment