Mailcow-CheckMK/local/share/check_mk/checks/agent_mailcow
2024-01-26 11:39:01 +01:00

12 lines
450 B
Plaintext

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