Re: monitoring Mylex AcceleRAID 170

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

 



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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux