What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

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

How can get the historicdata.json return with value unit information

Votes:

0

Good afternoon,

When I using following API call to get historic data, the response does not include value unit. /api/historicdata.json?id=2168&avg=3600&sdate=2021-01-11-00-00-00&edate=2021-01-12-01-00-00&usecaption=1 When I using following call, the response include unit information, but do not include channel name or id information. /api/historicdata.json?id=2168&avg=3600&sdate=2021-01-11-00-00-00&edate=2021-01-12-01-00-00

Is there a way to call /api/historicdata.json, and return the result include the channel name, and value unit?

Thanks.

avg historicdata json

Created on Jan 13, 2021 1:58:48 AM



2 Replies

Votes:

0

Hello there,

Thanks for the KB post.

I am afraid there is no way to have the unit displayed when using the usecaption syntax.


With kind regards,
Chan Siau Hen
Technical Support Team, Paessler AG

Created on Jan 20, 2021 2:48:55 PM by  Chan Siau Hen [Paessler Technical Support]



Votes:

0

Thank you for the reply.

Created on Jan 20, 2021 2:53:07 PM




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.