[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bigsister-general] bigsister and smartmontools


What I did was to add the following to the configuration file for the  
syslog monitor:

smartd.*:\s*(Device: .*, Found and is SMART capable.*)	green	60	&green  
$1	disk
smartd.*:\s*(Device: .*, is SMART capable.*)	green	60	&green $1	disk
smartd.*:\s*(Device: .*, opened.*)	green	60	&green $1	disk
smartd.*:\s*(Device: .*, Failed.*)	red	60	&red $1	disk
smartd.*:\s*(Device: .*, initial temperature is  
5\d+ Celsius.*)	green	60	&green $1	disk
smartd.*:\s*(Device: .*, Temperature changed \-?[1-3] (Celsius|degrees) to  
5\d .*)	green	60	&green $1	disk
smartd.*:\s*(Device: .*, starting scheduled.*)	green	60	&green $1	disk
smartd.*:\s*(Device: .*, .*)	yellow	60	&yellow $1	disk

In my case, Debian woody, in the section for /var/log/daemons. It may  
depend on how syslog is configured on your system.

What I'm doing is defining informational messages as "green", failure  
messages as "red" and there's a "catchall" at the end, which I'm treating  
as a warning (yellow). All of these go to the "disk" column of the display.
You may want to tune the temperature patterns. These catch what I have  
determined to be the normal operating range for my disks.

I've "integrated" lots of stuff into BigSister by going via syslog.

Peter


On Thu, 15 Nov 2007 22:26:11 +0100, suppressed <suppressed>  
wrote:

> Hi list,
>
> i wonder if there is a possibility to combine bigsister with the
> smartmontools. Wouldn´t it be great to get informed if something is
> wrong with the hd(s) ?
>
> Greetings
> Michael
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Bigsister-general mailing list
> suppressed
> https://lists.sourceforge.net/lists/listinfo/bigsister-general
>



-- 
Peter Værlien
Fritz Aabakkens vei 17, 7072 Heimdal, Norway
Telephone: 917 69 384, E-Mail: suppressed,  
http://varlien.home.online.no
It always takes a Clinton to clean up after a Bush - Hillary 2008


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bigsister-general mailing list
suppressed
https://lists.sourceforge.net/lists/listinfo/bigsister-general

Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.