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

Updated package information, changed output directory to hostname only

parent c58726f6
No related branches found
No related tags found
No related merge requests found
No preview for this file type
......@@ -12,6 +12,7 @@
# 2024-12-23: moved arg parser to lib/args.py
# fixed handling of anchors
# changed topology name to be always BGP_{host}
# 2025-01-04: changed output directory to host name only
from collections.abc import MutableMapping, MutableSequence, Sequence
from dataclasses import dataclass
......@@ -153,7 +154,7 @@ def create_bgp_topology(params: Params | None) -> int:
objects = TopoObjects()
connections = TopoConnections()
sub_directory = f'{TOPOLOGY_NAME}_{params.host}'
sub_directory = params.host
ls_connection = LiveStatusConnection()
if params.include_sites is not None:
......
{'author': 'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': 'Active check to create the BGP peer topology\n',
'description': 'Active check to create the BGP peer topology.\n'
'\n'
'The plugin collects the data for the topology from the '
'detailed output of the BGP peer services via live status. '
'Here it finds the:\n'
'- Local AS (not for the built-in plugins)\n'
'- Local address\n'
'- Local identifier\n'
'- Remote AS\n'
'- Remote address\n'
'- Remote identifier\n'
'\n'
'The plugin uses this information to display the connections '
'between the BGP peers. For external (to Checkmk) BGP peers or '
'BGP connections that are not established, the topology only '
'displays limited information\n'
'\n'
'Note: If you use my BGP plugins, you must at least update to '
'the following versions\n'
'- Base BGP peer: 2.2.7-20241220 '
'(https://thl-cmk.hopto.org/gitlab/checkmk/vendor-independent/bgp_topology)\n'
'- Cisco BGP peer: 1.0.2-20241220 '
'(https://thl-cmk.hopto.org/gitlab/checkmk/cisco/cisco_bgp_peer)\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'cmk_addons_plugins': ['bgp_topology/constants.py',
'bgp_topology/lib/bgp_topology.py',
......
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