...
First find the name of the normalised metric from used by the relevant TopN component, as abivedescribed above. If this is a new TopN then select a new name for the new TopN metric type to be used in the component defintion and in Common-stats.nmis.
The document we saw in the previous section was fro cpuLoaduses the topn_key "cpuLoad". Some examples from Common-stats.nmis of how the topn_key "cpuLoad" is calculated for different Models with propriertary cpu different CPU statistics are shown here:
Net-SNMP (hr resources MIB)
...
'CDEF:avgBusy5= 300,idleSecs,-,300/,100,*',
'PRINT:avgBusy5:AVERAGE:cpuLoad=%1.2lf',
Note in the above that the topn_key is the last part of the PRINT statement so the label that is printed.
Info | ||
---|---|---|
| ||
CPU "cpuLoad", |
...