Last active
          March 22, 2022 17:55 
        
      - 
      
- 
        Save stephen-w-pracy/523028d838e00b232d574d9294522350 to your computer and use it in GitHub Desktop. 
    dd agent redis failure
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | redisdb (4.3.2) | |
| --------------- | |
| Instance ID: redisdb:244ce781d445ea0d [ERROR] | |
| Configuration Source: file:/etc/datadog-agent/conf.d/redisdb.d/conf.yaml | |
| Total Runs: 1 | |
| Metric Samples: Last Run: 0, Total: 0 | |
| Events: Last Run: 0, Total: 0 | |
| Service Checks: Last Run: 1, Total: 1 | |
| Average Execution Time : 23ms | |
| Last Execution Date : 2022-03-22 17:55:00 UTC (1647971700000) | |
| Last Successful Execution Date : Never | |
| Error: Error 111 connecting to localhost:1234. Connection refused. | |
| Traceback (most recent call last): | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 567, in connect | |
| sock = self._connect() | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 625, in _connect | |
| raise err | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 613, in _connect | |
| sock.connect(socket_address) | |
| ConnectionRefusedError: [Errno 111] Connection refused | |
| During handling of the above exception, another exception occurred: | |
| Traceback (most recent call last): | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/base/checks/base.py", line 1033, in run | |
| self.check(instance) | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/redisdb/redisdb.py", line 552, in check | |
| self._check_db() | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/datadog_checks/redisdb/redisdb.py", line 203, in _check_db | |
| info = conn.info() | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/commands/core.py", line 626, in info | |
| return self.execute_command('INFO') | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/client.py", line 1068, in execute_command | |
| conn = self.connection or pool.get_connection(command_name, **options) | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 1173, in get_connection | |
| connection.connect() | |
| File "/opt/datadog-agent/embedded/lib/python3.8/site-packages/redis/connection.py", line 571, in connect | |
| raise ConnectionError(self._error_message(e)) | |
| redis.exceptions.ConnectionError: Error 111 connecting to localhost:1234. Connection refused. | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment