  | |  | monitoring Mylex AcceleRAID 170 | monitoring Mylex AcceleRAID 170 2004-02-05 - By Ian Mortimer
Back 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.
--
Ian
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
|
|
 |