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

SourceForge.net noreply at sourceforge.net
Tue Apr 6 14:03:07 CEST 2004


New Plugins item #876708, was opened at 2004-01-14 10:57
Message generated for change (Comment added) made by ediaz
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: Eduardo Diaz (ediaz)
Date: 2004-04-06 15: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 14: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