Module: check_mk
Branch: master
Commit: 3960bffb0512efdf3117483236f4599d5edf2257
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=3960bffb0512ef…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Fri Feb 8 19:54:18 2019 +0100
azure: be more consistent in valuespec
Change-Id: I4f4bd1c4c73dc87bebdfd40567be6ab638e09fc1
---
cmk/gui/plugins/wato/datasource_programs.py | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
diff --git a/cmk/gui/plugins/wato/datasource_programs.py
b/cmk/gui/plugins/wato/datasource_programs.py
index 9dc2178..0b399b0 100644
--- a/cmk/gui/plugins/wato/datasource_programs.py
+++ b/cmk/gui/plugins/wato/datasource_programs.py
@@ -1617,11 +1617,14 @@ class RulespecSpecialAgentsAzure(HostRulespec):
],
)),
("sequential",
- FixedValue(
- True,
- title=_("Run agent in single thread"),
+ DropdownChoice(
+ title=_("Force agent to run in single thread"),
help=_("Check this to turn off multiprocessing."
" Recommended for debugging purposes only."),
+ choices=[
+ (False, _("Run agent multithreaded")),
+ (True, _("Run agent in single thread")),
+ ],
)),
],
optional_keys=["piggyback_vms", "sequential"],