Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
LSI Hardware RAID - S.M.A.R.T Monitoring
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!
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
>> 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
Reviews (0)
Be the first to review this listing!