Is there a way to show or grab min and max value in traffic sensor in the graph and table in historical data and report, if I set the interval for certain of time then the table and graph will show the min and max value in that interval.

ex :

MaximumMinimum
Date TimeTraffic In (speed) Mbit/sTraffic Out (speed) Mbit/sTraffic In (speed) Mbit/sTraffic Out (speed) Mbit/s
12/10/15 00:00:002213.20424.561601.79299.46
12/10/15 01:00:001610.71343.321103.98262.83
12/10/15 02:00:001184.82312.52742.34243.57
12/10/15 03:00:00828.38279.97620.76218.95
12/10/15 04:00:00675.39240.98509.18199.19

Article Comments

Hello, thank you for your contact.

The Highest and lowest 1 minute averages report can be used to list (and compare) the Average, Minimum and Maximum values of the primary channel of traffic sensors for a specific period.

Alternatively, you may query an sensor's historical maximum and minimum values can be queried using PRTG's API:

api/table.xml?content=channels&columns=name,objid,lastvalue_,minimum,maximum&id=SENSORID

You may also check the complete API documentation within PRTG under Setup > PRTG API for further details.

Best Regards,


Dec, 2015 - Permalink

Thanks for you reply,

I'm usually get from historical data using this api :

api/historicdata.csv?id=SENSORID&sdate=2015-12-04-00-00-00&edate=2015-12-11-00-00-00&avg=60&pctavg=300&pctshow=false&pct=95&pctmode=false
api/historicdata.csv?id=SENSORID&sdate=2015-12-04-00-00-00&edate=2015-12-11-00-00-00&avg=900&pctavg=300&pctshow=true&pct=95&pctmode=true

how can I include the min and max in the csv data that I get from using this api, thanks.


Dec, 2015 - Permalink

Hello Ibrahim, thank you for your reply.

It's not possible I'm afraid, you'll need to use distinct/individual API's for it.

Best Regards,


Dec, 2015 - Permalink

before I had same thing and I had solved this issue by add additional scrip inside report template and its working for me until now.


Jan, 2016 - Permalink