From 61037d5793f14a19987b41ae417e71da76bd3f2b Mon Sep 17 00:00:00 2001 From: "th.l" <thl-cmk@outlook.com> Date: Mon, 1 Jan 2024 15:23:41 +0100 Subject: [PATCH] update project --- README.md | 2 +- mkp/check_ntp-0.0.4-20240101.mkp | Bin 0 -> 6312 bytes source/gui/wato/check_ntp.py | 18 ++++++------------ source/packages/check_ntp | 6 +++--- 4 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 mkp/check_ntp-0.0.4-20240101.mkp diff --git a/README.md b/README.md index 07afdb7..38f3de1 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -[PACKAGE]: ../../raw/master/mkp/check_ntp-0.0.3-20230607.mkp "check_ntp-0.0.3-20230607.mkp" +[PACKAGE]: ../../raw/master/mkp/check_ntp-0.0.4-20240101.mkp "check_ntp-0.0.4-20240101.mkp" [NTPLIB]: ../../raw/master/mkp/check_ntp-0.0.3-20230607.mkp "ntplib-0.4.0.mkp" # Active Check NTP diff --git a/mkp/check_ntp-0.0.4-20240101.mkp b/mkp/check_ntp-0.0.4-20240101.mkp new file mode 100644 index 0000000000000000000000000000000000000000..4841db70f71c7306f099126f090ed38499537a7d GIT binary patch literal 6312 zcmb7|RZ|=cpe51Z?(UKa?gV$Y;LhMK32uW!a0YjGhYxoc7$CSi!JP~)A#khqZ6EGd z?OWIR16`+S;!xqvC&4xdA6H^dKMn-IcZLH9H`cKW4U88KEE~EtqQNXyNxvQ$GjBU} znvj%4waYSaHe+Y?|H@pyZ@q&r#=?<4FJy=%seM1qA&-;vDV?|HBWIldZ@c;F976`t zqI7W&1m6Op$lX4!wXNI?1#NqGARkfWYO0Yp_9MtjDF)f!E`MlrcGwfDi|wA{T?86| z^jVJF&zGWFFEGf>{IyPfcOFK^F*u`l>MV6tAmq&!r<-?kk0xas<WY}U3?rW@%u?qV zcxT&WW?7&oEQ}WKSa;z`4Yc>JrqI$-sY4M(VXP6qIb-uotd+_g(fjiPiM=(eO(1;H zws9W+doQj8imOlu2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=z`*kwGo!mD<fm8o&6a#`$^;BZ)p<H!z)b z54;31w0o^ho{%c3B%4fcXr-(K&=;oUHB*33YtN^ydapXbdI!54OhSW|g~2j$SwNJO zLfmq}aH_KUU8=Gg9f0UO3qZJX!-srU)hxYKsX@>a+*fBqzfFX*A&WF7)7L@_(PiN^ zgAnN|5yQ5Czjz3Pd8vuT!V*BW34#1w!i|sjem#&Z?6n;y1kvOV`lm@yTz*-<8et-m zz|ZG2s}Ln`6vQoNgK&6PG8DvG7Qr@eA;QLyn|f<{)Lpu2$5h?b|BsvYztljG>azs! L2FDc+1_$>)cr{1f literal 0 HcmV?d00001 diff --git a/source/gui/wato/check_ntp.py b/source/gui/wato/check_ntp.py index 451a293..cba964e 100644 --- a/source/gui/wato/check_ntp.py +++ b/source/gui/wato/check_ntp.py @@ -9,26 +9,20 @@ # Date : 2022-10-04 # File : wato/active_checks_ntp.py # +# 2024-01-01: modified for cmk 2.2.x from cmk.gui.i18n import _ from cmk.gui.valuespec import ( Dictionary, - Tuple, - Transform, Integer, - TextAscii, MonitoringState, + TextAscii, + Transform, + Tuple, ) -from cmk.gui.plugins.wato.utils import ( - rulespec_registry, - HostRulespec, -) - -from cmk.gui.plugins.wato.active_checks import ( - RulespecGroupActiveChecks -) - +from cmk.gui.plugins.wato.active_checks.common import RulespecGroupActiveChecks +from cmk.gui.plugins.wato.utils import HostRulespec, rulespec_registry def _valuespec_active_checks_ntp(): return Transform( diff --git a/source/packages/check_ntp b/source/packages/check_ntp index a19b5ff..95fd9df 100644 --- a/source/packages/check_ntp +++ b/source/packages/check_ntp @@ -6,7 +6,7 @@ 'lib': ['nagios/plugins/check_ntp']}, 'name': 'check_ntp', 'title': 'Active check NTP', - 'version': '0.0.3-20230607', - 'version.min_required': '2.1.0b1', + 'version': '0.0.4-20240101', + 'version.min_required': '2.2.0b1', 'version.packaged': '2.2.0p14', - 'version.usable_until': '2.2.0b1'} + 'version.usable_until': '2.3.0b1'} -- GitLab