a guest Sep 14th, 2017 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- sas2ircu=`which sas2ircu`
- if sas2ircu-status --nagios | grep -q 'RAID OK'
- echo "RAID status is okay"
- echo -e 'RAID check on LOKI failed, please check the server.' | mailx -s '[IMPORTANT] RAID check failed' $recipient
RAW Paste Data