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

update project

parent 5a505dd6
No related branches found
No related tags found
No related merge requests found
...@@ -32,3 +32,4 @@ ...@@ -32,3 +32,4 @@
2023-01-22: fix output for admin_state 2023-01-22: fix output for admin_state
2023-02-16: changed for CMK 2.1 (moved gui files from local/share/.. to local/lib/..) 2023-02-16: changed for CMK 2.1 (moved gui files from local/share/.. to local/lib/..)
fix type error in discovery (CMK2.1 GUI only) fix type error in discovery (CMK2.1 GUI only)
2023-02-20: fix crash if metric data is None
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
# 2023-01-22: fix output for admin_state # 2023-01-22: fix output for admin_state
# 2023-02-16: changed for CMK 2.1 (moved gui files from local/share/.. to local/lib/..) # 2023-02-16: changed for CMK 2.1 (moved gui files from local/share/.. to local/lib/..)
# fix type error in discovery (CMK2.1 GUI only) # fix type error in discovery (CMK2.1 GUI only)
# 2023-02-20: fix crash if metric data is None
# Example Agent Output: # Example Agent Output:
# BGP4-MIB # BGP4-MIB
...@@ -207,7 +208,8 @@ def check_bgp_peer(item, params, section: Dict[str, BgpPeer]) -> CheckResult: ...@@ -207,7 +208,8 @@ def check_bgp_peer(item, params, section: Dict[str, BgpPeer]) -> CheckResult:
for entry in peer.metric_count: for entry in peer.metric_count:
key, value = entry key, value = entry
yield Metric(name=f'bgp_peer_{key}', value=value, boundaries=(0, None)) if value is not None:
yield Metric(name=f'bgp_peer_{key}', value=value, boundaries=(0, None))
register.snmp_section( register.snmp_section(
......
No preview for this file type
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
'wato/inv_bgp_peer.py']}, 'wato/inv_bgp_peer.py']},
'name': 'bgp_peer', 'name': 'bgp_peer',
'title': 'BGP Peer', 'title': 'BGP Peer',
'version': '20230217.v2.0.0', 'version': '20230220.v2.0.1',
'version.min_required': '2.1.0', 'version.min_required': '2.1.0',
'version.packaged': '2.1.0p21', 'version.packaged': '2.1.0p21',
'version.usable_until': None} 'version.usable_until': None}
\ No newline at end of file
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