Simple plugin for displaying useful info about installed nvme drives.
- Python 3.6
- nvme-cli
One-liner: downloads the plugin file directly to the plugins directory and changes the config file:
curl -s https://raw.githubusercontent.com/ingria/munin-nvme/master/munin_nvme.py -o /etc/munin/plugins/nvme && chmod +x /etc/munin/plugins/nvme && sed -i '1s/^/[nvme]\nuser root\n\n/' /etc/munin/plugin-conf.d/munin-node
- Alternative (and more correct) way is to clone this repo and then link
munin_nvme.py
to munin plugins directory:
ln -s /path/to/your/munin_nvme.py /etc/munin/plugins/nvme
chmod +x /etc/munin/plugins/nvme
- Add these lines to
/etc/munin/plugin-conf.d/munin-node
:
[nvme]
user root
- Test the output: the following shell command should not return errors:
munin-run nvme
- Restart munin-node. For Ubuntu:
service munin-node restart
.
The MIT License (MIT). Please see License File for more information.