Linux

chech_smartmon2

Description:

Check smart attributes via the smartmontools.

This is an extension to the original work of “fuler” found at
http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_smartmon/details
based on the logic of check_smart_attributes plugin by “frankie” found at http://exchange.nagios.org/directory/Plugins/Operating-Systems/Linux/check_smart_attributes/details

The monitor logic has been restructured. Despite the overall smart status string, we now check each value against its threshold and report CRITICAL or WARNING based on the type (pre-fail or oldage) and the when_failed field (FAILING_NOW or In_the_past).

In addition one can define arbitrary raw values and thresholds to monito, apart from temperature.

A bunch of configuration options have been added (smartctl attrs, smartctl command, temperature id)

Current Version

1.1

Last Release Date

2013-01-04

Compatible With

  • Nagios 3.x

Owner

License

GPL


Project Files
Project Notes
Reviews (1) Add a Review
good but not complet
by belgotux, December 31, 2014

well but the verbose option provides no usable graphical output for very shame I've done a patch to fix DeprecationWarning: os.popen3 is deprecated : # diff check_smartmon.py.ori check_smartmon.py 38a39 > import subprocess 136c137,138 p = subprocess.Popen(cmd, shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True) > (child_stdin, child_stdout, child_stderr) = (p.stdin, p.stdout, p.stderr)



Add a Review

You must be logged in to submit a review.

Thank you for your review!

Your review has been submitted and is pending approval.

Recommend

To:


From:


Thank you for your recommendation!

Your recommendation has been sent.

Project Stats
Rating
3.7 (3)
Favorites
3
Views
50,345