From 4fd903a3f0205b0125b08b854317dc79fa92b031 Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Tue, 13 Jun 2023 18:30:21 +0000
Subject: [PATCH] Delete huawei_bgp_peer.py

---
 gui/metrics/huawei_bgp_peer.py | 47 ----------------------------------
 1 file changed, 47 deletions(-)
 delete mode 100644 gui/metrics/huawei_bgp_peer.py

diff --git a/gui/metrics/huawei_bgp_peer.py b/gui/metrics/huawei_bgp_peer.py
deleted file mode 100644
index e473648..0000000
--- 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'),
-    ]
-}
-- 
GitLab