Updated on 2024-01-17 GMT+08:00

Redis Collector (app-discovery-redis)

This collector connects to a Redis node to obtain it IP address, version, and IP addresses of connected clients. For details about the configuration parameters, see Table 1.

Table 1 Parameters for configuring the Redis collector

Parameter

Mandatory

Configuration

output_path

No

Enter the storage path of the collection result file (app-discovery-redis-xxx.csv). If this parameter is left blank, the storage path defaults to <Collector installation path>\output\file.

Example: C:\Edge\tools\plugins\collectors\app-discovery-collectors\python\mgc-app-discovery-collectors\app-discovery-redis\output\file\app-discovery-redis-xxx.csv

password

No

If auth is set to 1, set this parameter to the Redis node login password.

mode

Yes

Specify the Redis deployment mode.

  • 0: single-node
  • 1: cluster

auth

Yes

Specify the Redis authentication method.

  • 0: indicates no authentication is required.
  • 1: indicates password authentication.

port

Yes

Enter the Redis port.

host

Yes

Enter the IP address of the Redis node.