I am trying to set up sentinel using two redis nodes. Please find inline the conf file.
port 16371
dir "C:\Program Files\Redis\16371\"
loglevel notice
logfile "C:\Program Files\Redis\logs\16371.log"
sentinel monitor ExampleMaster 127.0.0.1 6371 1
sentinel down-after-milliseconds ExampleMaster 3000
sentinel failover-timeout ExampleMaster 6000
When I am trying to run server with this configuration I am getting following error:
* FATAL CONFIG FILE ERROR * Reading the configuration file, at line 5
'sentinel monitor ExampleMaster 127.0.0.1 6371 1'
Bad directive or wrong number of arguments
Can someone help me to fix this. TIA :)