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

chech_smartmon2

Rating
3 votes
Favoured:
3
Current Version
1.1
Last Release Date
2013-01-04
Compatible With
  • Nagios 3.x
Owner
License
GPL
Hits
50281
Files:
FileDescription
check_smartmon2.pycheck_smartmon2.py
README.txtREADME.txt
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 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)
Reviews (1)
bybelgotux, December 17, 2014
1 of 1 people found this review helpful
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)