Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit b5903d1e authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent c2dc545a
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/check_ntp-0.0.4-20240101.mkp "check_ntp-0.0.4-20240101.mkp" [PACKAGE]: ../../raw/master/mkp/check_ntp-0.0.5-20240407.mkp "check_ntp-0.0.5-20240407.mkp"
[NTPLIB]: ../../raw/master/mkp/ntplib-0.4.0.mkp "ntplib-0.4.0.mkp" [NTPLIB]: ../../raw/master/mkp/ntplib-0.4.0.mkp "ntplib-0.4.0.mkp"
# Active Check NTP # Active Check NTP
......
File added
...@@ -10,6 +10,8 @@ ...@@ -10,6 +10,8 @@
# File : checks/active_checks_ntp # File : checks/active_checks_ntp
# #
# 2022-11-15: changed to use short options, doesn't work with long options # 2022-11-15: changed to use short options, doesn't work with long options
# 2024-04-07: fixed duplicate use of dispersion_levels instead of delay_levels (ThX bitwiz@froum.checkmk.com)
#
def check_ntp_arguments(params): def check_ntp_arguments(params):
args = [] args = []
...@@ -38,7 +40,7 @@ def check_ntp_arguments(params): ...@@ -38,7 +40,7 @@ def check_ntp_arguments(params):
args.append(f'-D {params["dispersion_levels"][0]},{params["dispersion_levels"][1]}') args.append(f'-D {params["dispersion_levels"][0]},{params["dispersion_levels"][1]}')
if 'delay_levels' in params: if 'delay_levels' in params:
args.append(f'-d {params["dispersion_levels"][0]},{params["dispersion_levels"][1]}') args.append(f'-d {params["delay_levels"][0]},{params["delay_levels"][1]}')
if 'state_not_synchronized' in params: if 'state_not_synchronized' in params:
args.append(f'-n {params["state_not_synchronized"]}') args.append(f'-n {params["state_not_synchronized"]}')
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
'lib': ['nagios/plugins/check_ntp']}, 'lib': ['nagios/plugins/check_ntp']},
'name': 'check_ntp', 'name': 'check_ntp',
'title': 'Active check NTP', 'title': 'Active check NTP',
'version': '0.0.4-20240101', 'version': '0.0.5-20240407',
'version.min_required': '2.2.0b1', 'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p14', 'version.packaged': '2.2.0p24',
'version.usable_until': '2.3.0b1'} 'version.usable_until': '2.3.0b1'}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment