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

13 lines
510 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"],
2024-01-26 15:05:03 +01:00
"--check-version", params["check_version"],
2023-08-20 11:02:50 +02:00
"--no-https", params["no_https"],
"--no-cert-check", params["no_cert_check"],
ipaddress,
]
special_agent_info['mailcow'] = agent_mailcow_arguments