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

update project

parent eccb5a3b
No related branches found
No related tags found
No related merge requests found
[PACKAGE]: ../../raw/master/mkp/cisco_meraki-1.3.1-20240624.mkp "cisco_meraki-1.3.1-20240624.mkp" [PACKAGE]: ../../raw/master/mkp/cisco_meraki-1.3.2-20240626.mkp "cisco_meraki-1.3.2-20240626.mkp"
[SDK]: ../../raw/master/mkp/MerakiSDK-1.46.0-20240516.mkp "MerakiSDK-1.46.0-20240516.mkpp" [SDK]: ../../raw/master/mkp/MerakiSDK-1.46.0-20240516.mkp "MerakiSDK-1.46.0-20240516.mkpp"
# Cisco Meraki special agent # Cisco Meraki special agent
......
File added
...@@ -51,7 +51,7 @@ def agent_cisco_meraki_arguments( ...@@ -51,7 +51,7 @@ def agent_cisco_meraki_arguments(
args.extend(["--excluded-sections"] + excluded_sections) args.extend(["--excluded-sections"] + excluded_sections)
if cache_per_section := params.get("cache_per_section"): if cache_per_section := params.get("cache_per_section"):
args.extend(["--cache_per_section"] + list(cache_per_section)) args.extend(["--cache-per-section"] + list(cache_per_section))
return args return args
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
# 2024-05-20: made appliance uplinks usage user selectable # 2024-05-20: made appliance uplinks usage user selectable
# made API requests per org user selectable # made API requests per org user selectable
# 2024-06-23: added cache time per section -> not nice but should work. # 2024-06-23: added cache time per section -> not nice but should work.
# 2024-06-24: renamed cache time per section option form --cache_per_section to --cache-per-section
# fixed --cache-per-section parameter evaluation
# ToDo: create inventory from Networks, is per organisation, not sure where/how to put this in the inventory # ToDo: create inventory from Networks, is per organisation, not sure where/how to put this in the inventory
# ToDo: list Connected Datacenters like Umbrella https://developer.cisco.com/meraki/api-v1/list-data-centers/ # ToDo: list Connected Datacenters like Umbrella https://developer.cisco.com/meraki/api-v1/list-data-centers/
...@@ -1139,9 +1141,9 @@ def parse_arguments(argv: Sequence[str] | None) -> Args: ...@@ -1139,9 +1141,9 @@ def parse_arguments(argv: Sequence[str] | None) -> Args:
) )
parser.add_argument( parser.add_argument(
'--cache_per_section', '--cache-per-section',
nargs="+", nargs="+",
type=list[int], type=int,
help="List of chache time per section in minutes", help="List of chache time per section in minutes",
default=[0, 0, 60, 60, 60, 60, 60, 60, 600, 600, 0, 0, 600, 0, 0, 30, 30] default=[0, 0, 60, 60, 60, 60, 60, 60, 600, 600, 0, 0, 600, 0, 0, 30, 30]
) )
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
'plugins/wato/agent_cisco_meraki.py']}, 'plugins/wato/agent_cisco_meraki.py']},
'name': 'cisco_meraki', 'name': 'cisco_meraki',
'title': 'Cisco Meraki special agent', 'title': 'Cisco Meraki special agent',
'version': '1.3.1-20240624', 'version': '1.3.2-20240626',
'version.min_required': '2.2.0b1', 'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p27', 'version.packaged': '2.2.0p27',
'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