Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 3bd760ca989a767a9e8fa327eee92a7a74ecd9c5
https://github.com/Checkmk/checkmk/commit/3bd760ca989a767a9e8fa327eee92a7a7…
Author: Timotheus Bachinger <timotheus.bachinger(a)checkmk.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
A .werks/16250
M cmk/base/plugins/agent_based/ntp.py
M tests/unit/cmk/base/plugins/agent_based/test_ntp.py
Log Message:
-----------
16250 FIX Handle years in ntp output
This werk affects you, in case your last `ntpq` synchronization was indeed more than a
year ago.
A potential check crash traceback looks like:
```
File "/omd/sites/SITE/lib/python3/cmk/base/plugins/agent_based/ntp.py", line
67, in _ntp_fmt_time
return int(raw)
ValueError: invalid literal for int() with base 10: '3y'
```
The year case is now handled in the parse function.
Change-Id: I030c8fbfead2ddc19be06355bba7c5a2d969301a
JIRA-Ref: SUP-20085
To unsubscribe from these emails, change your notification settings at
https://github.com/Checkmk/checkmk/settings/notifications