set_if is for booleans and parameters that are valueless like -k, --insecure, if there is a value for the argument set only the value field.
don’t forget to change the field to boolean in the director datafield list.
can you do the command screenshots once more? there is not enough information to tell you what’ wrong with the command, make sure all arguments are on the screenshot
Ahh that is indeed my error -thank you!
I removed the set_if and now it works.
Ist there a way how I can get Icinga to not include optional parameters?
do something like “set_if $pve_vm_status$ is not empty”?
Because if I don’t include a set if the optional parameters are always included, without a value. That’s why I tried the set_if.