albin-lindstrom / zabbix-edgemax-template

Zabbix template for Ubiquiti EdgeMAX devices, monitored with SNMPv2.
MIT License
26 stars 11 forks source link

Constant "problem" reported about CPU load #11

Closed TurkeyMan closed 11 months ago

TurkeyMan commented 1 year ago

After hacking the template, I made it work. I added my router; an ER-8-XG, and it keeps reporting a "PROBLEM": Load average is too high (per CPU load over 1.5 for 1m) The router hovers between 1-4% total CPU load. My guess is it's complaining when any core exceeds 1.5% CPU load, which happens all the time. Is this intended? Why is the template setup to complain about 1.5% CPU usage? Perhaps I misinterpreted the error?

albinbatman commented 1 year ago

Hi again,

No, it is complaining because the 1-minute load average is above the macro value LOAD_AVG_PER_CPU.MAX.WARN. I'd suggest looking at the value you are currently retrieving from the device whilst it is doing a high workload, then adjust the macro value LOAD_AVG_PER_CPU.MAX.WARN accordingly (or calculate it a bit loosely with this formula)