diff --git a/web/plugins/metrics/checkpoint_vsx.py b/web/plugins/metrics/checkpoint_vsx.py deleted file mode 100644 index a10e97649d63710b1e1e20679ebc7409f8bf7931..0000000000000000000000000000000000000000 --- a/web/plugins/metrics/checkpoint_vsx.py +++ /dev/null @@ -1,131 +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 : 2018-03-13 -# -# Check Point VSX status metrics plugin -# checkpoint_vsx -# -from cmk.gui.i18n import _ - -from cmk.gui.plugins.metrics import ( - metric_info, - graph_info, - perfometer_info, -) - -metric_info['checkpoint_vsx_connections'] = { - 'title': _('Connections active'), - 'unit': 'count', - 'color': '26/a', -} -metric_info['checkpoint_vsx_connections_peak'] = { - 'title': _('Connections peak'), - 'unit': 'count', - 'color': '21/a', -} -metric_info['checkpoint_vsx_connections_limit'] = { - 'title': _('Connections limit'), - 'unit': 'count', - 'color': '31/a', -} - -metric_info['checkpoint_vsx_packets_processed'] = { - 'title': _('Packets processed'), - 'unit': '1/s', - 'color': '12/a', -} -metric_info['checkpoint_vsx_packets_dropped'] = { - 'title': _('Packets dropped'), - 'unit': '1/s', - 'color': '22/a', -} -metric_info['checkpoint_vsx_packets_accepted'] = { - 'title': _('Packets accepted'), - 'unit': '1/s', - 'color': '32/a', -} -metric_info['checkpoint_vsx_packets_rejected'] = { - 'title': _('Packets rejected'), - 'unit': '1/s', - 'color': '42/a', -} - -metric_info['checkpoint_vsx_bytes_accepted'] = { - 'title': _('Bytes accepted'), - 'unit': 'bytes/s', - 'color': '13/a', -} -metric_info['checkpoint_vsx_bytes_dropped'] = { - 'title': _('Bytes dropped'), - 'unit': 'bytes/s', - 'color': '23/a', -} -metric_info['checkpoint_vsx_bytes_rejected'] = { - 'title': _('Bytes rejected'), - 'unit': 'bytes/s', - 'color': '33/a', -} - -metric_info['checkpoint_vsx_loggs_send'] = { - 'title': _('Loggs send'), - 'unit': '1/s', - 'color': '14/a', -} - -graph_info['checkpoint_vsx_connections'] = { - 'title': _('Check Point VSX: Connections'), - 'metrics': [ - ('checkpoint_vsx_connections_peak', 'line'), - ('checkpoint_vsx_connections', 'area'), - ], - 'scalars': [ - ('checkpoint_vsx_connections:crit', _('crit')), - # ('checkpoint_vsx_connections:warn', _('warn')), - ], -} - -graph_info['checkpoint_vsx_packets'] = { - 'title': _('Check Point VSX: Packets'), - 'metrics': [ - ('checkpoint_vsx_packets_rejected', 'line'), - ('checkpoint_vsx_packets_dropped', 'line'), - ('checkpoint_vsx_packets_accepted', 'line'), - ('checkpoint_vsx_packets_processed', 'line'), - ] -} - -graph_info['checkpoint_vsx_bytes'] = { - 'title': _('Check Point VSX: Bytes'), - 'metrics': [ - ('checkpoint_vsx_bytes_rejected', 'line'), - ('checkpoint_vsx_bytes_dropped', 'line'), - ('checkpoint_vsx_bytes_accepted', 'line'), - ] -} - -graph_info['checkpoint_vsx_logges_send'] = { - 'title': _('Check Point VSX: Logs'), - 'metrics': [ - ('checkpoint_vsx_loggs_send', 'line'), - ] -} - -perfometer_info.append(('stacked', [ - { - 'type': 'logarithmic', - 'metric': 'checkpoint_vsx_connections', - 'half_value': 50000.0, - 'exponent': 2, - }, - { - 'type': 'logarithmic', - 'metric': 'checkpoint_vsx_packets_processed', - 'half_value': 50000.0, - 'exponent': 2, - }, -]))