diff --git a/checkman/checkpoint_connections b/checkman/checkpoint_connections deleted file mode 100644 index 08ef898bcf6eb7a7979de60090d54f9719bbbc5b..0000000000000000000000000000000000000000 --- a/checkman/checkpoint_connections +++ /dev/null @@ -1,45 +0,0 @@ -title: Dummy check man page - used as template for new check manuals -agents: linux, windows, aix, solaris, hpux, vms, freebsd, snmp -catalog: see modules/catalog.py for possible values -license: GPL -distribution: check_mk -description: - Describe here: (1) what the check actually does, (2) under which - circumstances it goes warning/critical, (3) which devices are supported - by the check, (4) if the check requires a separated plugin or - tool or separate configuration on the target host. - -item: - Describe the syntax and meaning of the check's item here. Provide all - information one needs if coding a manual check with {checks +=} in {main.mk}. - Give an example. If the check uses {None} as sole item, - then leave out this section. - -examples: - # Give examples for configuration in {main.mk} here. If the check has - # configuration variable, then give example for them here. - - # set default levels to 40 and 60 percent: - foo_default_values = (40, 60) - - # another configuration variable here: - inventory_foo_filter = [ "superfoo", "superfoo2" ] - -perfdata: - Describe precisely the number and meaning of performance variables - the check sends. If it outputs no performance data, then leave out this - section. - -inventory: - Describe how the inventory for the check works. Which items - will it find? Describe the influence of check specific - configuration parameters to the inventory. - -[parameters] -foofirst(int): describe the first parameter here (if parameters are grouped - as tuple) -fooother(string): describe another parameter here. - -[configuration] -foo_default_levels(int, int): Describe global configuration variable of - foo here. Important: also tell the user how they are preset. diff --git a/checkpoint_connections.mkp b/checkpoint_connections.mkp deleted file mode 100644 index 67cf02bf942a1dfaa6c5ecbda0a5feeee9942142..0000000000000000000000000000000000000000 Binary files a/checkpoint_connections.mkp and /dev/null differ diff --git a/packages/checkpoint_connections b/packages/checkpoint_connections deleted file mode 100644 index 48620165a0ba01889330b28b62450b608d03eed9..0000000000000000000000000000000000000000 --- a/packages/checkpoint_connections +++ /dev/null @@ -1,12 +0,0 @@ -{'author': u'Th.L. (thl-cmk[at]outlook[dot]com)', - 'description': u'Monitor Check Point Firewall connection statistics.\n\nRewrite of the original check.\nAdded perfdata for peak connections and TCP, UDP, ICMP, other and total connection rate\n', - 'download_url': 'https://thl-cmk.hopto.org', - 'files': {'checks': ['checkpoint_fw_connections'], - 'web': ['plugins/metrics/checkpoint_fw_connections.py', - 'plugins/wato/checkpoint_fw_connections.py']}, - 'name': 'checkpoint_connections', - 'num_files': 3, - 'title': u'Check Point Connections', - 'version': '20200607.v.0.0.2', - 'version.min_required': '1.2.8b8', - 'version.packaged': '1.4.0p38'} \ No newline at end of file diff --git a/web/plugins/metrics/checkpoint_connections.py b/web/plugins/metrics/checkpoint_connections.py deleted file mode 100644 index 58ea7ce9363e869d37d18e18c7f3a33b6bcb2cdd..0000000000000000000000000000000000000000 --- a/web/plugins/metrics/checkpoint_connections.py +++ /dev/null @@ -1,135 +0,0 @@ -#!/usr/bin/python -# -*- encoding: utf-8; py-indent-offset: 4 -*- -# -# Check Point Firewall connections metrics plugins -# checkpoint_connections - -# -# Author: Th.L. -# Date : 2018-03-17 -# - -##################################################################################################################### -# -# define units for perfdata -# -##################################################################################################################### - -##################################################################################################################### -# -# define metrics for perfdata -# -##################################################################################################################### - -metric_info['checkpoint_connections_fwconnectionstcp'] = { - 'title': _('TCP connections'), - 'unit': '1/s', - 'color': '11/a', -} -metric_info['checkpoint_connections_fwconnectionsudp'] = { - 'title': _('UDP connections'), - 'unit': '1/s', - 'color': '21/a', -} -metric_info['checkpoint_connections_fwconnectionsicmp'] = { - 'title': _('ICMP connections'), - 'unit': '1/s', - 'color': '31/a', -} -metric_info['checkpoint_connections_fwconnectionsother'] = { - 'title': _('Other connections'), - 'unit': '1/s', - 'color': '41/a', -} -metric_info['checkpoint_connections_fwconnections'] = { - 'title': _('Total connections'), - 'unit': '1/s', - 'color': '32/a', -} -metric_info['checkpoint_connections_fwconnectionrate'] = { - 'title': _('Connections rate'), - 'unit': '1/s', - 'color': '42/a', -} - -metric_info['checkpoint_connections_connections'] = { - 'title': _('Current connections'), - 'unit': 'count', - 'color': '13/a', -} -metric_info['checkpoint_connections_fwpeaknumconn'] = { - 'title': _('Peak Connections'), - 'unit': 'count', - 'color': '23/a', -} - - -###################################################################################################################### -# -# map perfdata to metric -# -###################################################################################################################### - - -check_metrics['check_mk-checkpoint_connections'] = { - 'fwconnectionstcp': {'name': 'checkpoint_connections_fwconnectionstcp', }, - 'fwconnectionsudp': {'name': 'checkpoint_connections_fwconnectionsudp', }, - 'fwconnectionsicmp': {'name': 'checkpoint_connections_fwconnectionsicmp', }, - 'fwconnectionsother': {'name': 'checkpoint_connections_fwconnectionsother', }, - 'fwconnections': {'name': 'checkpoint_connections_fwconnections', }, - 'fwconnectionrate': {'name': 'checkpoint_connections_fwconnectionrate', }, - 'connections': {'name': 'checkpoint_connections_connections', }, - 'fwpeaknumconn': {'name': 'checkpoint_connections_fwpeaknumconn', }, -} - -###################################################################################################################### -# -# how to graph perdata -# -###################################################################################################################### - -graph_info.append({ - 'title': _('Check Point Firewall Connections per second'), - 'metrics': [ - ('checkpoint_connections_fwconnectionsother', 'stack'), - ('checkpoint_connections_fwconnectionsicmp', 'stack'), - ('checkpoint_connections_fwconnectionsudp', 'stack'), - ('checkpoint_connections_fwconnectionstcp', 'stack'), - ('checkpoint_connections_fwconnections', 'line'), - ], -}) - -graph_info.append({ - 'title': _('Check Point Firewall Connections count'), - 'metrics': [ - ('checkpoint_connections_fwpeaknumconn', 'line'), - ('checkpoint_connections_connections', 'line'), - ], - 'scalars': [ - ('checkpoint_connections_connections:crit', _('crit')), - ('checkpoint_connections_connections:warn', _('warn')), - ], -}) - - -###################################################################################################################### -# -# define perf-o-meter -# -###################################################################################################################### - - -perfometer_info.append(('stacked', [ - { - 'type': 'logarithmic', - 'metric': 'checkpoint_connections_connections', - 'half_value': 100000.0, - 'exponent': 2, - }, - { - 'type': 'logarithmic', - 'metric': 'checkpoint_connections_fwconnections', - 'half_value': 1000.0, - 'exponent': 2, - }, -]))