Redis sentinel notification-script error

407 views
Skip to first unread message

Josh Hess

unread,
Mar 7, 2014, 7:26:46 PM3/7/14
to redi...@googlegroups.com
I'm playing with getting sentinel set up and everything is working fine except "notification-script" and "client-reconfig-script"

My config looks like this..

sentinel monitor bowser X.X.X.X 6381 2
sentinel down-after-milliseconds bowser 3000
sentinel failover-timeout bowser 5000
sentinel notification-script bowser /tmp/scripts/notify.bash
#sentinel failover bowser yes
sentinel client-reconfig-script bowser /tmp/scripts/notify2.bash
sentinel config-epoch bowser 2
port 26379


and everytime notification-script or client-reconfig-script is triggered I get a "-script-error /tmp/scripts/notify.bash 0 2" error.

The scripts are set 555 at the moment and will fire when run manually, just not when redis-sentinel tries to execute them,

Any ideas?

Thanks,
jh
Reply all
Reply to author
Forward
0 new messages