[X] ... the documentation does not mention anything about my problem
[X] ... there are no open or closed issues that are related to my problem
Description
We are trying libreNMS with our external MySQL Server and external Redis. When we start docker compose the dispatcher is unable to connect to the redis server provided in librenms.env.
When we log into the dispatcher container we can telnet to Redis without issues.
docker exec -it 384455bcb163 su librenms -c ./validate.php
===========================================
Component | Version
--------- | -------
LibreNMS | 23.11.0 (2023-11-25T20:17:34+01:00)
DB Schema | 2021_02_09_122930_migrate_to_utf8mb4 (273)
PHP | 8.1.22
Python | 3.10.13
Database | MariaDB 10.6.12-MariaDB-0ubuntu0.22.04.1-log
RRDTool | 1.7.2
SNMP | 5.9.3
===========================================
[OK] Installed from the official Docker image; no Composer required
[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
[FAIL] Time between this server and the mysql database is off
Mysql time 2024-01-07 18:36:28
PHP time 2024-01-07 19:36:28
[OK] Active pollers found
[OK] Dispatcher Service is enabled
[OK] Locks are functional
[OK] No python wrapper pollers found
[OK] Redis is functional
[WARN] IPv6 is disabled on your server, you will not be able to add IPv6 devices.
[OK] rrd_dir is writable
[OK] rrdtool version ok
[WARN] Updates are managed through the official Docker image
librenms_dispatcher | Poller_0-17(CRITICAL):Failed to get item librenms.queue:poller:0 from queue because of a redis timeout/connection error: ConnectionError('Error 111 connecting to 10.0.50.11:6379. Connection refused.')
librenms_dispatcher | Poller_0-19(CRITICAL):Failed to get item librenms.queue:poller:0 from queue because of a redis timeout/connection error: ConnectionError('Error 111 connecting to 10.0.50.11:6379. Connection refused.')
l
Support guidelines
I've found a bug and checked that ...
Description
We are trying libreNMS with our external MySQL Server and external Redis. When we start docker compose the dispatcher is unable to connect to the redis server provided in librenms.env.
When we log into the dispatcher container we can telnet to Redis without issues.
cat librenms.env
Expected behaviour
Dispatcher should work
Actual behaviour
Dispatched doesn't work
Steps to reproduce
Docker info
Docker Compose config
Logs
dispatcher logfile: