Welcome, Guest
Please Login or Register.
Lost Password?
SMART monitoring not working in Webmin on Ubuntu (1 viewing)
Post Reply

TOPIC: SMART monitoring not working in Webmin on Ubuntu

#7206
dwmtractor (User)
Posts: 10
graphgraph
SMART monitoring not working in Webmin on Ubuntu 2007/09/11 09:08  
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
  The administrator has disabled public write access.
#7228
Joe (Admin)
Posts: 4213
graph
Re:SMART monitoring not working in Webmin on Ubuntu 2007/09/11 23:24  
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. ;-)
  The administrator has disabled public write access.
#7238
dwmtractor (User)
Posts: 10
graphgraph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 05:51  
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!

Post edited by: dwmtractor, at: 2007/09/12 05:52
  The administrator has disabled public write access.
#7243
Joe (Admin)
Posts: 4213
graph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:01  
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 "Add new task" 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.
  The administrator has disabled public write access.
#7244
dwmtractor (User)
Posts: 10
graphgraph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:17  
Nope. Firefox 2.0.0.6 on XP, see attached screencap. No "Add Task" option. Tried it in IE6 also, but that was a SECOND choice for me! ;{)
  The administrator has disabled public write access.
#7245
Joe (Admin)
Posts: 4213
graph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:19  
Weird. I'm looking into it.
  The administrator has disabled public write access.
#7246
dwmtractor (User)
Posts: 10
graphgraph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:19  
By the way, some other weird sh#$ going on as the preview button on this page opens another popup box with nothing but a "Close Window" 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?
  The administrator has disabled public write access.
#7248
Joe (Admin)
Posts: 4213
graph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:24  
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.
  The administrator has disabled public write access.
#7249
Joe (Admin)
Posts: 4213
graph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:25  
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 "shift" while clicking the reload button.)
  The administrator has disabled public write access.
#7251
dwmtractor (User)
Posts: 10
graphgraph
Re:SMART monitoring not working in Webmin on Ubunt 2007/09/12 13:28  
It reloads looking exactly like it did the last time.
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.