blackbird aerospike plugin
This plugin gets various information about aerospike and sends the data to backend
Basically, get the items that can be taken with ʻasinfo`
asinfo -v latency
asinfo -v namespace/<ns>
asinfo -v sets/<set>
asinfo -v get-config
The namespace and set information is automatically picked up by Low Level Discovery.
Install
Please install by referring to here
Install aerospike plugin
You can either use setup.py or rpm.
git clone https://github.com/Vagrants/blackbird-aerospike.git
cd blackbird-aerospike
python setup.py install
yum install blackbird-aerospike --enablerepo=blackbird
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 in
sys.path`. Please
ʻIf you install aerospike-tools,
/ opt / aerospike / lib / pythonwill be added to
sys.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.
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-securityis
true` 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
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
Recommended Posts