adubkov / zbx_redis_template

Zabbix template for Redis
129 stars 102 forks source link

redis 2.8 cannot get dbsize data #20

Closed vTNT closed 6 years ago

vTNT commented 6 years ago

env: redis version: 2.8.19

i modify the script, add this line:

def default(): if args.metric in 'dbsize': print(client.dbsize()) if args.metric in server_info.keys():

now it can output dbsize data