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

update project

parent 13b0b206
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -46,8 +46,8 @@ def check_checkpoint_securexl(_no_item, _no_params, info): ...@@ -46,8 +46,8 @@ def check_checkpoint_securexl(_no_item, _no_params, info):
now_time = time.time() now_time = time.time()
fwSXLConnsExisting = int(fwSXLConnsExisting) fwSXLConnsExisting = int(fwSXLConnsExisting)
fwSXLConnsAdded = get_rate('checkpoint_securexl.%s.%s' % ('fwSXLConnsAdded', item), now_time, int(fwSXLConnsAdded), onwrap=SKIP) fwSXLConnsAdded = get_rate('checkpoint_securexl.%s' % 'fwSXLConnsAdded', now_time, int(fwSXLConnsAdded), onwrap=SKIP)
fwSXLConnsDeleted = get_rate('checkpoint_securexl.%s.%s' % ('fwSXLConnsDeleted', item), now_time, int(fwSXLConnsDeleted), onwrap=SKIP) fwSXLConnsDeleted = get_rate('checkpoint_securexl.%s' % 'fwSXLConnsDeleted', now_time, int(fwSXLConnsDeleted), onwrap=SKIP)
# Counters # Counters
infotext = 'Connections: Active %d, Added: %0.2f/s, Deleted: %0.2f/s' % (fwSXLConnsExisting, fwSXLConnsAdded, fwSXLConnsDeleted) infotext = 'Connections: Active %d, Added: %0.2f/s, Deleted: %0.2f/s' % (fwSXLConnsExisting, fwSXLConnsAdded, fwSXLConnsDeleted)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
metric_info['checkpoint_securexl_connections_active'] = { metric_info['checkpoint_securexl_connections_active'] = {
'title': _('Connections active'), 'title': _('Connections active'),
'unit': 'count', 'unit': 'count',
'color': '11/a', 'color': '26/a',
} }
metric_info['checkpoint_securexl_connections_added'] = { metric_info['checkpoint_securexl_connections_added'] = {
'title': _('Connections added'), 'title': _('Connections added'),
......
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