check_ide_smart problem

Matthew Pounsett <[email protected]> Thu, 15 Nov 2018 20:07:49 -0500
Newsgroups gmane.network.nagios.plugins
Message-ID <CAAiTEH-W1uePrcZ1bKG=AYwFPXZhPivRYRGo0cERR-L1fZf4_w__15416.0293554471$1542330361$gmane$org@mail.gmail.com>
--0000000000006e00e0057abdcc59
Content-Type: text/plain; charset="UTF-8"

I'm trying to get the check_ide_smart (v2.1.1) plugin working, and haven't
had any luck.  I'm wondering if it's a problem with the plugin being a bit
too simple to deal with my hardware.

% sudo ./check_ide_smart -d /dev/sda
CRITICAL - SMART_CMD_ENABLE

I can't find any documentation on what that response means.  However, my
hardware has a megaraid card, which requires an extra argument for smartctl
to work.

% sudo smartctl -A /dev/sda
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-6-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

Smartctl open device: /dev/sda failed: DELL or MegaRaid controller, please
try adding '-d megaraid,N'

% sudo smartctl -d megaraid,1 -A /dev/sda
smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-6-amd64] (local build)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF READ SMART DATA SECTION ===
Current Drive Temperature:     29 C
Drive Trip Temperature:        68 C

Does anyone have any suggestions for getting this to work?

Thanks.

--0000000000006e00e0057abdcc59
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div dir=3D"ltr"><div di=
r=3D"ltr">I&#39;m trying to get the check_ide_smart (v2.1.1)=C2=A0plugin wo=
rking, and haven&#39;t had any luck.=C2=A0 I&#39;m wondering if it&#39;s a =
problem with the plugin being a bit too simple to deal with my hardware.<di=
v><br></div><div><div><font face=3D"monospace, monospace">% sudo ./check_id=
e_smart -d /dev/sda</font></div><div><font face=3D"monospace, monospace">CR=
ITICAL - SMART_CMD_ENABLE</font></div></div><div><br></div><div>I can&#39;t=
 find any documentation on what that response means.=C2=A0 However, my hard=
ware has a megaraid card, which requires an extra argument for smartctl to =
work.</div><div><br></div><div><div><font face=3D"monospace, monospace">% s=
udo smartctl -A /dev/sda</font></div><div><font face=3D"monospace, monospac=
e">smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-6-amd64] (local build=
)</font></div><div><font face=3D"monospace, monospace">Copyright (C) 2002-1=
4, Bruce Allen, Christian Franke, <a href=3D"http://www.smartmontools.org">=
www.smartmontools.org</a></font></div><div><font face=3D"monospace, monospa=
ce"><br></font></div><div><font face=3D"monospace, monospace">Smartctl open=
 device: /dev/sda failed: DELL or MegaRaid controller, please try adding &#=
39;-d megaraid,N&#39;</font></div></div><div><font face=3D"monospace, monos=
pace"><br></font></div><div><div><font face=3D"monospace, monospace">% sudo=
 smartctl -d megaraid,1 -A /dev/sda</font></div><div><font face=3D"monospac=
e, monospace">smartctl 6.4 2014-10-07 r4002 [x86_64-linux-3.16.0-6-amd64] (=
local build)</font></div><div><font face=3D"monospace, monospace">Copyright=
 (C) 2002-14, Bruce Allen, Christian Franke, <a href=3D"http://www.smartmon=
tools.org">www.smartmontools.org</a></font></div><div><font face=3D"monospa=
ce, monospace"><br></font></div><div><font face=3D"monospace, monospace">=
=3D=3D=3D START OF READ SMART DATA SECTION =3D=3D=3D</font></div><div><font=
 face=3D"monospace, monospace">Current Drive Temperature:=C2=A0 =C2=A0 =C2=
=A029 C</font></div><div><font face=3D"monospace, monospace">Drive Trip Tem=
perature:=C2=A0 =C2=A0 =C2=A0 =C2=A0 68 C</font></div></div><div><font face=
=3D"monospace, monospace"><br></font></div><div><font face=3D"arial, helvet=
ica, sans-serif">Does anyone have any suggestions for getting this to work?=
</font></div><div><font face=3D"arial, helvetica, sans-serif"><br></font></=
div><div><font face=3D"arial, helvetica, sans-serif">Thanks.</font></div></=
div></div></div></div></div>

--0000000000006e00e0057abdcc59--