Skip to content

NVMe plugin for munin

License

Notifications You must be signed in to change notification settings

ingria/munin-nvme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

NVMe plugin for Munin

Simple plugin for displaying useful info about installed nvme drives.

Example graph

Requirements

Installation

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

Step-by-step

  1. 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
  1. Add these lines to /etc/munin/plugin-conf.d/munin-node:
[nvme]
user root
  1. Test the output: the following shell command should not return errors:
munin-run nvme
  1. Restart munin-node. For Ubuntu: service munin-node restart.

License

The MIT License (MIT). Please see License File for more information.