Mailcow-CheckMK/local/share/check_mk/checks/agent_mailcow
2024-01-26 15:05:03 +01:00

13 lines
510 B
Plaintext

def agent_mailcow_arguments(params, hostname, ipaddress):
return [
"--hostname", params["hostname"],
"--apikey", passwordstore_get_cmdline("%s", params["apikey"]),
"--port", params["port"],
"--check-version", params["check_version"],
"--no-https", params["no_https"],
"--no-cert-check", params["no_cert_check"],
ipaddress,
]
special_agent_info['mailcow'] = agent_mailcow_arguments