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 ac34ead2 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 69726744
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/agent_ssllabs-2.0.3-20240506.mkp "agent_ssllabs-2.0.3-20240506.mkp" [PACKAGE]: ../../raw/master/mkp/agent_ssllabs-2.0.3-20240507.mkp "agent_ssllabs-2.0.3-20240507.mkp"
# Qualys SSL Labs REST API special agent # Qualys SSL Labs REST API special agent
This Agent uses die Qualys SSL Labs REST API to scan a list of servers for there SSL status. The plugin will check the given server and all end points reported by the SSL Labs scan. This Agent uses die Qualys SSL Labs REST API to scan a list of servers for there SSL status. The plugin will check the given server and all end points reported by the SSL Labs scan.
......
File added
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
# see https://exchange.checkmk.com/p/ssllabs # see https://exchange.checkmk.com/p/ssllabs
# 2024-05-06: added pending to ok states for end points # 2024-05-06: added pending to ok states for end points
# 2024-05-07: fixed crash on wrong params int "ERROR" state
# changed max CMK version in package info to 2.3.0b1
# sample string_table: # sample string_table:
# [ # [
...@@ -326,7 +327,7 @@ def check_ssllabs_grade(item: str, params: Mapping[str: any], section: SECTION) ...@@ -326,7 +327,7 @@ def check_ssllabs_grade(item: str, params: Mapping[str: any], section: SECTION)
summary=f'Started {render.timespan(now_time() - (ssl_host.start_time / 1000))} before' summary=f'Started {render.timespan(now_time() - (ssl_host.start_time / 1000))} before'
) )
case 'ERROR': case 'ERROR':
yield Result(state=State(params.get('state_error'), 1), notice=f'Error: {ssl_host.status_message}') yield Result(state=State(params.get('state_error', 1)), notice=f'Error: {ssl_host.status_message}')
if ssl_host.cache_expiry_time: if ssl_host.cache_expiry_time:
yield Result( yield Result(
state=State.OK, state=State.OK,
......
...@@ -97,7 +97,7 @@ from cmk.special_agents.utils.agent_common import special_agent_main ...@@ -97,7 +97,7 @@ from cmk.special_agents.utils.agent_common import special_agent_main
from cmk.special_agents.utils.argument_parsing import create_default_argument_parser from cmk.special_agents.utils.argument_parsing import create_default_argument_parser
from cmk.utils.paths import tmp_dir from cmk.utils.paths import tmp_dir
VERSION = '2.0.2' VERSION = '2.0.3'
class Args(Namespace): class Args(Namespace):
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
'web': ['plugins/wato/agent_ssllabs.py']}, 'web': ['plugins/wato/agent_ssllabs.py']},
'name': 'agent_ssllabs', 'name': 'agent_ssllabs',
'title': 'ssllabs api check', 'title': 'ssllabs api check',
'version': '2.0.3-20240506', 'version': '2.0.3-20240507',
'version.min_required': '2.2.0b1', 'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p24', 'version.packaged': '2.2.0p24',
'version.usable_until': None} '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