HOWTO Monitor your Software RAID-array

HOWTO Monitor your Software RAID-array

From Consultancy.EdVoncken.NET

Jump to: navigation, search

Contents

[edit] Disk-level monitoring

With SMART monitoring enabled, you will receive advanced notifications of disk failures. Check the configuration in /etc/smartd.conf and /etc/sysconfig/smartmontools, then start the service:

   chkconfig smartd on
   service smartd start

[edit] RAID-level monitoring

Use mdmonitor to monitor your RAID-arrays based on information from /etc/mdadm.conf. Warnings and errors will be emailed to you, so ensure that /etc/mdadm.conf is configured properly. Also, test your email configuration:

   MAILFROM mdadm@host.example.com
   MAILADDR admin@example.com

Start the service:

   chkconfig mdmonitor on
   service mdmonitor start

[edit] Navigation