<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5726" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>I've got some older Linux systems with Ultra SCSI
III disks (mostly Seagate). The default check_ide_smart doesn't seem to
work on them.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2># /usr/local/nagios/libexec/check_ide_smart
-n --device=/dev/sdb <BR>CRITICAL - SMART_ENABLE: Invalid argument<BR>CRITICAL -
SMART_CMD_ENABLE<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>But smartctl does seem capable of getting useful
info:</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV></FONT>
<DIV><FONT face=Arial size=2># smartctl -H /dev/sdb<BR>smartctl version 5.36
[x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen<BR>Home page is <A
href="http://smartmontools.sourceforge.net/">http://smartmontools.sourceforge.net/</A></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>SMART Health Status: OK</FONT></DIV><FONT
face=Arial size=2>
<DIV><BR># smartctl -a /dev/sdb<BR>smartctl version 5.36
[x86_64-redhat-linux-gnu] Copyright (C) 2002-6 Bruce Allen<BR>Home page is <A
href="http://smartmontools.sourceforge.net/">http://smartmontools.sourceforge.net/</A></DIV>
<DIV> </DIV>
<DIV>Device: SEAGATE ST3146854LC Version:
0003<BR>Serial number: 3KN08NJK00007544JRCD<BR>Device type: disk<BR>Transport
protocol: Parallel SCSI (SPI-4)<BR>Local Time is: Thu Jan 8 10:48:26 2009
PST<BR>Device supports SMART and is Enabled<BR>Temperature Warning
Enabled<BR>SMART Health Status: OK</DIV>
<DIV> </DIV>
<DIV>Current Drive Temperature: 44 C<BR>Drive Trip
Temperature: 68 C<BR>Elements in grown
defect list: 0<BR>Vendor (Seagate) cache information<BR> Blocks sent to
initiator = 3197703675<BR> Blocks received from initiator =
3575667103<BR> Blocks read from cache and sent to initiator =
3039198837<BR> Number of read and write commands whose size <= segment
size = 2268949035<BR> Number of read and write commands whose size >
segment size = 3492095<BR>Vendor (Seagate/Hitachi) factory information<BR>
number of hours powered up = 21576.68<BR> number of minutes until next
internal SMART test = 34</DIV>
<DIV> </DIV>
<DIV>Error counter
log:<BR> Errors
Corrected by
Total Correction Gigabytes
Total<BR>
ECC
rereads/ errors
algorithm processed
uncorrected<BR> fast
| delayed rewrites corrected invocations
[10^9 bytes] errors<BR>read:
80167895
0 0 80167895
80167895
70833.129
0<BR>write:
0
0
0
0
0
13343.062 0</DIV>
<DIV> </DIV>
<DIV>Non-medium error count: 5</DIV>
<DIV> </DIV>
<DIV>[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S
on']<BR>No self-tests have been logged<BR>Long (extended) Self Test duration:
2125 seconds [35.4 minutes]<BR></DIV>
<DIV>I've tried various perl and python scripts that others have mentioned, but
no luck so far.</DIV></FONT>
<DIV><FONT face=Arial size=2>Does someone have a plugin that will work on this
drive type? (or perhaps a modification to
check_ide_smart?)</FONT></DIV>
<DIV><FONT face=Arial size=2>I'm running nagios 3.0.6 and 1.4.13
plugins</FONT></DIV>
<DIV><FONT face=Arial size=2>Thanks </FONT></DIV>
<DIV><FONT face=Arial size=2>-e</FONT></DIV></FONT></DIV></BODY></HTML>