From 75a87d5d348b52e881f3bc26f9b997a38c1d5549 Mon Sep 17 00:00:00 2001 From: cmk-bonobo Date: Sun, 20 Aug 2023 11:02:50 +0200 Subject: [PATCH] agent thingy added --- local/share/check_mk/checks/agent_mailcow | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 local/share/check_mk/checks/agent_mailcow diff --git a/local/share/check_mk/checks/agent_mailcow b/local/share/check_mk/checks/agent_mailcow new file mode 100644 index 0000000..a82d5da --- /dev/null +++ b/local/share/check_mk/checks/agent_mailcow @@ -0,0 +1,11 @@ +def agent_mailcow_arguments(params, hostname, ipaddress): + return [ + "--hostname", params["hostname"], + "--apikey", 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