I have a couple of LibreNMS servers running in a distributed poller setup.
Everything is working fine, but I have noticed that validate.php gives an error on memcached connection.
As per the instructions here: Scaling LibreNMS - LibreNMS Docs I understand that I am free to choose my locking mechanism for the distributed poller.
I have chosen Redis and therefore I do not have memcached installed.
My .env file looks like this
DB_HOST=10.10.10.10 DB_DATABASE=librenms DB_USERNAME=librenms DB_PASSWORD=mypassword REDIS_HOST=10.10.10.10 REDIS_PORT=6379 REDIS_PASSWORD=mypassword REDIS_DB=0 REDIS_TIMEOUT=60 CACHE_DRIVER=redis
Output from validate.php is
=========================================== Component | Version --------- | ------- LibreNMS | 23.2.0-3-gc0fd1e15e (2023-02-24T13:10:10+01:00) DB Schema | 2022_09_03_091314_update_ports_adsl_table_with_defaults (248) PHP | 8.2.3 Python | 3.9.14 Database | MariaDB 10.5.16-MariaDB RRDTool | 1.7.2 SNMP | 5.9.1 =========================================== [OK] Composer Version: 2.5.4 [OK] Dependencies up-to-date. [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 [OK] MySQl and PHP time match [OK] Distributed Polling setting is enabled globally [FAIL] Could not connect to memcached server [OK] Connected to rrdcached [OK] Active pollers found [OK] Dispatcher Service not detected [OK] Locks are functional [OK] Python poller wrapper is polling [OK] Redis is functional [OK] rrdtool version ok [OK] Connected to rrdcached
Seeing that I use Redis and not Memcached, I believe the output from validate.php is incorrect (it is incorrectly checking for memcached). I also believe this is a cosmetic issue only, as everything works fine.
Can someone confirm this?
Maybe it’s a small bug that can be fixed?