Change to dispatcher service -> has not reported stats within the last poller window

Hi !

After change to dispatcher service all work but after a time get this error → polling work and also all graphs are up to date but the one poller would be red on the webinterface:

the other poller is directly on the machine on which redis run → and this poller is always green


Component | Version
--------- | -------
LibreNMS  | 22.1.0-77-g681c994ca
DB Schema | 2021_12_02_113537_ports_stp_designated_cost_change_to_int (234)
PHP       | 7.4.27
Python    | 3.8.12
MySQL     | 5.7.36
RRDTool   | 1.7.2
SNMP      | 5.9

[OK]    Composer Version: 2.2.8
[OK]    Dependencies up-to-date.
[OK]    Database connection successful
[OK]    Database schema correct
[INFO]  Detected Dispatcher Service
[FAIL]  Dispatcher service has not reported stats within the last poller window

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/", line 932, in _bootstrap_inner
  File "/usr/local/lib/python3.8/", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/usr/opt/librenms/LibreNMS/", line 310, in _loop
  File "/usr/opt/librenms/LibreNMS/", line 844, in log_performance_stats
  File "/usr/opt/librenms/LibreNMS/", line 845, in <listcomp>
  File "/usr/opt/librenms/LibreNMS/", line 519, in qsize
    return self._redis.zcount(self.key, "-inf", "+inf")
  File "/usr/local/lib/python3.8/site-packages/redis/", line 2699, in zcount
    return self.execute_command('ZCOUNT', name, min, max)
  File "/usr/local/lib/python3.8/site-packages/redis/", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/usr/local/lib/python3.8/site-packages/redis/", line 915, in parse_response
    response = connection.read_response()
  File "/usr/local/lib/python3.8/site-packages/redis/", line 739, in read_response
    response = self._parser.read_response()
  File "/usr/local/lib/python3.8/site-packages/redis/", line 324, in read_response
    raw = self._buffer.readline()
  File "/usr/local/lib/python3.8/site-packages/redis/", line 256, in readline
  File "/usr/local/lib/python3.8/site-packages/redis/", line 212, in _read_from_socket
    raise TimeoutError("Timeout reading from socket")
redis.exceptions.TimeoutError: Timeout reading from socket

Thanks !

It couldn’t connect to redis… did your redis server stop?

Actually, it is specifically failing on zcount… make sure your redis meets the minimum requirements.

no the redis server not stop !
i have also installed this packages:
py38-python-dotenv py38-psutil py38-redis py38-pymysql

the version of the redis server is redis_version:5.0.14

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