Home Directory Plugins Operating Systems Linux Check HDD with HDSentinel

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

Check HDD with HDSentinel

Current Version
1.0
Last Release Date
2012-12-31
Owner
License
GPL
Hits
52387
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!
Check you HDD status with HDSentinel.

HDSentinel is an alternative way to assess your HDDs raw SMART data.
Here is HDSentinel's free Linux version: http://www.hdsentinel.com/hard_disk_sentinel_linux.php

You should download and put that into /usr/local/bin/HDSentinel.

You should also allow the nagios user to sudo HDSentinel, e.g. with this line in sudoers:
nagios ALL=(root) NOPASSWD:/usr/local/bin/HDSentinel

Here is a description why the usual way to assess SMART attributes is not working:
http://www.hdsentinel.com/smart/index.php (shortly: the HDD manufacturers put such tresholds into SMART which will never alert you before your HDD would fail).

This check is much more sensitive then the usual SMART checks, so you will see HDDs which are not 100% ok, working without any sign of a problem. This you will have time to decide and to order a new HDD without being in a hurry.

Please check the documentation of nagios and nrpe before contact me with questions not related to this script. For running the script on a remote host you will need some kind of remote executor, NRPE is the most common one.
Reviews (1)
bydamned, November 6, 2014
Great plugin, but there's an error..on the variable definition there are 'pw' and'pc' instead of 'tw' and 'tc' for the temperature variable.