cuimingkun / zbx_tem_redis

33 stars 34 forks source link

redis.repl.discovery - add auth, fix role comparison #13

Open random-user-879612354 opened 4 years ago

random-user-879612354 commented 4 years ago

add: "echo auth $2" to telnet fix: "[ $role = slave ]" (zabbix use sh instead of bash, here should be single "equal")