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.
After getting a dedicated server from AYK for almost 2 years, I couldn't be more happy. The prices are very reasonable, I haven't experienced a moment of downtime, the support is excellent and truly 24/7. You have a critical issue at 2am? You will have it sorted out in less than 15 minutes. If you are looking for honest, reliable and affordable hosting provider, look no further!
AYK Solutions has been the server for my website for 8 or 9 years, and in all that time I have gotten nothing but expeditious, professional, friendly, and excellent service from them. I am being honest about this. They have my highest recommendations.
I love AYK. been with them for over 5 years and the best ever