AW: Running afacli in a cron?

"Matthias Pigulla" <[email protected]> Sat, 6 Sep 2003 19:29:08 +0200
Newsgroups gmane.linux.drivers.aacraid.devel
Message-ID <[email protected]>
A late reply (been off for a week :)

> Here's my script if you want to take a lookse:
> 
> #!/bin/sh
> /usr/sbin/afacli < /usr/local/raid/raid.commands
> /bin/mail -s "[server] PE2450 Raid Status" [email protected] < 
> /usr/local/raid/raid.status
> 
> -- and raid.commands --
> open afa0
> logfile start raid.status
> disk show smart
> container list
> disk list
> enclosure show temperature
> logfile end
> exit

I've got a very similar approach. However, I have a "known good" copy of
the output and make a diff to it. That way, you only get cron-generated
mails when something's wrong.

If anyone is interested, drop me a line.

Matthias

_______________________________________________
Linux-aacraid-devel mailing list
[email protected]
http://lists.us.dell.com/mailman/listinfo/linux-aacraid-devel
Please read the FAQ at http://lists.us.dell.com/faq or search the list archives at http://lists.us.dell.com/htdig/