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

rename checkpoint_vsx_status to checkpoint_vsx

parent e8eed932
No related branches found
No related tags found
No related merge requests found
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.
File deleted
{'author': u'Th.L. (thl-cmk[at]outlook[dot]com)',
'description': u"Monitor status of virtual systems in Check Point vsx/vsls cluster.\n\n - creates one check for every virtual system. \n - check goes critical if virtual system status is not 'Active' or 'Standby'\n - longoutput gives details for each virtual system.\n - monitors VSX virtual system counters (connections/packets/bytes/logs).\n",
'download_url': 'https://thl-cmk.hopto.org',
'files': {'checks': ['checkpoint_vsx_status'],
'web': ['plugins/metrics/checkpoint_vsx_status.py']},
'name': 'checkpoint_vsx_status',
'num_files': 2,
'title': u'Check Point VSX system status and counter',
'version': '20180731.v.0.1c',
'version.min_required': '1.2.8b8',
'version.packaged': '1.4.0p35'}
\ No newline at end of file
#!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
#
# Check Point VSX status metrics plugin
# checkpoint_vsx_status
#
# Author: Th.L.
# Date : 2018-03-13
#
metric_info['checkpoint_vsx_status_connections'] = {
'title': _('Connections active'),
'unit': 'count',
'color': '26/a',
}
metric_info['checkpoint_vsx_status_connections_peak'] = {
'title': _('Connections peak'),
'unit': 'count',
'color': '21/a',
}
metric_info['checkpoint_vsx_status_connections_limit'] = {
'title': _('Connections limit'),
'unit': 'count',
'color': '31/a',
}
metric_info['checkpoint_vsx_status_packets_processed'] = {
'title': _('Packets processed'),
'unit': '1/s',
'color': '12/a',
}
metric_info['checkpoint_vsx_status_packets_dropped'] = {
'title': _('Packets dropped'),
'unit': '1/s',
'color': '22/a',
}
metric_info['checkpoint_vsx_status_packets_accepted'] = {
'title': _('Packets accepted'),
'unit': '1/s',
'color': '32/a',
}
metric_info['checkpoint_vsx_status_packets_rejected'] = {
'title': _('Packets rejected'),
'unit': '1/s',
'color': '42/a',
}
metric_info['checkpoint_vsx_status_bytes_accepted'] = {
'title': _('Bytes accepted'),
'unit': 'bytes/s',
'color': '13/a',
}
metric_info['checkpoint_vsx_status_bytes_dropped'] = {
'title': _('Bytes dropped'),
'unit': 'bytes/s',
'color': '23/a',
}
metric_info['checkpoint_vsx_status_bytes_rejected'] = {
'title': _('Bytes rejected'),
'unit': 'bytes/s',
'color': '33/a',
}
metric_info['checkpoint_vsx_status_logges_send'] = {
'title': _('Loggs send'),
'unit': '1/s',
'color': '14/a',
}
check_metrics['check_mk-checkpoint_vsx_status'] = {
'connections': {'name': 'checkpoint_vsx_status_connections', },
'connections_peak': {'name': 'checkpoint_vsx_status_connections_peak', },
'connections_limit': {'name': 'checkpoint_vsx_status_connections_limit', },
'packets_processed': {'name': 'checkpoint_vsx_status_packets_processed', },
'packets_dropped': {'name': 'checkpoint_vsx_status_packets_dropped', },
'packets_accepted': {'name': 'checkpoint_vsx_status_packets_accepted', },
'packets_rejected': {'name': 'checkpoint_vsx_status_packets_rejected', },
'bytes_accepted': {'name': 'checkpoint_vsx_status_bytes_accepted', },
'bytes_dropped': {'name': 'checkpoint_vsx_status_bytes_dropped', },
'bytes_rejected': {'name': 'checkpoint_vsx_status_bytes_rejected', },
'logges_send': {'name': 'checkpoint_vsx_status_logges_send', },
}
graph_info.append({
'title': _('Check Point VSX: Connections'),
'metrics': [
('checkpoint_vsx_status_connections_peak', 'line'),
('checkpoint_vsx_status_connections', 'area'),
]
})
graph_info.append({
'title': _('Check Point VSX: Packets'),
'metrics': [
('checkpoint_vsx_status_packets_rejected', 'line'),
('checkpoint_vsx_status_packets_dropped', 'line'),
('checkpoint_vsx_status_packets_accepted', 'line'),
('checkpoint_vsx_status_packets_processed', 'line'),
]
})
graph_info.append({
'title': _('Check Point VSX: Bytes'),
'metrics': [
('checkpoint_vsx_status_bytes_rejected', 'line'),
('checkpoint_vsx_status_bytes_dropped', 'line'),
('checkpoint_vsx_status_bytes_accepted', 'line'),
]
})
graph_info.append({
'title': _('Check Point VSX: Logs'),
'metrics': [
('checkpoint_vsx_status_logges_send', 'line'),
]
})
perfometer_info.append(('stacked', [
{
'type': 'logarithmic',
'metric': 'checkpoint_vsx_status_connections',
'half_value': 259200.0,
'exponent': 2,
},
{
'type': 'logarithmic',
'metric': 'checkpoint_vsx_status_packets_processed',
'half_value': 25920.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