Distributed polling - Understanding

Hi all,

i am trying to enable distributed polling on existing system based on this toppic: [Preformatted text](https://community.librenms.org/t/creating-distributed-poller-setup-from-multiple-librenms-servers/18847/3)

I now yet finished but after step 3-4 my libre nms stopped working and i received this errors in logs:

Could not connect to database! SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: SELECT `device_id` FROM `ipv4_addresses` AS A, `ports` AS I WHERE A.ipv4_address = ubuntu AND I.port_id = A.port_id) (Connection: dbFacile, SQL: SELECT `device_id` FROM `ipv4_addresses` AS A, `ports` AS I WHERE A.ipv4_address = ubuntu AND I.port_id = A.port_id)#0 /opt/librenms/includes/syslog.php(21): dbFetchCell()
#1 /opt/librenms/includes/syslog.php(60): get_cache()
#2 /opt/librenms/syslog.php(18): process_syslog()
#3 {main}
Could not connect to database! SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: SELECT `device_id` FROM devices WHERE `hostname` = ubuntu OR `sysName` = ubuntu) (Connection: dbFacile, SQL: SELECT `device_id` FROM devices WHERE `hostname` = ubuntu OR `sysName` = ubuntu)#0 /opt/librenms/includes/syslog.php(15): dbFetchCell()
#1 /opt/librenms/includes/syslog.php(60): get_cache()
#2 /opt/librenms/syslog.php(18): process_syslog()
#3 {main}
Could not connect to database! SQLSTATE[HY000] [2002] No such file or directory (Connection: mysql, SQL: SELECT `device_id` FROM `ipv4_addresses` AS A, `ports` AS I WHERE A.ipv4_address = ubuntu AND I.port_id = A.port_id) (Connection: dbFacile, SQL: SELECT `device_id` FROM `ipv4_addresses` AS A, `ports` AS I WHERE A.ipv4_address = ubuntu AND I.port_id = A.port_id)#0 /opt/librenms/includes/syslog.php(21): dbFetchCell()
#1 /opt/librenms/includes/syslog.php(60): get_cache()
#2 /opt/librenms/syslog.php(18): process_syslog()

I want to understand that if the external poller server isnt set then the whole libre wont work?

Thanx for answer.

Dave

That sounds a bit strange. Is mysql/maria still running?

What does ./validate.php say?

I believe the offical distributed poller documentation is at Scaling LibreNMS - LibreNMS Docs

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