Redis Integration

Redis Integration for Watchlog

The Redis integration allows you to monitor your Redis server for key metrics such as memory usage, connected clients, commands processed, and more. Ensure optimal performance and stability for your Redis instances by enabling this integration.

Step 1: Install the Watchlog Agent

If you haven't already installed the Watchlog Agent, download and install it on your server. Refer to the installation guide for detailed instructions.

Step 2: Configure Redis in integration.json

Locate the integration.json file and enable Redis integration by adding or updating the following configuration:

  {
      "service": "redis",
      "monitor": true,
      "host": "127.0.0.1",
      "port": "6379",
      "password": ""
  }
                

On an Ubuntu Agent, this file is typically located at /opt/watchlog-agent/integration.json.

For the Source Agent, it is found in the Watchlog Agent directory.

Step 3: Restart Watchlog Agent

Restart the Watchlog Agent to apply the changes:

For Ubuntu Agent:

  sudo systemctl stop watchlog-agent
  sudo systemctl start watchlog-agent
                

For Source Agent:

  pm2 reload watchlog-agent
                

Step 4: Verify Integration

Log in to the Watchlog panel and navigate to the Redis integration section. Verify that metrics from your Redis server are displayed correctly.