Depending on your Redis setup, use the appropriate connection method:
Single Redis Server
Use --redis-url or a combination of --redis-addr, --redis-db, and --redis-password.
./asynqmon --redis-url=redis://:mypassword@localhost:6380/2
./asynqmon --redis-addr=localhost:6380 --redis-db=2 --redis-password=mypassword
Redis Sentinels
Use --redis-url with the redis-sentinel:// scheme.
./asynqmon --redis-url=redis-sentinel://:mypassword@localhost:5000,localhost:5001,localhost:5002?master=mymaster
Redis Cluster
Use --redis-cluster-nodes with a comma-separated list of host:port addresses.
./asynqmon --redis-cluster-nodes=localhost:7000,localhost:7001,localhost:7002,localhost:7003,localhost:7004,localhost:7006
# Single Redis
./asynqmon --redis-url=redis://:mypassword@localhost:6380/2
# Redis Sentinels
./asynqmon --redis-url=redis-sentinel://:mypassword@localhost:5000,localhost:5001,localhost:5002?master=mymaster
# Redis Cluster
./asynqmon --redis-cluster-nodes=localhost:7000,localhost:7001,localhost:7002,localhost:7003,localhost:7004,localhost:7006