<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman, new york, times, serif;font-size:10pt"><DIV>Hi all, quick question here that I hope is appropriate for this list. </DIV>
<DIV> </DIV>
<DIV>I'm querying a Windows box w/ NSClient for services using check_nt -v SERVICESTATE -l (list of services). </DIV>
<DIV>One of the services I'm checking has a dollar sign ($) in its name. This causes the check to barf. </DIV>
<DIV> </DIV>
<DIV>A standard check runs fine when surrouded by ' : </DIV>
<DIV> /usr/lib/nagios/plugins/check_nt -H host.blah.blah -v SERVICESTATE -l 'MSSQL$VITALSQLEXPRESS'<BR>All services are running</DIV>
<DIV> </DIV>
<DIV>But using the same in my services.cfg with either  '  ` or " doesn't have the desired effect. </DIV>
<DIV> </DIV>
<DIV>Here's my checkcommand.cfg entry if it's helpful.</DIV>
<DIV><BR>define command{<BR>        command_name    check_nt_service<BR>        command_line    $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l $ARG1$ -d SHOWALL<BR></DIV>
<DIV>Any ideas? Renaming the service really isn't an option and though I can monitor the process, I'd really rather not. </DIV>
<DIV> </DIV>
<DIV>Regards and thanks in advance,</DIV>
<DIV> </DIV>
<DIV>B Vanderberg</DIV></div></body></html>