You are here

Check service with spaces in the service name

1 post / 0 new
the.dealman
the.dealman's picture
Check service with spaces in the service name

What is the syntax to check a service with spaces in the service name, I am using a check_nrpe  -H $HOSTADDRESS$ -c nsc_checkservicestate -a ShowAll 'Log Forwarder for Windows'=started

The output shows the following when tested

$  check_nrpe -H 'servername' -c nsc_checkservicestate -a ShowAll 'Log Forwarder for Windows'=started

Output: OK: All services are in their appropriate state.

Errors:

Return code: 0