[Nagiosplug-devel] [ nagiosplug-New Plugins-847821 ] check_smart - monitor sanity of SMART enabled harddisks

SourceForge.net noreply at sourceforge.net
Thu Dec 25 08:25:16 CET 2003


New Plugins item #847821, was opened at 2003-11-23 21:51
Message generated for change (Comment added) made by rkarlsba
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=847821&group_id=29880

Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Iosif Fettich (ifettich)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smart - monitor sanity of SMART enabled harddisks 

Initial Comment:
#
# check_smart [-l] -d /dev/hda
#
# Nagios host script to check sanity of a harddisk
using smartctl
#
# no warranty, use at your own risk, etc.
#
# In order tho let nagios read /dev/hda, you'll want to
add the line
# nagios  hostname = NOPASSWD: /usr/sbin/smartctl -d
/dev/hda
# to your sudoers, using visudo.
#
# smartctl is part of smartmontools,
#           Home page is
http://smartmontools.sourceforge.net/
#
# feel free to change/adapt/hack it in _any_ way you wish.
#


----------------------------------------------------------------------

Comment By: Roy Sigurd Karlsbakk (rkarlsba)
Date: 2003-12-25 17:24

Message:
Logged In: YES 
user_id=145309

On debian, I had to change the sudo line to 
 
nagios         hostname = asdf       NOPASSWD: /usr/sbin/smartctl 
 
it didn't work with smartctl -d ... 
 
roy 

----------------------------------------------------------------------

Comment By: Roy Sigurd Karlsbakk (rkarlsba)
Date: 2003-12-25 16:50

Message:
Logged In: YES 
user_id=145309

I didn't see any license notices here. Will this be GPLed? If so, 
please add the licence to the code :) 
 
roy 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=847821&group_id=29880




More information about the Devel mailing list