SMART monitoring not working in Webmin on Ubuntu

22 posts / 0 new
Last post
#1 Tue, 09/11/2007 - 09:08
dwmtractor

SMART monitoring not working in Webmin on Ubuntu

I just added smartmontools to my Ubuntu 6.06 LTS server, fully patched to latest apt updates. Version 5.34 of smartctl is running on the system, along with Webmin 1.360.

smartctl -a /dev/sda (or sdb) is able to get a full readout from both of my Seagate ST373207LC hard disks when executed from the command line, but in Webmin the same disks show "Supports SMART" "Yes" and "SMART Enabled" "No" with no other output.

Here's a sample of the command-line SMART output from one of the disks:

root@mail:~# smartctl -a /dev/sda smartctl version 5.34 [i686-pc-linux-gnu] Copyright (C) 2002-5 Bruce Allen Home page is http://smartmontools.sourceforge.net/ Device: SEAGATE ST373207LC Version: 0005 Serial number: 3KT5JSN200009712Q8KL Device type: disk Transport protocol: Parallel SCSI (SPI-4) Local Time is: Tue Sep 11 11:06:25 2007 PDT Device supports SMART and is Enabled Temperature Warning Enabled SMART Health Status: OK Current Drive Temperature: 35 C Drive Trip Temperature: 68 C Elements in grown defect list: 0 Vendor (Seagate) cache information Blocks sent to initiator = 3941069591 Blocks received from initiator = 2256999821 Blocks read from cache and sent to initiator = 19105135 Number of read and write commands whose size <= segment size = 47847976 Number of read and write commands whose size > segment size = 216324 Error counter log: Errors Corrected by Total Correction Gigabytes Total ECC rereads/ errors algorithm processed uncorrec ted fast | delayed rewrites corrected invocations [10^9 bytes] errors read: 24384 0 0 24384 24384 191.098 0 write: 0 0 0 0 0 154.984 0 Non-medium error count: 0 [GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on'] No self-tests have been logged Long (extended) Self Test duration: 1405 seconds [23.4 minutes]

So obviously SMART is working, but it's not talking successfully to Webmin. Can anyone point me to the way to fix this?

Thanks

Dan

Tue, 09/11/2007 - 23:24
Joe
Joe's picture

Hey Dan,

Two choices:

1. Dig into the code and figure out why Webmin isn't parsing the output correctly.

2. File a bug and let Jamie figure it out.

I vote for #2. ;-)

--

Check out the forum guidelines!

Sun, 06/07/2009 - 07:15
dwmtractor

OK, I'm probably missing something obvious here, but how the heck to I file a bug? I only find search and read capabilities on the bug tracker, even when I'm logged into the site. Do you have to get special blessing from the bug gods to have the right to file one? Or is there any way to kick this thread into the bugzilla?

Oh, and (1) above is completely over my head, so it's either (2) or I'm stuck with command-line only! ;{)

Thanks, Joe!&lt;br&gt;&lt;br&gt;Post edited by: dwmtractor, at: 2007/09/12 05:52

Sun, 06/07/2009 - 07:15
dwmtractor

OK, I'm probably missing something obvious here, but how the heck to I file a bug? I only find search and read capabilities on the bug tracker, even when I'm logged into the site. Do you have to get special blessing from the bug gods to have the right to file one? Or is there any way to kick this thread into the bugzilla?

Oh, and (1) above is completely over my head, so it's either (2) or I'm stuck with command-line only! ;{)

Thanks, Joe!&lt;br&gt;&lt;br&gt;Post edited by: dwmtractor, at: 2007/09/12 05:52

Wed, 09/12/2007 - 13:01
Joe
Joe's picture

Hey Dan,

No, blessings are not required to file bugs. But good browsers are. ;-)

