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

Login

Remember Me

Directory Tree

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

Rating
0 votes
Favoured:
0
Current Version
1.0
Compatible With
  • Nagios 3.x
License
GPL
Hits
19553
Files:
FileDescription
check_lsismartLSI HW SMART CHECK
Nagios CSP

Meet The New Nagios Core Services Platform

Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.

Monitoring Made Magically Better

  • Nagios Core on Overdrive
  • Powerful Monitoring Dashboards
  • Time-Saving Configuration Wizards
  • Open Source Powered Monitoring On Steroids
  • And So Much More!
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:

Change:
Defaults requiretty

To:
Defaults requiretty
Defaults:nagios !requiretty

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

To:
## 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.

-Dave