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 272eeb9c0c02355d7e820fad0e11b749824e00b7..0000000000000000000000000000000000000000 --- 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, - } -)