diff --git a/mkp/bgp_topology-0.0.2-20241223.mkp b/mkp/bgp_topology-0.0.2-20241223.mkp index bcc2601d6dce4ea0e58a7d9c142f54a9ea44b328..cf158ad8b8fc3d7802b72e5bea5980ba507531fc 100644 Binary files a/mkp/bgp_topology-0.0.2-20241223.mkp and b/mkp/bgp_topology-0.0.2-20241223.mkp differ diff --git a/source/cmk_addons_plugins/bgp_topology/lib/bgp_topology.py b/source/cmk_addons_plugins/bgp_topology/lib/bgp_topology.py index fef9111f913df2811d600119cf37eec1beca6cf8..dbe86242a9c6585f36ffde22ed382401b406db90 100644 --- a/source/cmk_addons_plugins/bgp_topology/lib/bgp_topology.py +++ b/source/cmk_addons_plugins/bgp_topology/lib/bgp_topology.py @@ -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: diff --git a/source/packages/bgp_topology b/source/packages/bgp_topology index acc7bf882037e97a7b03ddeb082c640ae4677a07..7904863a77b3f1dec39fe1600fc6ae5fdeab760f 100644 --- a/source/packages/bgp_topology +++ b/source/packages/bgp_topology @@ -1,5 +1,27 @@ {'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',