Using servicestate with nscp

Hello,
I’m monitoring a server with icinga2 and i wanted to monitor a service with serviccestate from nscp but there is a matter:
name of the service:
image
and when i use it in my command line it doesn’t work (probably due to spaces between the words) but i don’t know how to fix it.
Write the name without space doesn’t work, just the first word neither…
the problem isn’t from my conf, when i want to monitor a service that has a simple name like “diagsvc” it works, so how can i fix it ?
Thanks

Hi,

just wrap the service name with single quotes on the commandline.

Example of the output from icinga

'C:\Program Files\ICINGA2\/sbin\plugins\nscp\nscp.exe' 'client' '--log' 'critical' '--module' 'CheckSystem' '--service' 'IBMWAS85Service - contentmgr2Node01-XXXX' '--show-all' '-b' '-q' 'check_service'