New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

300.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

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

 

Top Tags


View all Tags


Graph generated from API date issue

Votes:

0

Your Vote:

Up

Down

Hello,

this is part of my api call :

chart.png?type=graph&graphid=2&id=1004&width=600&height=260&graphstyling=showLegend%3D%271%27&sdate=2015-09-01-00-00-00&edate=2015-09-30-00-00&avg=86400

The graph displays, but the dates are wrong. What it actually does ; it populates the graph as per ID above, and then displays it with avg 86400 (1 day). It displays the graph with the date range as it is originally.

how do I get the above api I call to generate a graph with the date range as requested ?

api chart prtg

Created on Oct 5, 2015 9:53:16 AM by  cyberion1985 (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hi,
please try the following call:

/chart.png?graphid=-1&id=1004&width=600&height=260&graphstyling=showLegend%3D%271%27&sdate=2015-09-01-00-00-00&edate=2015-09-30-00-00-00&avg=86400

This should generate the correct output.

Created on Oct 6, 2015 1:53:24 PM by  Konstantin Wolff [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.