I'm having trouble checking 2 services with spaces in the names.
FYI : The service name and Display name for the services both have spaces in them.
Here is the check_command :
Code: Select all
$USER1$/check_nt -H $HOSTADDRESS$ -s "$ARG1$" -p 12489 -v $ARG2$ $ARG3$ $ARG4$- $ARG1$ = MyPassword
$ARG2$ = SERVICESTATE
$ARG3$ = -l "1st Service with spaces","2nd Service with spaces" -d SHOWALL
If i swap both services like the $ARG3$ = -l "2nd Service with spaces","1st Service with spaces" -d SHOWALL
Nagios only checks for '2nd service with spaces"
The only solution I have found so far to split it up in 2 tests... Can anyone help me out pls ?