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

update project

parent bf3ca3ba
No related branches found
No related tags found
No related merge requests found
......@@ -14,6 +14,7 @@
# 2020-07-08: changed snm-scan function
# 2021-08-10: rewritten for CMK 2.0
# 2021-08-11: cleanup, removed unused OIDs, added WATO
# 2023-05-29: moved gui files to ~/local/lib7check_mk/gui/plugins/...
#
# sample snmpwalk (client table missing)
#
......
File added
No preview for this file type
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
#
#
# 2022-11-30: fixed CheckParameterRulespecWithoutItem (from CheckParameterRulespecWithItem)
from cmk.gui.i18n import _
from cmk.gui.valuespec import (
Dictionary,
DropdownChoice,
MonitoringState,
)
from cmk.gui.plugins.wato.utils import (
CheckParameterRulespecWithoutItem,
rulespec_registry,
RulespecGroupCheckParametersNetworking,
)
def _parameter_valuespec_checkpoint_mgmt():
return Dictionary(
title=_('Check Point Management Server'),
elements=[
('desired_mode',
DropdownChoice(
title=_('Select Mgmt server desired mode'),
choices=[
('active', _('active')),
('standby', _('standby')),
])),
('state_if_not_desired',
MonitoringState(
default_value=1,
title=_('State if Mgmt server not in desired mode.'),
)),
('state_islicenseviolation',
MonitoringState(
default_value=1,
title=_('State on license violation.'),
)),
('state_not_fwmisalive',
MonitoringState(
default_value=2,
title=_('State if "fwm" daemon not alive.'),
)),
('state_statcode',
MonitoringState(
default_value=2,
title=_('State if status is not OK.'),
)),
],
)
rulespec_registry.register(
CheckParameterRulespecWithoutItem(
check_group_name='checkpoint_mgmt',
group=RulespecGroupCheckParametersNetworking,
match_type='dict',
parameter_valuespec=_parameter_valuespec_checkpoint_mgmt,
title=lambda: _('Check Point Management Server'),
))
......@@ -2,11 +2,10 @@
'description': 'monitor Check Point management server\n',
'download_url': 'https://thl-cmk.hopto.org',
'files': {'agent_based': ['checkpoint_mgmt.py'],
'web': ['plugins/wato/checkpoint_mgmt.py']},
'gui': ['wato/checkpoint_mgmt.py']},
'name': 'checkpoint_mgmt',
'num_files': 2,
'title': 'monitor Check Point management server',
'version': '20221130.v0.2b',
'version.min_required': '2.0.0',
'version.packaged': '2021.09.20',
'version': '0.3.0-20230529',
'version.min_required': '2.1.0b1',
'version.packaged': '2.1.0p21',
'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