Hello I also put this on Reddit in case anyone is watching that.
Trying my best to get this going. Videos are old, documentation is old. Seems like I am playing a game of whack a mole.
First on the secondary poller I was getting rrdcached errors:
RRD[last 192.168.100.5/port-id44.rrd --daemon unix:/var/run/rrdcached.sock]
RRDtool Output: 1645212968
ERROR: Unable to connect to rrdcached: No such file or directory
FAIL] /var/run/rrdcached.sock doesn’t appear to exist, rrdcached test failed
So I edited the config.php file on the secondary poller to point it to primary DB/Poller $config[‘rrdcached’] = “192.168.100.204:42217”;
This made the polling errors go away however now when I do a ./validate.php -g distributedpoller on the secondary poller it says this
[email protected]:~$ ./validate.php -g distributedpoller
====================================
Component | Version
--------- | -------
LibreNMS | 22.2.1-6-g703745d0e
DB Schema | 2022_02_03_164059_increase_auth_id_length (235)
PHP | 7.4.3
Python | 3.8.10
MySQL | 10.3.32-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
====================================
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
Checking distributedpoller: FAIL
[INFO] Detected Dispatcher Service
[FAIL] Dispatcher service is enabled on your cluster, but not in use on this node
AND my graphs are not updating for any device being polled by the secondary poller.
The primary poller I also edited the config.php with the line $config[‘rrdcached’] = “192.168.100.204:42217”;
because you cannot update it under Pollers in the GUI as it is greyed out. The video I watched showed it being manually updated in the GUI but that isn’t an option any longer it appears. Also in that video it said the secondary poller would read the config off the main poller for rrdcached and be good to go however it does not as I get the RRD errors previously mentioned.
I am on the cusp here but again is seems like whack a mole. Been working on this for days. Please help!
Primary Poller/DB
[email protected]:~$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 22.2.1-6-g703745d0e
DB Schema | 2022_02_03_164059_increase_auth_id_length (235)
PHP | 7.4.3
Python | 3.8.10
MySQL | 10.3.32-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
====================================
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Dispatcher Service has been used in your cluster, but not recently. It may take up to 5 minutes to register.
[INFO] Detected Python Wrapper
[OK] Connection to memcached is ok
Secondary Poller
[email protected]:~$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS | 22.2.1-6-g703745d0e
DB Schema | 2022_02_03_164059_increase_auth_id_length (235)
PHP | 7.4.3
Python | 3.8.10
MySQL | 10.3.32-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
====================================
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
[WARN] Dispatcher Service has been used in your cluster, but not recently. It may take up to 5 minutes to register.
[INFO] Detected Python Wrapper
[OK] Connection to memcached is ok
Secondary Poller
[email protected]:~$ ./validate.php -g distributedpoller
====================================
Component | Version
--------- | -------
LibreNMS | 22.2.1-6-g703745d0e
DB Schema | 2022_02_03_164059_increase_auth_id_length (235)
PHP | 7.4.3
Python | 3.8.10
MySQL | 10.3.32-MariaDB-0ubuntu0.20.04.1
RRDTool | 1.7.2
SNMP | 5.8
====================================
[OK] Composer Version: 2.2.6
[OK] Dependencies up-to-date.
Checking distributedpoller: FAIL
[INFO] Detected Dispatcher Service
[FAIL] Dispatcher service is enabled on your cluster, but not in use on this node
THANK YOU!