[blackbird-aerospike] Monitor Aerospike with blackbird

blackbird aerospike plugin

This plugin gets various information about aerospike and sends the data to backend

aerospike1.png

aerospike2.png

Items to be acquired

Basically, get the items that can be taken with ʻasinfo`

The namespace and set information is automatically picked up by Low Level Discovery.

Install

blackbird body

Please install by referring to here

Install aerospike plugin

You can either use setup.py or rpm.

install with setup.py

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

install with rpm

yum install blackbird-aerospike --enablerepo=blackbird

Before using this plugin

citrusleaf.py

This blackbird-aerospike module requires a python module called citrusleaf Although it is citrusleaf, it is included in the package of ʻaerospike-tools, so either install it on the server that starts blackbird, or extract cistrusleaf.pyfrom the package and put it somewhere insys.path`. Please

Eliminate daemon.py

ʻIf you install aerospike-tools, / opt / aerospike / lib / pythonwill be added tosys.path Actually,/opt/aerospike/lib/python/daemon.py is the songwriter, and it conflicts with python-daemonand blackbird does not start (as of Aerospike 3.4.0). So rename/opt/aerospike/lib/python/daemon.py`

This /opt/aerospike/lib/python/daemon.py is imported from ʻasgraphite, so when using ʻasgraphite, please change the import part in ʻasgraphite` to the name after rename.

Set plugin

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

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


[aerospike]
module = aerospike

# Aerospike server setting
#
#ashost = 127.0.0.1
#asport = 3000

# If aerospike cluster is set enable-security true, 
# please set asuser and aspass
#
#asuser = admin
#aspass = admin

Credentials are required if ʻenable-securityistrue` in the cluster settings Please set asuser etc. as appropriate

The default monitoring interval is 60 seconds, but if you want to change it

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


interval = 30

Please specify as

Reboot blackbird when you're done

sudo /etc/init.d/blackbird restart

Check if data is coming in on Zabbix

Zabbix Templates can be found in github repository Please import to Zabbix and apply to the target server

** 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/aerospike.cfg ** Please match with Zabbix

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


hostname = your_static_hostname

Other

Recommended Posts

[blackbird-aerospike] Monitor Aerospike with blackbird
[blackbird-redis] Monitor Redis with blackbird
[blackbird-rabbitmq] Monitor rabbitmq with blackbird
[blackbird-nginx] Monitor Nginx 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
Monitor Tomcat process with Zabbix-agent
Monitor Python web apps with Prometheus
Monitor Python application performance with Dynatrace ♪
Monitor ISC DHCP status with ZABBIX