Check for services in icingacli director

Hi there,

I am having some issues using the icingacli director.
I want to check if a service exists for a host but I think that I am somehow using the command in the wrong way. Maybe you can help me.

First I used this icingacli director service exists check-status which results in Service 'check-status' exists. The problem is now how do we add a host to specify this command?

My attempt was icingacli director service exists check-status --json "{'host':'localhost'}" which tells me that the service exists. However, changing the hostname to something nonsensical (e.g. “abcdef”) I still get the same result.

How do we use this command correctly?

Best regards,
brehman