Beispiel #1
0
                          "different temporary files created. During deletion of a host, these files "
                          "are normally deleted. But there are cases, where the files are left on "
                          "the disk until manual deletion, for example if you move a host from one "
                          "site to another or deleting a host manually from the configuration.<br>"
                          "The performance data (RRDs) and HW/SW inventory archive are never deleted "
                          "during host deletion. They are only deleted automatically when you enable "
                          "this option and after the configured period."))),
            ],
            default_keys=["cleanup_abandoned_host_files"],
            empty_text=_("Disk space cleanup is disabled"),
        )


add_replication_paths([
    ReplicationPath(
        "file", "diskspace",
        os.path.relpath(ConfigDomainDiskspace.diskspace_config,
                        cmk.utils.paths.omd_root), []),
])

#.
#   .--Apache--------------------------------------------------------------.
#   |                    _                     _                           |
#   |                   / \   _ __   __ _  ___| |__   ___                  |
#   |                  / _ \ | '_ \ / _` |/ __| '_ \ / _ \                 |
#   |                 / ___ \| |_) | (_| | (__| | | |  __/                 |
#   |                /_/   \_\ .__/ \__,_|\___|_| |_|\___|                 |
#   |                        |_|                                           |
#   +----------------------------------------------------------------------+
#   | Manage settings of the site apache                                   |
#   '----------------------------------------------------------------------'
                          "There are, for example, the discovered services, performance data and "
                          "different temporary files created. During deletion of a host, these files "
                          "are normally deleted. But there are cases, where the files are left on "
                          "the disk until manual deletion, for example if you move a host from one "
                          "site to another or deleting a host manually from the configuration.<br>"
                          "The performance data (RRDs) and HW/SW inventory archive are never deleted "
                          "during host deletion. They are only deleted automatically when you enable "
                          "this option and after the configured period."))),
            ],
            default_keys=["cleanup_abandoned_host_files"],
            empty_text=_("Disk space cleanup is disabled"),
        )


add_replication_paths([
    ("file", "diskspace", ConfigDomainDiskspace.diskspace_config),
])

#.
#   .--Apache--------------------------------------------------------------.
#   |                    _                     _                           |
#   |                   / \   _ __   __ _  ___| |__   ___                  |
#   |                  / _ \ | '_ \ / _` |/ __| '_ \ / _ \                 |
#   |                 / ___ \| |_) | (_| | (__| | | |  __/                 |
#   |                /_/   \_\ .__/ \__,_|\___|_| |_|\___|                 |
#   |                        |_|                                           |
#   +----------------------------------------------------------------------+
#   | Manage settings of the site apache                                   |
#   '----------------------------------------------------------------------'

                          "There are, for example, the discovered services, performance data and "
                          "different temporary files created. During deletion of a host, these files "
                          "are normally deleted. But there are cases, where the files are left on "
                          "the disk until manual deletion, for example if you move a host from one "
                          "site to another or deleting a host manually from the configuration.<br>"
                          "The performance data (RRDs) and HW/SW inventory archive are never deleted "
                          "during host deletion. They are only deleted automatically when you enable "
                          "this option and after the configured period."))),
            ],
            default_keys=["cleanup_abandoned_host_files"],
            empty_text=_("Disk space cleanup is disabled"),
        )


add_replication_paths([
    ReplicationPath("file", "diskspace",
                    ConfigDomainDiskspace.diskspace_config, []),
])

#.
#   .--Apache--------------------------------------------------------------.
#   |                    _                     _                           |
#   |                   / \   _ __   __ _  ___| |__   ___                  |
#   |                  / _ \ | '_ \ / _` |/ __| '_ \ / _ \                 |
#   |                 / ___ \| |_) | (_| | (__| | | |  __/                 |
#   |                /_/   \_\ .__/ \__,_|\___|_| |_|\___|                 |
#   |                        |_|                                           |
#   +----------------------------------------------------------------------+
#   | Manage settings of the site apache                                   |
#   '----------------------------------------------------------------------'