Ignore:
Timestamp:
03/16/14 23:45:32 (11 years ago)
Author:
Daniela Dorner
Message:
added sending email in case there were warnings about full disks
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/Monitoring/CheckLogs.sh

    r17595 r17615  
    2727then
    2828   grep -E "^$lasthour.*CONNECTION" $processlogfile | mail -s 'found connection problems found ('$processlogfile')' $erradrs
    29    printprocesslog "INFO sent errors to "$erradrs
     29   printprocesslog "INFO sent connection-problem info to "$erradrs
     30fi
     31
     32if grep -E "^$lasthour.*DISK" $processlogfile >/dev/null
     33then
     34   grep -E "^$lasthour.*DISK" $processlogfile | mail -s 'disk full ('$processlogfile')' $deladrs
     35   printprocesslog "INFO sent full-disk info to "$deladrs
    3036fi
    3137
Note: See TracChangeset for help on using the changeset viewer.