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

pull with API a sensor of SNMP Custom Advanced

Votes:

0

Hi i want to pull data via API jason format but once im pulling the sensor id it only gives me the primary channle and not all the channles thats what im getting via the jason: https://fileportal.totalegame.net/Handlers/AnonymousDownload.ashx?file=33864377&links=true and thats how the sensor looks : https://fileportal.totalegame.net/Handlers/AnonymousDownload.ashx?file=3f9f95a0&links=true how can i pull via API in jason format the whole sensor tree.

api jason sensor

Created on Dec 9, 2016 12:57:42 PM



2 Replies

Accepted Answer

Votes:

0

Dear Alexander

The API allows to either get the whole (or a branch of) the sensor tree with the primary channel, or all sensor channels for a single sensor:

/api/table.json?id=2123&content=channels&columns=objid,name,minimum,maximum,lastvalue&count=*

Replace "2123" with the according sensor ID.

Created on Dec 9, 2016 2:08:35 PM by  Arne Seifert [Paessler Support]



Votes:

0

thanks

Created on Dec 9, 2016 7:15:55 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.