when I check a server with a bbdd mssql by command in my ubuntu 8.04 all is working fine:
sudo ./check_nt -H srvsql -v SERVICESTATE -d SHOWALL -l MSSQL\$FENIX -s holahola -p 12489
As you can see, I use a "\" before the "$" symbol.
But when I run this command from inside the windows cfg I always got an error:
service_description SQL Server
check_command check_nt!SERVICESTATE! -d SHOWALL -l MSSQL\$FENIX
I mean, there is a difference in how Nagios and linux understand the characters "\$".
So, how could I write fine this inside my windows.cfg??