From db100c4671c9576710c762f3fa36ab58757236a6 Mon Sep 17 00:00:00 2001 From: antirez Date: Wed, 26 Sep 2012 18:59:54 +0200 Subject: Sentinel: Support for AUTH. --- sentinel.conf | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'sentinel.conf') 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 +# +# 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 -- cgit v1.2.1