[Nagiosplug-devel] [ nagiosplug-New Plugins-876708 ] check_smart.pl - Health-check S.M.A.R.T. disks

SourceForge.net noreply at sourceforge.net
Wed Jan 26 18:10:01 CET 2005


New Plugins item #876708, was opened at 2004-01-14 09:57
Message generated for change (Comment added) made by stanleyhopcroft
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=541465&aid=876708&group_id=29880

Category: Perl plugin
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Roy Sigurd Karlsbakk (rkarlsba)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_smart.pl - Health-check S.M.A.R.T. disks

Initial Comment:
check_smart interfaces with smartmontools and uses smartctl to 
check drives. It supports basic health (-H) checks and device type 
settings, including checking drives on a 3ware controller. Licensed 
under GPL.

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

>Comment By: Stanley Hopcroft (stanleyhopcroft)
Date: 2005-01-27 02:09

Message:
Logged In: YES 
user_id=395628

Thanks for the plugin.

May make a good alternative to plugins/check_ide_smart.c
for platforms where that plugin isn't usable.

Plugin should be in /contrib of VS in next 1-2 hours.


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

Comment By: Eduardo Diaz (ediaz)
Date: 2004-04-06 13:33

Message:
Logged In: YES 
user_id=36388

I need to change this.

    print "$e_commandline $e_devopen $e_chksum
$e_disk_failing $e_prefail
$e_mayprefail $e_errlog $e_selftestlog\n"
         if ($verbose);

    $exitcode = 0;
    $errtxt = "";
    if ($exitcode) {
         if ($e_commandline) {
              $errtxt .= "Commandline didn't parse, ";
              $exitcode = 3 if ($exitcode == 0)

For this:

    print "$e_commandline $e_devopen $e_chksum
$e_disk_failing $e_prefail
$e_mayprefail $e_errlog $e_selftestlog\n"
         if ($verbose);

    $exitcode = 0;
    $errtxt = "";
    if ($exitcode || $e_commandline || $e_devopen ||
$e_chksum ||
$e_disk_failing || $e_prefail || $e_mayprefail || $e_errlog
|| $e_selftestlog) {
         if ($e_commandline) {
              $errtxt .= "Commandline didn't parse, ";
              $exitcode = 3 if ($exitcode == 0);
         }

# For detect all errors :-D... 

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

Comment By: Roy Sigurd Karlsbakk (rkarlsba)
Date: 2004-02-10 13:42

Message:
Logged In: YES 
user_id=145309

Bugfix fixing the plugin so that checking special devices like 3ware 
controllers actually works

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

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




More information about the Devel mailing list