Home Directory Plugins Hardware Storage Systems RAID Controllers LSI Hardware RAID - S.M.A.R.T Monitoring

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com


Remember Me

LSI Hardware RAID - S.M.A.R.T Monitoring

0 votes
Current Version
Compatible With
  • Nagios 3.x
check_lsismartLSI HW SMART CHECK

Help Support Ethan Galstad's New Project:

Help Support Ethan

A Message From The Founder...

As the founder of Nagios, I'm asking for your help in a cause that's dear to my heart.

I'm launching a new project to help better the world by providing the information, ideas, and inspiration that I believe can improve the lives of people everywhere.

I know you're busy managing networks, but I would appreciate it if you would consider liking my Facebook page and showing your support for the content and messages I produce by sharing them with your friends and family.

You can learn more about my project by visiting ethangalstad.me/nagios. Thank you for your time. I wish you all the best in your endeavors, whatever they may be.

- Ethan

Plugin to discover any amount of physical drives attached to any LSI Hardware RAID Controller, query and report back on the S.M.A.R.T health of the attached physical drives.

Relies on smartctl, and storcli.
Check will detect number of drives attached to controller and query them all for overall smart health based off of smartctl's analysis of pre-fail attributes etc.

>> Returns OK if all attached drives return healthy.

>> Returns Warning if storcli could not be found.

>> Returns Critical if one or more drives report unhealthy. And proceeds to pull the device ID# (slot#), drive device name and serial number and prints this info witht he Critical messsage in Nagios Core.

Relies on smartctl (From SmartMonTools) and StorCli (MegaRAID CLI, successor to megacli)

Run check under sudo in command definition, ensure Nagios can run both storcli and smartctl under sudo by editing visudo with the following lines:

Defaults requiretty

Defaults requiretty
Defaults:nagios !requiretty

## Allow root to run any commands anywhere
root ALL=(ALL) ALL

## Allow root to run any commands anywhere
root ALL=(ALL) ALL
nagios ALL=(ALL) NOPASSWD:/usr/sbin/smartctl
nagios ALL=(ALL) NOPASSWD:/opt/MegaRAID/storcli/storcli64

Edit the check file and set the storcli location to wherever your storcli binary is. Same with the visudo additions.