Normally this is not a problem, except that this one has both a space and a $ sign in the name.
We tried the following $ARG$ formats;
Code: Select all
-l "Ipswitch WS_FTP Web Server"$$"FTPServer" -d SHOWALL
-l "Ipswitch WS_FTP Web Server$$FTPServer" -d SHOWALL
-l Ipswitch' 'WS_FTP Web Server"$$"FTPServer -d SHOWALL
The current $ARG3$ line is:
-l "Ipswitch WS_FTP Web Server\$FTPServer" -d SHOWALL
When running this from the commanline, It's fine
Code: Select all
/usr/local/nagios/libexec/check_nt -H <ip> -s "" -p 12489 -v SERVICESTATE -l "Ipswitch WS_FTP Web Server\$FTPServer" -d SHOWALL
Ipswitch WS_FTP Web Server$FTPServer: Started
It seems like Xi does not correctly converts or that the "Test Check Command" is buggy and ironically gives the correct output.