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&filter_tags=@tag(memory)&columns=probe,group,device,sensor,lastvalue
Modified on 2025-06-10 15:01:43 +0200
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&filter_tags=@tag(memory)&columns=probe,group,device,sensor,lastvalue
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".
Jun, 2021 - Permalink