Mailcow-CheckMK/local/share/check_mk/checks/agent_mailcow

12 lines
450 B
Plaintext
Raw Normal View History

2023-08-20 11:02:50 +02:00
def agent_mailcow_arguments(params, hostname, ipaddress):
return [
"--hostname", params["hostname"],
"--apikey", passwordstore_get_cmdline("%s", params["apikey"]),
2023-08-20 11:02:50 +02:00
"--port", params["port"],
"--no-https", params["no_https"],
"--no-cert-check", params["no_cert_check"],
ipaddress,
]
special_agent_info['mailcow'] = agent_mailcow_arguments