What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

API historic data timerange

Votes:

0

Your Vote:

Up

Down

I tried to export the historic data from the last month into an xml file. The Request is similar to this one: /api/historicdata.xml?id=2186&avg=86400&sdate=2013-01-01-00-00-00&edate=2013-01-31-23-59-59 What I get is the an xml file with the data form 31.12. till 30.01 and not the range I defined. If I reduce the average value to 3600 I get the data from 31.12 23:00 till 31.01 23:00. I bit closer but still not the range I want to select.

Is this a bug or working as intended?

ap historic-data i-timerange

Created on Feb 1, 2013 7:39:18 AM by  ThomasD (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

we are looking into this already, it's mostly an issue with how to build/handle such calls from the User side is documented, please try the call:

/api/historicdata.xml?id=2090&avg=86400&sdate=2013-01-01-00-00-00&edate=2013-02-01-00-00-00

it will work properly because the average fits properly into the period. In current canary builds this is already changed for the "Historic Data"-Tab, and will be adjusted in the documentation as well.

best regards.

Created on Feb 1, 2013 12:07:41 PM by  Torsten Lindner [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.