From 73bf3f10c8b668b026a51d0f692f9a77e5e56c33 Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Sat, 18 Feb 2023 14:25:44 +0000 Subject: [PATCH] Delete huawei_bgp_peer.py --- web/plugins/metrics/huawei_bgp_peer.py | 48 -------------------------- 1 file changed, 48 deletions(-) delete mode 100644 web/plugins/metrics/huawei_bgp_peer.py diff --git a/web/plugins/metrics/huawei_bgp_peer.py b/web/plugins/metrics/huawei_bgp_peer.py deleted file mode 100644 index 851538e..0000000 --- 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'), - ] -} -- GitLab