Ad Widget

Collapse

Problem monitoring password-protected redis with zabbix_agent2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ommarmol
    Junior Member
    • Jun 2020
    • 1

    #1

    Problem monitoring password-protected redis with zabbix_agent2

    Hi to all!

    I've installed the newest version of zabbix_agent2 on ubuntu 20.04 for monitoring a redis server. The zabbix server runs version 5.0.

    The redis metrics are collected automatically and shown in the charts of the webui if the redis server is unprotected, but once protected with a password, metrics are not collected anymore.

    I've set up the config file /etc/zabbix/zabbix_agent2.d/redis.conf with this parameter:
    Plugins.Redis.Sessions.Redis1.Password=mysecret
    It works as I get metrics from the agent2 by running this command on the zabbix server:
    zabbix_get -s 192.168.1.150 -k redis.info[Redis1]
    However, the zabbix server doesn't collect the metrics by itself and the charts are not filled in the webui.

    How can I collect from the server the metrics of a password-protected redis?

    Thanks to all in advance.


    ommarmol
Working...