Fortinet Document Library

Version:


Table of Contents

User Guide

21.4.0
Copy Link

Redis

The Redis plugin allows you to monitor a number of metrics on your key-value data store. If used effectively, this plugin can help you prevent outages before they happen. For example, you can use this plugin to alert your IT team when Redis’ memory usage becomes dangerously high. If you can not find this plugin in the /usr/lib/panopta-agent/plugins folder, then your version of the Agent is out of date and you should update it to gain access to this feature.

If you haven't yet read the article Add FortiMonitor Agent checks, you should start there.

Agent Configuration

If your Redis instance is secured with password protection, you will need to add the password to the agent config file (/etc/panopta-agent/panopta_agent.cfg). If your Redis instance does not require a password, this section in the config file is not required.

[redis]
password = xxxxx

Control Panel Configuration

To use the Redis plugin, first select “Redis” from the monitoring catalog.

There are a number of metrics to monitor available.

  • Clients: blocked clients

  • Clients: connected clients

  • Data: length of list

  • Memory: used memory

  • Memory: used memory peak

  • Memory: used memory rss

  • Persistence: background save in progress

  • Persistence: changes since last save

  • Replication: connected slaves

  • Replication: role (master=1, slave=0)

  • Server: uptime in seconds

  • Stats: evicted keys

  • Stats: expired keys

  • Stats: keyspace hits

  • Stats: keyspace misses

  • Stats: pub/sub channels

  • Stats: pub/sub patterns

  • Stats: total commands processed

If you would like to inspect the Redis plugin in more detail you can find the python script for it in the /usr/lib/panopta-agent/plugins folder. 

Redis

The Redis plugin allows you to monitor a number of metrics on your key-value data store. If used effectively, this plugin can help you prevent outages before they happen. For example, you can use this plugin to alert your IT team when Redis’ memory usage becomes dangerously high. If you can not find this plugin in the /usr/lib/panopta-agent/plugins folder, then your version of the Agent is out of date and you should update it to gain access to this feature.

If you haven't yet read the article Add FortiMonitor Agent checks, you should start there.

Agent Configuration

If your Redis instance is secured with password protection, you will need to add the password to the agent config file (/etc/panopta-agent/panopta_agent.cfg). If your Redis instance does not require a password, this section in the config file is not required.

[redis]
password = xxxxx

Control Panel Configuration

To use the Redis plugin, first select “Redis” from the monitoring catalog.

There are a number of metrics to monitor available.

  • Clients: blocked clients

  • Clients: connected clients

  • Data: length of list

  • Memory: used memory

  • Memory: used memory peak

  • Memory: used memory rss

  • Persistence: background save in progress

  • Persistence: changes since last save

  • Replication: connected slaves

  • Replication: role (master=1, slave=0)

  • Server: uptime in seconds

  • Stats: evicted keys

  • Stats: expired keys

  • Stats: keyspace hits

  • Stats: keyspace misses

  • Stats: pub/sub channels

  • Stats: pub/sub patterns

  • Stats: total commands processed

If you would like to inspect the Redis plugin in more detail you can find the python script for it in the /usr/lib/panopta-agent/plugins folder.