Redis plugin doesnt seem to work

Error in service discovery UNKN - Item not found in agent output . Checkmk raw version 1.6.0.9. When i check the output it shows <<<redis_info:xxx(xx)>>>[[[x.x.x.x;xxxx|x.x.x.x|xxxx]]] NOAUTH Authentication required

Did you configure a password in /etc/check_mk/mk_redis.cfg? The agent plugin mk_redis has a comment at the top that says

# example cfg file /etc/check_mk/mk_redis.cfg
#
# REDIS_INSTANCES=(My_First_Redis My_Second_Redis)
#
# REDIS_HOST_My_First_Redis="127.0.0.1"
# REDIS_PORT_My_First_Redis="6380"
# REDIS_PASSWORD_My_First_Redis='MYPASSWORD'
#
# REDIS_HOST_My_Second_Redis="127.0.0.1"
# REDIS_PORT_My_Second_Redis="6379"

yes i tried the cfg file

export MK_CONFDIR=/etc/check_mk/ in the plugin worked

This is only neccessary if the plugin is called manually. If it is called by the check_mk_agent, the variable is already set, isn’t it?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.