On 17.10.2016 20:20, Lee Clemens wrote:
> arguments = {
> "--host-output" = {
> required = true
> value = "$host.output$"
> }
> "--host-state" = {
> required = true
> value = "$host.state$"
> }
> }
Hey Lee,
your problem is that you are *replacing* arguments there.
What you should do: ( += )
arguments += {
"--host-output" = {
required = true
value = "$host.output$"
}
"--host-state" = {
required = true
value = "$host.state$"
}
}
So you are adding values to the existing dictionary, like a merge (you would
replace keys that have the same name).
Regards
Markus Frosch
--
Icinga Open Source Monitoring
https://www.icinga.org
_______________________________________________
icinga-users mailing list
[email protected]
https://lists.icinga.org/mailman/listinfo/icinga-users