Configure multi_check in director

Hello everyone,

I am trying to add this CheckCommand to my icinga2 director. I’ve added it in conf.d and included it in the icinga2.conf, then ran the kickstart wizard, and now it appears in the External Commands, but it seems the command = {{…}} part is cut off by the director, so the multi_check is practically empty. I am wondering, how would one go about configuring it? Should I check the custom data fields, I am kinda lost here.

Context: We have some nodes that are behind DDOS protection, so just pinging them through hostalive is not enough because the DDOS protection service provider sometimes blocks the ICMP requests, but the node is otherwise pretty functional. Thus, we have to check whether some ports, among other things, are OK, for example 80,443, etc. and finally, if the ports are also down, then we can determine that the node/network might be down. I am open to other ideas how to implement this idea, without multi_check. As a last resort, we might just write a script.

Icinga2 - r2.13.4-1
Icinga Web 2 - 2.11.1

director 1.9.1
doc 2.11.1
incubator 0.17.0
monitoring 2.11.1

PHP Version - 7.4.30
icinga/icinga-php-thirdparty 0.11.0
icinga/icinga-php-library 0.9.1

Platform: Debian GNU/Linux
Platform version: 11 (bullseye)
Kernel: Linux
Kernel version: 5.10.0-17-amd64
Architecture: x86_64