Re: [Nagios-users] how to escape special characters checking a windowsservice

2008-05-06 Thread Jan Kuhn
$$ did the trick. I thought I had tried that. thanks, jan Sloane, Robert Raymond wrote: > Just for fun, try doubling the $, for example 'mssql$$waspdb'. > - This SF.net email is sponsored by the 2008 JavaOne(SM) Conferen

[Nagios-users] how to escape special characters checking a windows service

2008-05-05 Thread Jan Kuhn
This works when running from the command line: /usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v SERVICESTATE -l 'mssql$waspdb' All services are running But this doesn't in the servers.cfg It adds the second $. check_command "/usr/lib/nagios/plugins/check_nt -H