Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Cambium ePMP CPU reporting fix #7182
See https://community.librenms.org/t/cambium-epmp-cpu-usage-not-reporting-correctly/1877 for more details, and the comment below.
This is a very small change; one number changed from 100 to 10, and a division removed.
Removes unnecessary division by 10 from poller file; this is handled by processor_precision in the main include.
Adjusted processor precision divider from 100 to 10 (as sysCPUUsage.0 reports from 0-1000 as 0-100.0%)
DO NOT DELETE THIS TEXT
If you would like to test this pull request then please run:
Originally it was specified as 0-100 - but an implementation bug made it report 0-1000. When the bug was found, it was decided to change the spec rather than fix the implementation, as the additional precision was considered a plus (though not really necessary)