diff --git a/web/plugins/metrics/huawei_bgp_peer.py b/web/plugins/metrics/huawei_bgp_peer.py deleted file mode 100644 index 851538e2b8c757e2af5d57ba82db1d160e3ac954..0000000000000000000000000000000000000000 --- a/web/plugins/metrics/huawei_bgp_peer.py +++ /dev/null @@ -1,48 +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 -# -# -from cmk.gui.i18n import _ - -from cmk.gui.plugins.metrics import ( - metric_info, - graph_info, - perfometer_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'), - ] -}