I’ve gotten all of my pollers up and in groups. I have 2 in group 0 and 1 in group 1 ( trying to avoid using this one). Everything is working but I’ve noticed that all the 20 or so devices in group 1 poll from one poller? Does anyone know the load balancing algorithm or is this by design?
is there something in Cron I missed to associate them to the right poller group? The documentation wasn’t very clear.
also adding GRANT ALL PRIVILEGES ON librenms.* TO ‘librenms’@‘x.x.x.x.’ IDENTIFIED BY ‘YOURLIBREPASSWORD’ WITH GRANT OPTION; to a connect the MYSQL server for the pollers. This is nowhere in the libre documentation on the website. It would be nice if it was there.
Validate.php from main server running Web, DB, memcached.
./validate.php
Component | Version |
---|---|
LibreNMS | 1.63-31-g17a8046 |
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (164) |
PHP | 7.2.27 |
MySQL | 5.5.65-MariaDB |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.5
[OK] Dependencies up-to-date.
[OK] Database connection successful
[OK] Database schema correct
Poller 1
./validate.php -g distributedpoller
Component | Version |
---|---|
LibreNMS | 1.63-19-g1108f7d |
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (164) |
PHP | 7.2.27 |
MySQL | 5.5.65-MariaDB |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.5
[OK] Dependencies up-to-date.
Checking distributedpoller: OK
[OK] Connection to memcached is ok
Poller 2
./validate.php -g distributedpoller
Component | Version |
---|---|
LibreNMS | 1.63-23-g7f8b660 |
DB Schema | 2020_04_19_010532_eventlog_sensor_reference_cleanup (164) |
PHP | 7.2.27 |
MySQL | 5.5.65-MariaDB |
RRDTool | 1.7.0 |
SNMP | NET-SNMP 5.7.2 |
====================================
[OK] Composer Version: 1.10.5
[OK] Dependencies up-to-date.
Checking distributedpoller: OK
[OK] Connection to memcached is ok
Couple things to note, I looked at the server running Memcached and did a netstat -an and couldn’t find any connections but everything seems to be working just fine.
Thanks to all the help!