Exemplo n.º 1
0
    def description(self):
        return _("Downloads Checkmk agent and plugins for Linux")

    @property
    def sort_index(self):
        return 10

    @property
    def is_show_more(self):
        return False


# Register the builtin agent download page on the top level of WATO only when the agent bakery
# does not exist (e.g. when using CRE)
if cmk_version.is_raw_edition():
    main_module_registry.register(MainModuleAgentsWindows)
    main_module_registry.register(MainModuleAgentsLinux)


@main_module_registry.register
class MainModuleOtherAgents(MainModule):
    @property
    def mode_or_url(self):
        return "download_agents"

    @property
    def topic(self):
        return MainModuleTopicAgents

    @property
    def title(self):
Exemplo n.º 2
0
class MainModuleDownloadAgents(MainModule):
    @property
    def mode_or_url(self):
        return "download_agents"

    @property
    def title(self):
        return _("Monitoring Agents")

    @property
    def icon(self):
        return "download_agents"

    @property
    def permission(self):
        return "download_agents"

    @property
    def description(self):
        return _("Downloads the Check_MK monitoring agents")

    @property
    def sort_index(self):
        return 5


# Register the builtin agent download page on the top level of WATO only when the agent bakery
# does not exist (e.g. when using CRE)
if cmk.is_raw_edition():
    main_module_registry.register(MainModuleDownloadAgents)