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

update project

parent 434e60d1
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/agent_ssllabs-2.0.5-20240617.mkp "agent_ssllabs-2.0.5-20240617.mkp"
[PACKAGE]: ../../raw/master/mkp/agent_ssllabs-2.0.6-20240803.mkp "agent_ssllabs-2.0.6-20240803.mkp"
# 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.
......
File added
......@@ -16,6 +16,7 @@
# 2024-05-07: fixed crash on wrong params int "ERROR" state
# changed max CMK version in package info to 2.3.0b1
# 2024-06-04: added support for API error messages
# 2024-08-03: fixed crash on missing start time
# sample string_table:
# [
......@@ -157,7 +158,7 @@ class SSLLabsHost:
protocol: str
is_public: bool
status: str
start_time: int
start_time: int | None
test_time: int | None
engine_version: str
criteria_version: str
......@@ -362,7 +363,8 @@ def check_ssllabs_grade(item: str, params: Mapping[str: any], section: SECTION)
yield Result(state=State.OK, notice=f'Host: {ssl_host.host}')
yield Result(state=State.OK, notice=f'Port: {ssl_host.port}')
yield Result(state=State.OK, notice=f'Protocol: {ssl_host.protocol}')
yield Result(state=State.OK, notice=f'Start Time: {render.datetime(ssl_host.start_time / 1000)}')
if ssl_host.start_time is not None:
yield Result(state=State.OK, notice=f'Start Time: {render.datetime(ssl_host.start_time / 1000)}')
if ssl_host.test_time is not None:
yield Result(state=State.OK, notice=f'Test Time: {render.datetime(ssl_host.test_time / 1000)}')
yield Result(state=State.OK, notice=f'Engine version: {ssl_host.engine_version}')
......
......@@ -15,7 +15,7 @@
'web': ['plugins/wato/agent_ssllabs.py']},
'name': 'agent_ssllabs',
'title': 'ssllabs api check',
'version': '2.0.5-20240617',
'version': '2.0.6-20240803',
'version.min_required': '2.3.0b1',
'version.packaged': 'cmk-mkp-tool 0.2.0',
'version.usable_until': '2.4.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