IBM / hana-os-healthchecker

HANA OS HEALTHCHECKER - HOH
Apache License 2.0
6 stars 7 forks source link

timedatectl status different output on SUSE #8

Closed dkloos closed 3 years ago

dkloos commented 4 years ago

The timedatectl output is not printing 'NTP enabled: yes' . Instead it is showing 'NTP synchronized: yes' on SLES 12 /15 Please include this. Also the pyhton script is not returning anny rc code even if there are errors found.

~/hana-os-healthchecker-master # timedatectl status Local time: Wed 2020-09-30 15:50:12 CEST Universal time: Wed 2020-09-30 13:50:12 UTC RTC time: Wed 2020-09-30 13:50:13 Time zone: Europe/Berlin (CEST, +0200) Network time on: no NTP synchronized: yes RTC in local TZ: no

bolinches commented 4 years ago

Which version are you using of this script because the code is there for both RH and SuSE on current version

Lines 227..240

bolinches commented 3 years ago

I close pls reopen when you add the info. Thanks