Home Directory Plugins Hardware Server Hardware Dell ESXI Dell perc HDD/SDD S.M.A.R.T. check

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

ESXI Dell perc HDD/SDD S.M.A.R.T. check

Rating
0 votes
Favoured:
0
Current Version
1
Last Release Date
2022-06-13
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios 4.x
  • Nagios XI
License
GPL
Hits
2555
Files:
FileDescription
check_smart.shcheck_smart.sh
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!
Linux plugin that uses ssh to remotely login on ESXi hosts and check the S.M.A.R.T. on all HDDs/SSDs for this controller
This plugin is not for newbies and non-bash people!!!
Fine tuning for your specific hardware will be needed if you need to have 100% S.M.A.R.T. predictive monitoring.

PLUGIN DEPENDENCIES:
This script will raise a CRITICAL if the DELL PERC controller raised a SMART error for a specific HDD using its own build-in mechanism. However this a reactive method, because the failure already occurred. If you want to predict HDD/SDD failure you need to edit the script and add add your model to the DB of the script manually. You can either use smartctl to read the HDD/SDD important attributes you wish to monitor if their value is different than 0 using smartctl DB for your specific drive models:

https://github.com/mirror/smartmontools/blob/master/drivedb.h


OS DEPENDENCIES:
On the nagios host you should have ssh-client
On the ESXi servers you should have the perccli64 utility installed as described here:

https://www.dell.com/support/kbdoc/en-bg/000177280/how-to-use-the-poweredge-raid-controller-perc-command-line-interface-cli-utility-to-manage-your-raid-controller#bs_VMware

the commands.cfg part is:

# Check esxi SDDs/HDDs SMART status for a specific controller i.e. c0, c1 cN and etc:
define command{
command_name check_esxi_smart
command_line sudo $USER1$/check_smart.sh $HOSTADDRESS$ c0
}