Memcache alert on validate.php

Hi guys , I will share my validate.php output:

bash-4.2$ ./validate.php
====================================
Component | Version
--------- | -------
LibreNMS  | 21.9.0-13-gf796396
DB Schema | 2021_08_26_093522_config_value_to_medium_text (217)
PHP       | 7.3.29
Python    | 3.6.8
MySQL     | 10.5.11-MariaDB
RRDTool   | 1.4.8
SNMP      | NET-SNMP 5.7.2
====================================

[OK]    Composer Version: 2.1.8
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[INFO]  Detected Python Wrapper
**[FAIL]  We could not get memcached stats, it is possible that we cannot connect to your memcached server, please check**

Why im getting this fail message ?
Im not using distributed poller.
Dont know if I have to be worried about this.
Any idea ?
Leandro.

Hi @Leandro_Roggerone
Do you have anywhere in your LNMS config a line that points to memcached ?

Hello!!! @kalamchi75
At least on my config.php , I dont have any line related to memcached.

$config['user'] = 'librenms';
$config['snmp']['community'] = array('public');
$config['auth_mechanism'] = "mysql"; # default, other options: ldap, http-auth
$config['rrd_purge'] = 0;
$config['enable_billing'] = 1;
$config['show_services'] = 1;
$config['nagios_plugins']   = "/usr/lib64/nagios/plugins";
$config['rrdtool_version'] = '1.4.8';
$config['rrdcached'] = "unix:/run/rrdcached.sock";
$config['enable_syslog'] = 1;

Is it possible to be set on the gui ? (we have multiple admins)
Regards.

I found this on the gui:

Should I disable something here ?
Im afraid to break something.

@Leandro_Roggerone I think it is safe to disable the Distributed Poller option since you don’t use this setup anyway.
That is where the problem you see is coming from, since the config tells it to talk to the memcached service on the local host, which in fact the service does not exist.

Hi @Leandro_Roggerone
Have you tried to disable Distributed Poller in the GUI ? Was the issue resolved ?

yes … after disabling this … the “FAIL” message is gone.
Thanks!!

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