I have deployed the distributed poller according to the guide on Scaling LibreNMS - LibreNMS Docs. The NODE_ID=668a6daa0d530is the main poller, and the
config.php` is as follows:
$config[‘distributed_poller’] = true;
$config[‘distributed_poller_name’] = ‘my20411’;
$config[‘distributed_poller_group’] = ‘0’;
$config[‘service_watchdog_enabled’] = true;
NODE_ID=6720a63ec8d99
is the second poller, and the config.php
is as follows:
$config[‘distributed_poller’] = true;
$config[‘distributed_poller_name’] = ‘my234’;
$config[‘distributed_poller_group’] = ‘2’;
The output of lnms
shows group 2, but the web interface always displays group 0. It seems there is some configuration issue. Both ./validate.php
outputs are OK, and the poller display is as follows.
My questions:
-
Will the poller group specified in
$config['distributed_poller_group'] = '2';
automatically appear in the web ui poller->groups? -
if no,so I created a new poller group in
poller-groups
and assigned the second poller, but after a while, the poller goes back to group 0 (General). Why is this happening? -
Is my distributed poller configuration correct? How can I verify it?
thanks