Collection of CheckMK checks (see https://checkmk.com/). All checks and plugins are provided as is. Absolutely no warranty. Send any comments to thl-cmk[at]outlook[dot]com

Skip to content
Snippets Groups Projects
Commit 93892caf authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

Delete cisco_fw_nat_translations.py

parent e1d5a9cf
No related branches found
No related tags found
No related merge requests found
#!/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,
}
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment