diff --git a/check_haproxy.icinga2.conf b/check_haproxy.icinga2.conf index 3029fc1..999ca0b 100644 --- a/check_haproxy.icinga2.conf +++ b/check_haproxy.icinga2.conf @@ -32,7 +32,9 @@ object CheckCommand "haproxy" { description = "Disable checks for the servers in HAProxy (that they haven't reached the limits for the sessions or for queues)." } "--overrides" = { - value = "$haproxy_overrides$" + value = {{ + return macro("$haproxy_overrides$").split(" ") + }} description = "Override the defaults for a particular frontend or backend, in the form {name}:{override}, where {override} is the same format as --defaults above." } "--socket" = {