From 7371f84293a747038b5be924f4323a533bbe97a2 Mon Sep 17 00:00:00 2001
From: thl-cmk <thl-cmk@outlook.com>
Date: Wed, 7 Jun 2023 15:52:48 +0000
Subject: [PATCH] Delete cisco_fw_nat_translations.py

---
 web/plugins/wato/cisco_fw_nat_translations.py | 58 -------------------
 1 file changed, 58 deletions(-)
 delete mode 100644 web/plugins/wato/cisco_fw_nat_translations.py

diff --git a/web/plugins/wato/cisco_fw_nat_translations.py b/web/plugins/wato/cisco_fw_nat_translations.py
deleted file mode 100644
index 5b4e937..0000000
--- a/web/plugins/wato/cisco_fw_nat_translations.py
+++ /dev/null
@@ -1,58 +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 WATO plugin
-#
-# 2023-03-10: moved rule to Networking
-#
-#
-
-from cmk.gui.i18n import _
-from cmk.gui.valuespec import (
-    Dictionary,
-    Integer,
-    Tuple,
-)
-
-from cmk.gui.plugins.wato import (
-    CheckParameterRulespecWithoutItem,
-    rulespec_registry,
-    RulespecGroupCheckParametersNetworking,
-    Levels,
-)
-
-
-def _parameter_valuespec_cisco_fw_nat_translations():
-    return Dictionary(elements=[
-        ('levels_upper',
-         Levels(
-             title=_('NAT translations'),
-             unit=_('Translations'),
-         )),
-        ('levels_lower',
-         Tuple(
-             help=_('This rule sets lower levels to the active number of NAT translations through the firewall. '
-                    'Will only be used if NAT translations is not predictive levels.'),
-             title=_('NAT translations lower levels'),
-             elements=[
-                 Integer(title=_('Warning if below'), unit='Translations'),
-                 Integer(title=_('Critical if below'), unit='Translations'),
-             ],
-         )),
-    ],)
-
-
-rulespec_registry.register(
-    CheckParameterRulespecWithoutItem(
-        check_group_name='cisco_fw_nat_translations',
-        group=RulespecGroupCheckParametersNetworking,
-        match_type='dict',
-        parameter_valuespec=_parameter_valuespec_cisco_fw_nat_translations,
-        title=lambda: _('Firewall NAT translatins'),
-    ))
-- 
GitLab