I’m looking for a way to gather CPU stats from RouterOS (on a routerboard) to be averaged over time. I’m getting CPU info from “hrProcessorLoad” / “.1.3.6.1.2.1.25.3.3.1.2.1” The description for this in the MIB is:
“The average, over the last minute, of the percentage of time that this processor was not idle. Implementations may approximate this one minute smoothing period if necessary.”
Mikrotik’s implimentation appears to not smooth or average anything out, it’s what the CPU is doing at the time of the poll. When monitoring CPU using SNMP this can cause a lot of false reports if there’s a CPU spike at the time period of the poll.
I do see this thread that is a script to average out the CPU, but it does not interface with SNMP in any way.
Is there any way to solve this from within RouterOS or are there any future plans to have this be averaged, or possibly offer the equivalent of Cisco’s “CPUTotal5Min”?