Munin and SMART: monitor hard drives
This is a wiki page. Be bold and improve it!
If you have any questions about the content on this page, don't hesitate to open a new ticket and we'll do our best to assist you.
Table of Contents
Documentation
smart_ plugin
http://munin-monitoring.org/wiki/PluginPortrait/smart_
Overview
See the list of hard drives in your system.
Notice entries like /dev/sda, /dev/sdb etc. Ignore the partitions labelled /dev/sda1, /dev/sda2, etc.
# ls /dev/sd*
Configuration
Check where the munin plugins are storted in your system. Depending on your distribution, the plugins might be found here:
usr/share/munin/plugins/
On Gentoo, they are found here:
/usr/libexec/munin/plugins/
The following will monitor /dev/sda:
# ln -s /usr/share/munin/plugins/smart_ /etc/munin/plugins/smart_sda
// OR, depending on your distribution:
# ln -s /usr/libexec/munin/plugins/smart_ /etc/munin/plugins/smart_sda
Restart the munin-node:
# service munin-node restart
Check that the plugin is properly activated:
$ nc localhost 4949
# munin node at localhost
list
... smart_sda ...
In the commands above, use the appropriate host name, and make sure smart_sda and other drives you might have configured are properly listed in the list of plugins.