diff --git a/hitachi-vsp/lib/python/cmk/gui/plugins/wato/datasource_programs.py b/hitachi-vsp/lib/python/cmk/gui/plugins/wato/datasource_programs.py new file mode 100644 index 0000000..76cbc2d --- /dev/null +++ b/hitachi-vsp/lib/python/cmk/gui/plugins/wato/datasource_programs.py @@ -0,0 +1,25 @@ +def _valuespec_special_agents_hitachivsp(): + return Dictionary( + title=_("Check HITACHI VSP Storages"), + help=_("This rule set selects the special agent for Hitachi VSP Storages " + "instead of the normal Check_MK agent and allows monitoring via Web API. "), + optional_keys=["cert"], + elements=[ + ("user", TextAscii(title=_("Username"), allow_empty=False)), + ("password", Password(title=_("Password"), allow_empty=False)), + ("cert", + DropdownChoice(title=_("SSL certificate verification"), + choices=[ + (True, _("Activate")), + (False, _("Deactivate")), + ])), + ], + ) + + +rulespec_registry.register( + HostRulespec( + group=RulespecGroupDatasourcePrograms, + name="special_agents:hitachivsp", + valuespec=_valuespec_special_agents_hitachivsp, + )) \ No newline at end of file