Distributed poller groups keeps changing

Output from ./validate:

===========================================
Component | Version
--------- | -------
LibreNMS  | 24.1.0 (2024-01-07T16:49:52+01:00)
DB Schema | 2023_12_15_105529_access_points_nummonbssid_integer (276)
PHP       | 8.1.27
Python    | 3.9.2
Database  | MariaDB 10.5.21-MariaDB-0+deb11u1
RRDTool   | 1.7.2
SNMP      | 5.9
===========================================

[OK]    Composer Version: 2.6.6
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database Schema is current
[OK]    SQL Server meets minimum requirements
[OK]    lower_case_table_names is enabled
[OK]    MySQL engine is optimal
[OK]    Database and column collations are correct
[OK]    Database schema correct
[OK]    MySQl and PHP time match
[OK]    Distributed Polling setting is enabled globally
[OK]    Connected to rrdcached
[OK]    Active pollers found
[OK]    Dispatcher Service is enabled
[OK]    Locks are functional
[OK]    Python wrapper cron entry is not present
[OK]    Redis is functional
[OK]    rrdtool version ok
[OK]    Connected to rrdcached
[WARN]  Your local git contains modified files, this could prevent automatic updates.
        [FIX]:
        You can fix this with ./scripts/github-remove
        Modified Files:
         bootstrap/cache/.gitignore
         config.php.default
         logs/.gitignore
         rrd/.gitignore
         storage/app/.gitignore
         storage/app/public/.gitignore
         storage/debugbar/.gitignore
         storage/framework/cache/.gitignore
         storage/framework/cache/data/.gitignore
         storage/framework/sessions/.gitignore
         storage/framework/testing/.gitignore
         storage/framework/views/.gitignore
         storage/logs/.gitignore

Hi, i got a question. I had a poller group with the ID 2 in the past and i assigned some devices to it. Later i updated all devices to use poller group 0 (the default poller group). I removed the poller group with the ID 2. But when i check the poller settings, i still see this:

When i change the poller group in the poller settings to the default one it saves the value but every 5 minutes the poller groups gets reset to the group with ID 2 (even though i removed the group).

Does anyone have a clue if there is some kind of script running every 5 minutes that updates the poller settings?
I tried putting this in the config.php:

$config['distributed_poller_group'] = '0';

But it still gets reset to the poller group with ID 2 every 5 minutes.

Thanks in advance!!

Any active poller writes their current settings back into the DB every poll cycle.

Changes made to a pollers configuration are not dynamic.

Stop the poller. Make your settings changes. Start the poller.

That should fix it

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.