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 298e2bb2 authored by thl-cmk's avatar thl-cmk :flag_na:
Browse files

update project

parent 18474d3a
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
# 2020-06-08: changed snmp-scan function # 2020-06-08: changed snmp-scan function
# renamed from checkpoint_securexl_status to checkpoint_securexl # renamed from checkpoint_securexl_status to checkpoint_securexl
# 2021-08-26: rewritten for CMK 2.0 # 2021-08-26: rewritten for CMK 2.0
# 2023-05-29: moved gui files to ~/local/lib/check_mk/gui/plugins/...
# #
# snmpwalk sample # snmpwalk sample
# #
......
File added
No preview for this file type
#!/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-14
#
# Check Point SecureXL staus metrics plugin
# checkpoint_securexl
#
from cmk.gui.i18n import _
from cmk.gui.plugins.metrics.utils import (
metric_info,
graph_info,
perfometer_info,
)
metric_info['checkpoint_securexl_active'] = {
'title': _('Connections active'),
'unit': 'count',
'color': '26/a',
}
metric_info['checkpoint_securexl_added'] = {
'title': _('Connections added'),
'unit': '1/s',
'color': '21/a',
}
metric_info['checkpoint_securexl_deleted'] = {
'title': _('Connections deleted'),
'unit': '1/s',
'color': '31/a',
}
graph_info['checkpoint_securexl_connections_active'] = {
'title': _('Check Point SecureXL Connections active'),
'metrics': [
('checkpoint_securexl_active', 'area'),
],
}
graph_info['checkpoint_securexl_connections_rate'] = {
'title': _('Check Point SecureXL Connections added/deleted'),
'metrics': [
('checkpoint_securexl_deleted', '-area'),
('checkpoint_securexl_added', 'area'),
],
}
perfometer_info.append({
'type': 'logarithmic',
'metric': 'checkpoint_securexl_active',
'half_value': 2000.0,
'exponent': 2,
}, )
...@@ -4,11 +4,10 @@ ...@@ -4,11 +4,10 @@
'Warning if status not enabled\n', 'Warning if status not enabled\n',
'download_url': 'https://thl-cmk.hopto.org', 'download_url': 'https://thl-cmk.hopto.org',
'files': {'agent_based': ['checkpoint_securexl.py'], 'files': {'agent_based': ['checkpoint_securexl.py'],
'web': ['plugins/metrics/checkpoint_securexl.py']}, 'gui': ['metrics/checkpoint_securexl.py']},
'name': 'checkpoint_securexl', 'name': 'checkpoint_securexl',
'num_files': 2,
'title': 'Check Point SecureXL status', 'title': 'Check Point SecureXL status',
'version': '20210826.v.0.0.3', 'version': '0.2.0-20230529',
'version.min_required': '2.0.0', 'version.min_required': '2.1.0b1',
'version.packaged': '2021.09.20', 'version.packaged': '2.1.0p21',
'version.usable_until': None} 'version.usable_until': None}
\ No newline at end of file
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