Hi Mike,

Actually the '-a' parameter reports extra information that Monitorix 
does not need, as it only needs the information provided by the '-A' 
parameter. Perhaps the disks are forced to wake up when providing some 
of this extra information. I don't know.

I've been testing three types of disk (IDE, SATA and SCSI) and it seemed 
that none of them were affected by the change in the parameter, and 
Monitorix was able to continue collecting the desired information.

So, if the '-A' does not wake up the disks, I think we can safely stay 
with it.

I'll make some further tests and if all is good I'll introduce this 
change for next 2.5.0 version. If so, and if you don't mind, I'll 
include your name and this email address in the Changes file.

Many thanks.
Best regards.



On 03/06/2012 12:58 PM, Michael Perry wrote:
> Hi Jordi,
>
> Thanks for the quick response. On further investigation it seems the
> 'smartctl -a' command does wake up the drives. It pauses to wake up just
> before the output
>
> SMART Error Log Version: 1
> No Errors Logged
>
> So perhaps my drive does something stupid like keep the log on the disk!
>
> I changed the command to 'smartctl -A' in the application and now all is
> fine. Possibly not suitable for everyone though as I am not sure what
> section the '^Current Drive Temperature:' comes from. I have come across
> at least one other person with this problem so maybe you could change
> the command to just include the relevant sections?
>
>
> Now for the next step I think I will write a script to restart monitorix
> at night with a different configuration file that doesn't check disk
> space and then doesn't revert to the normal config until the drives wake
> up again...
>
> Regards,
> Mike.
>

-- 
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Monitorix-general mailing list
Monitorix-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monitorix-general

Reply via email to