  | |  | monitoring Mylex AcceleRAID 170 | monitoring Mylex AcceleRAID 170 2004-02-05 - By Cokey de Percin
Back On Thu, 2004-02-05 at 20:43, Ian Mortimer wrote:
> Hi Ross
>
> > thanks for this useful information Ian. I 've had a look and the
> > information is there.
> > But can you tell me, have you done anything more? Like set it up so that
> > it mails you when there are errors, or set it to run consistency checks?
> > Thanks again,
>
> I have a script like this in /etc/cron.hourly
>
> #!/bin/bash
> status= "$( < /proc/rd/status) "
> [[ $status = OK ]] && exit 0
> diff /proc/rd/c0/current_status /proc/rd/c0/initial_status |
> mail -s "Raid status on $(hostname -s) is $status " root
>
> No mail so far so I can 't vouch for it 's usefulness.
>
> You could run some more detailed checks on /proc/rd/c0/current_status
> or just check for changes in that file.
I use this script; seems to work with most Mylex cards; 170, 250, 1100.
Cokey
--
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---
F. 'Cokey ' de Percin, DBA Email:
CSC Work - cdeperci@(protected)
Columbia, South Carolina Home - fdepercin@(protected)
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.
|
|
 |