X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/b8ce9a84c57eba13a157d7c1074254b5ce6bebd3..dfb7194cba92a7e9f86e24aacaabcd756aac5b12:/sentinel.conf diff --git a/sentinel.conf b/sentinel.conf index 34d185c4..94169ee8 100644 --- a/sentinel.conf +++ b/sentinel.conf @@ -13,6 +13,25 @@ port 26379 # The valid charset is A-z 0-9 and the three characters ".-_". sentinel monitor mymaster 127.0.0.1 6379 2 +# sentinel auth-pass +# +# Set the password to use to authenticate with the master and slaves. +# Useful if there is a password set in the Redis instances to monitor. +# +# Note that the master password is also used for slaves, so it is not +# possible to set a different password in masters and slaves instances +# if you want to be able to monitor these instances with Sentinel. +# +# However you can have Redis instances without the authentication enabled +# mixed with Redis instances requiring the authentication (as long as the +# password set is the same for all the instances requiring the password) as +# the AUTH command will have no effect in Redis instances with authentication +# switched off. +# +# Example: +# +# sentinel auth-pass mymaster MySUPER--secret-0123passw0rd + # sentinel down-after-milliseconds # # Number of milliseconds the master (or any attached slave or sentinel) should