Redis Monitor mode with authentication

494 views Asked by At

Redis monitor cmd is not working with authentication:

Cmd: redis-cli -h <redis_endpoint> -p <port> -n <database> -a <password> monitor

error: (error) ERR wrong number of arguments for 'MONITOR' command

But the same works with Redis without authentication: redis-cli -h <redis_endpoint> -p 6379 monitor

Can someone help with correct redis-cli monitor cmd that works with database and password.

0

There are 0 answers