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.
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 Download

Top Tags


View all Tags

Help building API call

Votes:

0

Your Vote:

Up

Down

Hi. I have a custom python sensor, that returns 5 channels and their status (int values). The sensor works fine on PRTG, but i want to be able to see it via API. A simple csv, or html table works. I just need to see Channel,Value Channel, Value Channel, Value ....

I just cant seem to figure out this api call. Any help would be very much apreciated.

api prtg-api prtg-api-for-grafana

Created on Apr 30, 2020 8:49:32 AM by  yurividal (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Dear yurividal,

an example would be

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

Replace "1001" with the respective sensor object #ID.

Created on Apr 30, 2020 5:21:45 PM by  Arne Seifert [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.