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

update project

parent 30bfc075
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -14,7 +14,6 @@ from cmk.gui.valuespec import ( ...@@ -14,7 +14,6 @@ from cmk.gui.valuespec import (
Tuple, Tuple,
Integer, Integer,
MonitoringState, MonitoringState,
Transform,
ListChoice, ListChoice,
) )
...@@ -28,8 +27,7 @@ from cmk.gui.plugins.wato import ( ...@@ -28,8 +27,7 @@ from cmk.gui.plugins.wato import (
def _parameter_valuespec_checkpoint_vsx_system(): def _parameter_valuespec_checkpoint_vsx_system():
return Transform( return Dictionary(
Dictionary(
elements=[ elements=[
('levels_upper_absolute', ('levels_upper_absolute',
Tuple( Tuple(
...@@ -80,7 +78,7 @@ def _parameter_valuespec_checkpoint_vsx_system(): ...@@ -80,7 +78,7 @@ def _parameter_valuespec_checkpoint_vsx_system():
default_value=1, default_value=1,
)), )),
], ],
)) )
rulespec_registry.register( rulespec_registry.register(
...@@ -101,8 +99,7 @@ def _valuespec_discovery_checkpoint_vsx_system(): ...@@ -101,8 +99,7 @@ def _valuespec_discovery_checkpoint_vsx_system():
('virtual switch', 'Virtual Switch'), ('virtual switch', 'Virtual Switch'),
('virtual router', 'Virtual Router'), ('virtual router', 'Virtual Router'),
] ]
return Transform( return Dictionary(
Dictionary(
title=_('Check Point VSX system'), title=_('Check Point VSX system'),
elements=[ elements=[
('vs_type', ('vs_type',
...@@ -116,7 +113,7 @@ def _valuespec_discovery_checkpoint_vsx_system(): ...@@ -116,7 +113,7 @@ def _valuespec_discovery_checkpoint_vsx_system():
], ],
)), )),
], ],
)) )
rulespec_registry.register( rulespec_registry.register(
......
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