Branch: refs/heads/master
Home:
https://github.com/Checkmk/checkmk
Commit: bd0a798677f176acb130ba5f5c7215a864c31689
https://github.com/Checkmk/checkmk/commit/bd0a798677f176acb130ba5f5c7215a86…
Author: Timotheus Bachinger <timotheus.bachinger(a)checkmk.com>
Date: 2024-08-27 (Tue, 27 Aug 2024)
Changed paths:
A .werks/16250.md
M cmk/plugins/collection/agent_based/ntp.py
M tests/unit/cmk/plugins/collection/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