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

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
10320
Files:
FileDescription
check_lsismartLSI HW SMART CHECK
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
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