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

update project

parent ea98ae50
No related branches found
No related tags found
No related merge requests found
File added
No preview for this file type
...@@ -109,6 +109,22 @@ metric_info['bgp_peer_out_prefixes'] = { ...@@ -109,6 +109,22 @@ metric_info['bgp_peer_out_prefixes'] = {
'color': '41/a', 'color': '41/a',
} }
# Hawei spezific metrics
metric_info['bgp_peer_prefixrcvcounter'] = {
'title': _('Prefixes received'),
'unit': 'count',
'color': '11/a',
}
metric_info['bgp_peer_prefixactivecounter'] = {
'title': _('Prefixes active'),
'unit': 'count',
'color': '33/a',
}
metric_info['bgp_peer_prefixadvcounter'] = {
'title': _('Prefixes advertised'),
'unit': 'count',
'color': '43/a',
}
###################################################################################################################### ######################################################################################################################
# #
...@@ -196,6 +212,17 @@ graph_info['bgp_peer.juniper_prefixes'] = { ...@@ -196,6 +212,17 @@ graph_info['bgp_peer.juniper_prefixes'] = {
], ],
} }
# huawei prefixes
graph_info['huawei_bgp_peer_counter'] = {
'title': _('BGP prefix counter'),
'metrics': [
('bgp_peer_prefixrcvcounter', 'line'),
('bgp_peer_prefixactivecounter', 'line'),
('bgp_peer_prefixadvcounter', 'line'),
]
}
###################################################################################################################### ######################################################################################################################
# #
# define perf-o-meter for bgp peer uptime + prefixes accepted/advertised # define perf-o-meter for bgp peer uptime + prefixes accepted/advertised
......
...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
# 2022-04-24: added option for BGP down time # 2022-04-24: added option for BGP down time
# added option to remove some columns from inventory # added option to remove some columns from inventory
# 2022-04-28: added Whois options # 2022-04-28: added Whois options
# 2023-06-12: moved wato file from ~local/lib/check_mk/gui/plugins/wato
# to ~/local/lib/check_mk/gui/plugins/wato/check_parameters
from cmk.gui.i18n import _ from cmk.gui.i18n import _
from cmk.gui.plugins.wato.utils import ( from cmk.gui.plugins.wato.utils import (
......
{'author': 'Th.L. (thl-cmk[at]outlook[dot]com)', {'author': 'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': 'based on BGP Peer State Check by Thomas Wollner\n' 'description': 'based on BGP Peer State Check by Thomas Wollner (see '
'https://exchange.checkmk.com/p/bgp-peer)\n'
'\n' '\n'
'Rewritten for CMK 2.0 by thl-cmk[at]outlook[dot]com\n' 'Rewritten for CMK 2.x by thl-cmk[at]outlook[dot]com\n'
'\n' '\n'
'- Moved static information from check plugin to inventory\n' 'This plugin uses the standard BGP4 MIB to monitor BGP peers. '
'The plugin consists of two parts\n'
'- the bgp_peer check plugin\n'
'- the inv_bgp_peer inventory plugin\n'
'\n' '\n'
'2021-11-08: added helper functions from cisco_bgp_peer\n' 'performance data include\n'
'2021-11-14: merged with cisco_bgp_peer\n' ' FMS last change/transitions\n'
'2022-04-18: merged with huawei_bgp_peer\n', ' Last update received\n'
' Peer uptime\n'
' Total messages received/send\n'
' Updates received/send\n'
'\n'
'It is the base for my other vendor specific BGP peer checks:\n'
'- Arista: '
'https://thl-cmk.hopto.org/gitlab/checkmk/arista_networks/arista_bgp_peer\n'
'- Cisco: '
'https://thl-cmk.hopto.org/gitlab/checkmk/cisco/cisco_bgp_peer\n'
'- Huawei: '
'https://thl-cmk.hopto.org/gitlab/checkmk/huawei/huawei_bgp_peer\n'
'- Juniper: '
'https://thl-cmk.hopto.org/gitlab/checkmk/juniper-networks/juniper_bgp_peer\n'
'\n',
'download_url': 'https://thl-cmk.hopto.org/vendor-independent/bgp_peer', 'download_url': 'https://thl-cmk.hopto.org/vendor-independent/bgp_peer',
'files': {'agent_based': ['bgp_peer.py', 'files': {'agent_based': ['bgp_peer.py',
'inv_bgp_peer.py', 'inv_bgp_peer.py',
...@@ -19,7 +37,7 @@ ...@@ -19,7 +37,7 @@
'wato/check_parameters/inv_bgp_peer.py']}, 'wato/check_parameters/inv_bgp_peer.py']},
'name': 'bgp_peer', 'name': 'bgp_peer',
'title': 'BGP Peer', 'title': 'BGP Peer',
'version': '2.2.1-20230612', 'version': '2.2.1-20230613',
'version.min_required': '2.2.0b1', 'version.min_required': '2.2.0b1',
'version.packaged': '2.2.0p2', 'version.packaged': '2.2.0p2',
'version.usable_until': None} 'version.usable_until': None}
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