diff options
author | antirez <antirez@gmail.com> | 2012-09-26 18:59:54 +0200 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2012-09-26 18:59:54 +0200 |
commit | db100c4671c9576710c762f3fa36ab58757236a6 (patch) | |
tree | ed7dd3996d97b67290ec48833c466d78bdc94ca1 /sentinel.conf | |
parent | 0ee3f05518e081640c1c6f9ae52c3a414f0feace (diff) | |
download | redis-db100c4671c9576710c762f3fa36ab58757236a6.tar.gz |
Sentinel: Support for AUTH.
Diffstat (limited to 'sentinel.conf')
-rw-r--r-- | sentinel.conf | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/sentinel.conf b/sentinel.conf index 34d185c4b..94169ee8f 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 <master-name> <password> +# +# 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 <master-name> <milliseconds> # # Number of milliseconds the master (or any attached slave or sentinel) should |