Nextcloud-CheckMK/local/share/check_mk/checks/agent_nextcloud

15 lines
600 B
Plaintext

def agent_nextcloud_arguments(params, hostname, ipaddress):
return [
"--hostname", params["hostname"],
"--username", params["username"],
"--password", params["password"],
"--token", passwordstore_get_cmdline("%s", params["token"]),
"--port", params["port"],
"--folder", params["folder"],
"--no-https", params["no_https"],
"--no-cert-check", params["no_cert_check"],
ipaddress,
]
special_agent_info['nextcloud'] = agent_nextcloud_arguments