Skip to content

Commit 21aecf8

Browse files
committed
deploy + interval again part V
1 parent 8c6776f commit 21aecf8

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

  • mkp/local/lib/python3/cmk_addons/plugins/yum/rulesets

mkp/local/lib/python3/cmk_addons/plugins/yum/rulesets/yum_cee.py

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -55,17 +55,17 @@ def _parameter_form_yum_bakery_new() -> Dictionary:
5555
return Dictionary(
5656
# migrate=_migrate_int_to_float,
5757
title=Title('YUM package update check'),
58-
help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
59-
'check <tt>YUM</tt> on RedHat based hosts and monitor pending normal and security updates.'
60-
),
58+
# help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
59+
# 'check <tt>YUM</tt> on RedHat based hosts and monitor pending normal and security updates.'
60+
# ),
6161
elements={
6262
'deploy': DictElement(
6363
required=True,
6464
parameter_form=CascadingSingleChoice(
6565
title=Title('CascadingSingleChoice Deployment options for the Yum plugin.'),
6666
# prefill=DefaultValue("interval"),
67-
help_text=Help(
68-
'Determines how the the <tt>Yum</tt> plugin will run on a deployed agent or disables it on an deployed agent'),
67+
# help_text=Help(
68+
# 'Determines how the the <tt>Yum</tt> plugin will run on a deployed agent or disables it on an deployed agent'),
6969
elements=[
7070

7171
]
@@ -75,8 +75,8 @@ def _parameter_form_yum_bakery_new() -> Dictionary:
7575
parameter_form=TimeSpan(
7676
title=Title('Custom execution interval'),
7777
label=Label('Interval for collecting data'),
78-
help_text=Help(
79-
'Determines how often the plugin will run on a deployed agent.'),
78+
# help_text=Help(
79+
# 'Determines how often the plugin will run on a deployed agent.'),
8080
displayed_magnitudes=[TimeMagnitude.SECOND,
8181
TimeMagnitude.MINUTE,
8282
TimeMagnitude.HOUR,
@@ -106,33 +106,33 @@ def _parameter_form_yum_bakery() -> Dictionary:
106106
return Dictionary(
107107
migrate=_migrateInt,
108108
title=Title('Deploy the Yum plugin'),
109-
help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
110-
'check <tt>Yum</tt> on redHat based hosts and monitor pending normal and security updates.'
111-
),
109+
# help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
110+
# 'check <tt>Yum</tt> on redHat based hosts and monitor pending normal and security updates.'
111+
# ),
112112
elements={
113113
"deploy": DictElement(
114114
required=True,
115115
parameter_form=CascadingSingleChoice(
116116
title=Title('CascadingSingleChoice Deployment options for the Yum plugin.'),
117117
# prefill=DefaultValue("interval"),
118-
help_text=Help(
119-
'Determines how the the <tt>Yum</tt> plugin will run on a deployed agent or disables it on an deployed agent'),
118+
# help_text=Help(
119+
# 'Determines how the the <tt>Yum</tt> plugin will run on a deployed agent or disables it on an deployed agent'),
120120
elements=[
121121
CascadingSingleChoiceElement(
122122
name='interval_1',
123123
title=Title('interval_1'),
124124
parameter_form=Dictionary(
125125
title=Title('Dictionary YUM package update check'),
126-
help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
127-
'check <tt>YUM</tt> on RedHat based hosts and monitor pending normal and security updates.'
128-
),
126+
# help_text=Help('This will deploy the agent plugin <tt>Yum</tt>. This will activate the '
127+
# 'check <tt>YUM</tt> on RedHat based hosts and monitor pending normal and security updates.'
128+
# ),
129129
elements={
130130
'interval_2': DictElement(
131131
parameter_form=TimeSpan(
132132
title=Title('Run asynchronously'),
133133
label=Label('Interval for collecting data'),
134-
help_text=Help(
135-
'Determines how often the plugin will run on a deployed agent.'),
134+
# help_text=Help(
135+
# 'Determines how often the plugin will run on a deployed agent.'),
136136
displayed_magnitudes=[TimeMagnitude.SECOND,
137137
TimeMagnitude.MINUTE,
138138
TimeMagnitude.HOUR,
@@ -155,6 +155,6 @@ def _parameter_form_yum_bakery() -> Dictionary:
155155
name='yum',
156156
parameter_form=_parameter_form_yum_bakery,
157157
topic=Topic.GENERAL,
158-
help_text=Help('This will deploy the agent plugin <tt>YUM</tt> '
159-
'for checking package update status.'),
158+
# help_text=Help('This will deploy the agent plugin <tt>YUM</tt> '
159+
# 'for checking package update status.'),
160160
)

0 commit comments

Comments
 (0)