Subject: Re: amrctl and notification mails
To: Martti Kuparinen <martti.kuparinen@iki.fi>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: current-users
Date: 08/01/2006 22:17:43
On Mon, Jul 31, 2006 at 12:55:27PM +0300, Martti Kuparinen wrote:
> Hi,
>
> Are you getting any notification if a physical disk goes offline for what ever
> reason (breaks down, is pulled out, etc) with your amr controller?
>
> I wrote a simple script which is executed every 30 minutes so I should get
> notification if something horrible happens in our server. This requires the
> latest netbsd-3 or -current installation. Remember to recreate your device nodes
> as you need the /dev/amr0 device.
This is cool ! What about integrating this to the daily script, with
a configuration variable for the command to run to get RAID status ?
I've been calling:
/sbin/amrctl stat -f /dev/amr0 -b
/sbin/amrctl stat -f /dev/amr0 -l0
in daily.local myself ...
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--