Hello all,

We just started with PRTG and we are very happy with it.

I have an question about custom reports. I'm building a custom report based on the "stats loop hilo" template. I create a couple of tables in this report where I want to show a top 10 of highest CPU load, memory load, etc. The problem is that I don't get the specific sensor data in the specific table. How can I filter on forinstance the cpuloadsensor in the first table so it will show only the top 10 highest CPU load?

<div><#report type="statstable" filter="cpuloadsensor" columns="sensor,average,minimum,maximum,device" count="10" avg="3600" sortby="average" showposition="true" clgid="<@clgid>"></div>

I tried a lot of different things but nothing works so far. Can anyone point me in the right direction?

Thanks a lot!


Article Comments

Hi there,

This is possible by using the following filter, just change the tag of the sensor group accordingly:

filter="filter_tags=@tag(cpuloadsensor)"

The entire line should then look like:

<div><#report type="statstable" filter="filter_tags=@tag(cpuloadsensor)" columns="sensor,average,minimum,maximum,device" count="10" avg="3600" sortby="average" showposition="true" clgid="<@clgid>"></div>

May, 2017 - Permalink

Thanks a lot Dariusz, that was the trick!


May, 2017 - Permalink