I’m now monitoring 185 devices, 50,000 ports, I’m using the default 16 threads for polling., and my LibreNMS has started struggling, Gaps on graphs and intermittent slow behaviour.
I’ve followed the performance guide here Home - LibreNMS Docs , but unfortunately I haven’t seen any improvements.
Does anyone have some more suggestions? Should i offload mysql to another server?
I can increase the thread count from 16, but all my 8 cores were maxing out already intermittently, i think this is what caused the gaps. I could decrease, do you think this could cause problems?
For now I’ve turned off Sensor polling with $config[‘poller_modules’][‘sensors’] = 0; , and it’s made a world of difference, no gaps anymore, and much faster. Not sure if theres a way i can keep temperature for the core chasis, instead of every port. Also monitoring light loss only for certain ports, not sure if that’s possible?
I would look at max oids as it can help speed things up. If you’ve got a lot of ports then enable per port polling.
As for specific sensors, it’s not possible I’m afraid. However now you’ve disabled the sensors module you should enable it on certain devices if that’s what you need.
That screenshot is odd, I’m assuming you only have one install and that the poller name changes when you re-launch the docker image. If so, delete all the pollers from the pollers table. See what that says after a full poller run, i.e how long it took.