diff --git a/gui/metrics/huawei_bgp_peer.py b/gui/metrics/huawei_bgp_peer.py deleted file mode 100644 index e47364894909d4e4eb1d6e71ce87100819ee55cf..0000000000000000000000000000000000000000 --- a/gui/metrics/huawei_bgp_peer.py +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python3 -# -*- coding: utf-8 -*- -# -# License: GNU General Public License v2 -# -# Author: thl-cmk[at]outlook[dot]com -# URL : https://thl-cmk.hopto.org -# Date : 2020-06-22 -# -# Huawei BGP Peer -# -# 2020-07-20: added BGP prefix counter -# 2023-02-18: moved metrics file from ~/local/share/check_mk/... to ~/local/lib/check_mk/... -# - -from cmk.gui.i18n import _ - -from cmk.gui.plugins.metrics.utils import ( - metric_info, - graph_info, -) - - -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', -} - -graph_info['huawei_bgp_peer_counter'] = { - 'title': _('BGP prefix counter'), - 'metrics': [ - ('bgp_peer_prefixrcvcounter', 'line'), - ('bgp_peer_prefixactivecounter', 'line'), - ('bgp_peer_prefixadvcounter', 'line'), - ] -}