blackbird fio-status plugin
This plugin gets various information about ioDrive (Fusion-IO) and sends the data to the backend.
Basically, get the items that can be taken with fio-status
The device name is automatically picked up by Low Level Discovery
Install
Please install by referring to here
Install fio-status plugin
You can either use setup.py or rpm.
git clone https://github.com/Vagrants/blackbird-fio-status.git
cd blackbird-fio-status
python setup.py install
yum install blackbird-fio-status --enablerepo=blackbird
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.
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
Make it run with root privileges in the settings of blackbird itself
/etc/blackbird/defaults.cfg
[global]
user = root
group = root
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
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