Changeset 18690
- Timestamp:
- 12/18/16 23:41:29 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataCheck/Monitoring/CheckNTPDate.sh
r17529 r18690 8 8 query="INSERT NTPDate SET fOffset="$offset", fMachineKEY=(SELECT fMachineKEY FROM Machine WHERE fMachineName='"$HOSTNAME"'), fTime=Now()" 9 9 # host needs full address to work also on fact01 10 /usr/bin/mysql -u systemstatus --host=fact01 .fact.localsystemstatus -e "$query"10 /usr/bin/mysql -u systemstatus --host=fact01 systemstatus -e "$query" 11 11 12 12 if [ $(echo " $offset > 1 || $offset < -1 " | bc) -eq 1 ]
Note:
See TracChangeset
for help on using the changeset viewer.