[PYTHON] [blackbird-fio-status] Monitor ioDrive (Fusion-IO) with blackbird

blackbird fio-status plugin

This plugin gets various information about ioDrive (Fusion-IO) and sends the data to the backend.

fio1.png

fio2.png

fio3.png

Items to be acquired

Basically, get the items that can be taken with fio-status

The device name is automatically picked up by Low Level Discovery

Install

blackbird body

Please install by referring to here

Install fio-status plugin

You can either use setup.py or rpm.

install with setup.py

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

install with rpm

yum install blackbird-fio-status --enablerepo=blackbird

You need root privileges to run fio-status

If you want to use this blackbird-fio-status, you need to be able to execute fio-status by one of the following methods.

Grant sudo privileges to the blackbird execution user

Internally it is running sudo fio-status, so give sudoers permission to the blackbird running user (default is bbd)

/etc/sudoers.d/bbd


Defaults:bbd !requiretty
bbd ALL=(ALL) NOPASSWD: /usr/bin/fio-status

Run blackbird as root

Make it run with root privileges in the settings of blackbird itself

/etc/blackbird/defaults.cfg


[global]
user = root
group = root

Set plugin

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

ini:/etc/blackbird/conf.d/fio-status.cfg


[fio-status]
module = fio_status

# fio-status location. default is '/usr/bin/fio-status'
#
#path = /usr/bin/fio-status

If the path of fio-status is different, please change it.

The default monitoring interval is 60 seconds (discovery is 600 seconds), but if you want to change it,

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


interval = 30
lld_interval = 300

Please specify as

Reboot blackbird when you're done

sudo /etc/init.d/blackbird restart

Check if data is coming in on Zabbix

Zabbix Template can be found in github repository Please import to Zabbix and apply to the target server This Tempalte is mostly an LLD item, so it may take some time before it actually appears in the data.

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

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


hostname = your_static_hostname

Recommended Posts

[blackbird-fio-status] Monitor ioDrive (Fusion-IO) with blackbird
[blackbird-redis] Monitor Redis 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-named] Monitor Bind (named) with blackbird
[blackbird-ntp] Monitor ntpq information (offset, jitter, etc.) with blackbird
Monitor Tomcat process with Zabbix-agent