Our bug tracker, for some reason beyond my ken, kicks out IE users immediately ( if you must use IE, you can hit it unbridged at http://www.virtualmin.com/bugs -- but make sure you use your normal Virtualmin.com user account...if you create a new one in Flyspray natively it'll be overwritten the next time someone joins Virtualmin.com). Firefox and the other reasonably modern browsers seem to work OK. When logged in you should see a &quot;Add new task&quot; link in the blue menu box at the top of the tracker. Any registered user should have bug creation privileges.

Let me know if this isn't the case, for you, and I'll see if I can track down why.

--

Check out the forum guidelines!

Sun, 06/07/2009 - 07:15
dwmtractor

Nope. Firefox 2.0.0.6 on XP, see attached screencap. No &quot;Add Task&quot; option. Tried it in IE6 also, but that was a SECOND choice for me! ;{) [img size=490]http://www.virtualmin.com/components/com_fireboard/uploaded/images/Scree...

Sun, 06/07/2009 - 07:15
dwmtractor

Nope. Firefox 2.0.0.6 on XP, see attached screencap. No &quot;Add Task&quot; option. Tried it in IE6 also, but that was a SECOND choice for me! ;{) [img size=490]http://www.virtualmin.com/components/com_fireboard/uploaded/images/Scree...

Wed, 09/12/2007 - 13:19
Joe
Joe's picture

Weird. I'm looking into it.

--

Check out the forum guidelines!

Wed, 09/12/2007 - 13:19
dwmtractor

By the way, some other weird sh#$ going on as the preview button on this page opens another popup box with nothing but a &quot;Close Window&quot; link and a progress bar, tho I'm able to submit directly w/o problems. Does this site rely on something other than a browser? Specific Java version, maybe?

Wed, 09/12/2007 - 13:24 (Reply to #9)
Joe
Joe's picture

Yeah, I know. Preview is stupid because it tries to be smart and use the background color of the page (and I've yet to figure out how to make it not do that)...the background color of our pages is dark grey which makes preview practically unusable.

Me and Joomla fight daily. There are a few fixes coming in the next few days as I merge changes from our development server down to www.

--

Check out the forum guidelines!

Wed, 09/12/2007 - 13:25 (Reply to #10)
Joe
Joe's picture

OK, so weirder still, your bug tracker account looks fine--it's the same as everybody elses. What happens if you force a reload of the page in Firefox? (Hold &quot;shift&quot; while clicking the reload button.)

--

Check out the forum guidelines!

Wed, 09/12/2007 - 13:28 (Reply to #11)
dwmtractor

It reloads looking exactly like it did the last time.

Wed, 09/12/2007 - 13:32 (Reply to #12)
dwmtractor

BTW just for giggles I fired up my laptop which is also XP but uses a different java version, which has made a difference on some other sites. No change.

I don't have a Linux machine handy to browse in so I can't check that unfortunately.

Wed, 09/12/2007 - 13:33 (Reply to #13)
Joe
Joe's picture

Alright. Found the problem. Try again.

--

Check out the forum guidelines!

Wed, 09/12/2007 - 13:44 (Reply to #14)
dwmtractor

Yup. That did it. Thanks Joe!

Wed, 09/12/2007 - 13:47
dwmtractor

OK, I have opened bug FS#3216 for this topic. We'll see what happens.

Thanks again.

D

Wed, 09/12/2007 - 14:04
dwmtractor

Jamie jumped right on this; apparently there is a fix due to different output for SCSI vs. IDE drives, and that fix will be available, he says, in 1.3.7

What he didn't say, and what I don't see on the website, is an estimated timetable for the release of 1.3.7, or whether there is a patch that is easily loadable between now and then (I assume the latter answer is &quot;no&quot;).

Any clues?

Wed, 09/12/2007 - 14:06 (Reply to #17)
Joe
Joe's picture

1.370 is coming very soon. You won't have to wait long. A few days, tops.

--

Check out the forum guidelines!

Wed, 09/12/2007 - 14:30
dwmtractor

Excellent!

I must say you guys are responsive on the forum. Nice to know there are people who actually pay attention to stuff like this!

BTW I'll also say that I really like the visual changes you guys made starting with 1.350. It's a much cleaner interface visually, far more professional and easy to navigate. Keep up the excellent work!

Wed, 09/12/2007 - 15:48 (Reply to #19)
Joe
Joe's picture

We try. We're just two guys, but we're pretty good at what we do. (Not due to any particular brilliance on my part...I've just been doing Webmin and sysadmin stuff for ten years...it sinks in after a while.) ;-)

And thanks for the kind words on the new theme. I'm happy to say I can take quite a lot of the credit for the new look and feel of Webmin and Virtualmin (I usually have to defer all compliments to Jamie, since he does all the heavy lifting, but I'm pretty sure he's color-blind...or maybe completely blind...based on the look of standard Webmin over the years). Anyway, there's a lot more to come in the future...Webmin and Virtualmin and Usermin are getting UI work on a daily basis.

--

Check out the forum guidelines!

Sat, 04/10/2010 - 07:39
terry1738

Hi Its 2010 and I am still seeing this problem, can you confirm its been fixed or do I have to hack the code Terry

Sat, 04/10/2010 - 19:49
andreychek

Howdy,

Well, the Webmin version they're referencing above has since been released... and in theory, that would have fixed this specific problem.

So, if you're seeing problems with that ATM, my recommendation would be to file a bug report so that Jamie can work with you to review what the problem is.

Thanks!

-Eric

Topic locked