Hi There.

I`m testing out the PRTG solution primary for a network quality measurement. For a quick overview and a alert system, this solution is really great.

For some detail views I need the raw data. I still tried to use the API to get the data of a QoS sensor, but I got only aggregated data.

More Details: - Sensortype QoS from and to a remoteprobe - 1,000 packets per min - PDV, Jitter, RTT Max, Min, Avg., ...

What I got if I used the API was aggregated values for each minute and not raw data for all 1,000 packets each minute.

Is there a way to also export all raw data which was used for the sensor calculation?

Thank you!


Article Comments

Hi
what is the API call you are using for the data export?
Best regards


Feb, 2015 - Permalink

Hi
what is the API call you are using for the data export?
Best regards


Feb, 2015 - Permalink

I tried it with:

/api/historicdata.csv?id=2091&avg=0&sdate=2015-02-25&edate=2015-02-26

as described for historical records. This gives me average values for each minute, where the QoS RTT or Ping sensor takes 1.000 measurements per minute.

Also like with a "live data" request:

/api/table.xml?content=values&output=csvtable&columns=datetime,value_,coverage&id=2091

Which gives me the average values for each five minutes.

But what I want to get is for example:

Ping minute 1 4ms minute 1 8ms minute 1 7ms minute 1 5ms minute 1 4ms minute 1 3ms minute 1 5ms ... minute 2 8ms minute 2 7ms ...

Where the time "minute x" can be given in ms, yyyy-mm-dd-hh-mm-ss, or anything like else...


Feb, 2015 - Permalink

Hi,
I'm afraid the data cannot be exported this detailed as it seems you would like to have details for every packet sent out. Only data as seen on the Live Data (and other tabs) can be exported. The historcal data export with parameter avg=0 is the most detailed output here.
Best regards


Feb, 2015 - Permalink