Allows you to search a variety of questions and answers
Simple script that runs the 3ware app and dumps it to a file, then mails it, then deletes it. and crontab to do it daily.
[root@vz1 ~]# more /root/raid.sh
/usr/local/sbin/tw_cli /c0/u0 show > /root/raidstatus.txt
/usr/local/sbin/tw_cli /c1/u0 show >> /root/raidstatus.txt
mail -s "DAILY RAID STATUS 1.1.1.1" [email protected] < /root/raidstatus.txt
rm -rfv /root/raidstatus.txt > /dev/null 2>&1
I have a root contrab to run it at midnight daily:
0 0 * * * /root/raid.sh > /dev/null 1>&1
Note: just be sure to set the correct /c0/u0 for your specific instance and change the IP as well as well as your email.
Thanks for the fast sollution, it was my fault since my original e-mail got somehow bugged and I didn't got the invoice mails.
Hi Guys and Gals, I'll just say you all are top notch and go above and behind with support. I've tested many other companies none compare to the expertise you all. Previously I would just get a ticked bumped up to a higher level of tier support etc. with AYK everyone is knowledgeable and prompt. Thank you for offering a premium hosting solution. Warm Regards, Johnny