Changeset 12551 for trunk


Ignore:
Timestamp:
11/17/11 17:54:43 (13 years ago)
Author:
Daniela Dorner
Message:
added warning in case of time difference larger than 1 second
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/DataCheck/CheckNTPDate.sh

    r12181 r12551  
    1010/usr/bin/mysql -u systemstatus --host=fact01.fact.local SystemStatus -e "$query"
    1111
     12if [ $offset -gt 1 ] || [ $offset -lt -1 ]
     13then
     14   echo `date`": time difference of "$offset" sec on "$HOSTNAME
     15fi
    1216
Note: See TracChangeset for help on using the changeset viewer.