We recently upgraded LibreNMS on Ubuntu Linux. We noticed high CPU on our Active Directory every 5 minutes or so. A look at perf monitor showed a query scanning the whole directory for the group assigned in LibreNMS it would seem. Why is this happening every 5 minutes even when people are not logged into the system?
We changed our baseDN to limit the searching and CPU issues went away. The trouble is we need a wider baseDN as our groups are not in the same location as our users.
We used to have an older version of LibreNMS installed with the same settings and we didn’t see this issue. Until fixing the upgrade scripts recently and looking into using it again.
==================================== Component | Version --------- | ------- LibreNMS | 1.54 DB Schema | 2019_07_03_132417_create_mpls_saps_table (139) PHP | 7.2.19-0ubuntu0.18.04.1 MySQL | 10.1.40-MariaDB-0ubuntu0.18.04.1 RRDTool | 1.7.0 SNMP | NET-SNMP 5.7.3 ==================================== [OK] Composer Version: 1.9.0 [OK] Dependencies up-to-date. [OK] Database connection successful [OK] Database schema correct