This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
computing:storage:lsi:megaraid_monitor [2013/12/21 21:19] gcooper |
computing:storage:lsi:megaraid_monitor [2018/11/01 10:55] (current) gcooper |
||
---|---|---|---|
Line 43: | Line 43: | ||
See also **[[computing: | See also **[[computing: | ||
- | ==== CRON ==== | + | ==== cron ==== |
- | I added this to my ''/ | + | Added to ''/ |
< | < | ||
Line 65: | Line 65: | ||
#!/bin/bash | #!/bin/bash | ||
# | # | ||
- | # raid-status-megacli.sh - Gene Cooper <gcooper@sonoracomm.com> | + | # raid-status-megacli.sh - Gene Cooper < |
# | # | ||
# For newer LSI RAID controllers | # For newer LSI RAID controllers | ||
Line 90: | Line 90: | ||
nice -n 19 ${COMMAND} > $STATUS | nice -n 19 ${COMMAND} > $STATUS | ||
- | # check for error | + | # Comment this section and run manually to test mail sending |
+ | # Check for error | ||
if [ -z " | if [ -z " | ||
exit 0 | exit 0 | ||
fi | fi | ||
- | # send mail | + | # Send mail |
/ | / | ||
Date: $(date) | Date: $(date) |