Re: Running afacli in a cron?
Colbey <[email protected]> Sat, 30 Aug 2003 13:30:55 -0400 (EDT)
| Newsgroups | gmane.linux.drivers.aacraid.devel |
|---|---|
| Message-ID | <[email protected]> |
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 On Sat, 30 Aug 2003, Kurt Milligan wrote: > Hi > > I have a bunch of PowerEdge 1650 servers all configured with RAID 5, > using RH7.3, and have afacli installed. > > I've been trying to use Kent Ziebell's monitoring script > (http://www.domsch.com/linux/aacraid/aacraid_monitoring_script.txt) > but can't for the life of me get it to run from a cronjob. > Runs fine when run manually from the command line, though. > > I've tried adding in all of my environment variables and trying various > different redirects, and adding whitespace in the raid.commands file as > suggested in the notes. Have you heard of anyone else that has > successfully gotten this to work from cron? > > TIA > > Kurt Milligan > > > _______________________________________________ > 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/ > _______________________________________________ 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/