[blackbird-redis] Monitor Redis with blackbird

blackbird Redis plugin

This plugin gets various information from Redis and sends the data to the backend Currently, you can monitor the following information:

Operation check is done with 2.6.x and 2.8.x

Install

blackbird body

Please install by referring to here

Install Redis plugin

You can either use setup.py or rpm.

install with setup.py

git clone https://github.com/Vagrants/blackbird-redis.git
cd blackbird-redis
python setup.py install

install with rpm

yum install blackbird-redis --enablerepo=blackbird

Set plugin

config is in /etc/blackbird/conf.d/redis.cfg

ini:/etc/blackbird/conf.d/redis.cfg


[redis]
module = redis

# if you set 'requirepass' in redis.conf, please set auth.
#
#auth = password

# for response time check
# if you do not want to check, please comment out.
response_check_key = __zabbix_check

# default values
#
#host = 127.0.0.1
#port = 6379
#db = 0

If you have set requirepass in redis.conf, set ʻauth = password response_check_key is the name of the key for GET/SET` when measuring response time.

Reboot blackbird when you're done

sudo /etc/init.d/blackbird restart

Check if data is coming in on Zabbix

Zabbix Template is exported from Zabbix 2.2 in github repository Please import to Zabbix and apply to the target server

However, there is a problem that this Template, ** Trigger dependency error cannot be imported if it is 2.4 series ** I can import by removing the checkbox in the Trigger part when importing ...

** If the host name on Zabbix and the host name of the server on which blackbird is running are different, you need to set the hostname on /etc/blackbird/conf.d/redis.cfg ** Please match with Zabbix

ini:/etc/blackbird/conf.d/redis.cfg


hostname = your_static_hostname

You can also change the monitoring interval (60 seconds by default, 600 seconds for LLD).

ini:/etc/blackbird/conf.d/redis.cfg


interval = 30
lld_interval = 300

About Response Time

This plugin measures the response time of GET / SET and collects data as Performance --Get response time and Performance --Set response time on Zabbix. ** This response time, but not pure response time ** In fact, it also includes time to do various things internally with python. Therefore, please consider it as ** reference level **. (Maybe I will make it seriously in the future)

About LLD

LLD discovers ʻINFO` Keyspace information

# Keyspace
db0:keys=123,expires=0,avg_ttl=9
db1:keys=2345,expires=456,avg_ttl=99
db2:keys=34567,expires=789,avg_ttl=999
...

Other

Recommended Posts

[blackbird-redis] Monitor Redis with blackbird
[blackbird-rabbitmq] Monitor rabbitmq with blackbird
[blackbird-nginx] Monitor Nginx with blackbird
[blackbird-aerospike] Monitor Aerospike with blackbird
[blackbird-xfs] Monitor xfs with blackbird
[blackbird-mysql] Monitor mysql with blackbird
[blackbird-memcached] Monitor Memcached with blackbird
[blackbird-fio-status] Monitor ioDrive (Fusion-IO) with blackbird
[blackbird-named] Monitor Bind (named) with blackbird
[blackbird-ntp] Monitor ntpq information (offset, jitter, etc.) with blackbird
Use SSL with Celery + Redis
Monitor Tomcat process with Zabbix-agent
Handle Base91 keys with python + redis.
Monitor Python web apps with Prometheus
Monitor Python application performance with Dynatrace ♪
Monitor ISC DHCP status with ZABBIX