From 93892caf3037ebb00488980fb4e91e0dc4424f30 Mon Sep 17 00:00:00 2001 From: thl-cmk <thl-cmk@outlook.com> Date: Wed, 7 Jun 2023 15:52:38 +0000 Subject: [PATCH] Delete cisco_fw_nat_translations.py --- .../metrics/cisco_fw_nat_translations.py | 69 ------------------- 1 file changed, 69 deletions(-) delete mode 100644 web/plugins/metrics/cisco_fw_nat_translations.py diff --git a/web/plugins/metrics/cisco_fw_nat_translations.py b/web/plugins/metrics/cisco_fw_nat_translations.py deleted file mode 100644 index 272eeb9..0000000 --- a/web/plugins/metrics/cisco_fw_nat_translations.py +++ /dev/null @@ -1,69 +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 : 2023-03-09 -# -# Cisco Firewall NAT translations metrics plugin -# - -from cmk.gui.i18n import _ - -from cmk.gui.plugins.metrics import ( - metric_info, - graph_info, - check_metrics, - perfometer_info, -) - -# for predictive monitoring -check_metrics["check_mk-cisco_fw_nat_translations"] = { - "predict_fw_nat_active": {"auto_graph": False}, -} -metric_info['predict_fw_nat_active'] = { - 'title': _('_Predicted NAT translations'), - 'unit': 'count', - 'color': '26/b', -} -# - -metric_info['fw_nat_active'] = { - 'title': _('Active'), - 'unit': 'count', - 'color': '26/a', -} - -metric_info['fw_nat_peak'] = { - 'title': _('Peak'), - 'unit': 'count', - 'color': '16/a', -} - -graph_info['cisco_fw_nat_translations'] = { - 'title': _('NAT translatins'), - 'metrics': [ - ('predict_fw_nat_active', 'line'), - ('fw_nat_peak', 'line'), - ('fw_nat_active', 'area'), - ], - 'scalars': [ - ('fw_nat_active:crit'), # , _('CRIT') - ('fw_nat_active:warn'), # , _('WARN') - ], - 'optional_metrics': [ - 'predict_fw_nat_active', - ], - -} - -perfometer_info.append( - { - 'type': 'logarithmic', - 'metric': 'fw_nat_active', - 'half_value': 100000.0, - 'exponent': 2, - } -) -- GitLab