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 LAST VALUE CHANGE CHANNEL

Votes:

0

Your Vote:

Up

Down

Hello, I need to change the channel on my sensor report, right now I only can see the % and I need the total Memory Mb channel, how I can do that?

/api/table.xml?content=sensors&[email protected](memory)&columns=probe,group,device,sensor,lastvalue

api prtg-api prtgapi

Created on Jun 18, 2021 5:30:02 PM by  ruddyo_mr (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

Hello,

the lastvalue property is always the one of the primary channel. You can change that channel in the PRTG interface, using the small pin icon.

As alternative, you can query all channels for each sensor:

/api/table.xml?id=1002&content=channels&columns=name,objid,lastvalue

Of course, "1002" is just an example ID. One can read channels only per single sensor. You can get that ID with the column "objid".

Created on Jun 22, 2021 5:09:32 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.