<div>If my memory is correct $$ for each $ works in the Service Config.</div>
<div> </div>
<div>Depending on your Windows plugin and version of check_nt this may be documented in the help or other files</div>
<div> </div>
<div>Tony (Author of NC_NEt)<br><br></div>
<div class="gmail_quote">On Mon, May 5, 2008 at 4:00 PM, Jan Kuhn <<a href="mailto:jkuhn@siumed.edu">jkuhn@siumed.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">This works when running from the command line:<br><br>/usr/lib/nagios/plugins/check_nt -H xxx.xxx.xxx.xxx -p 1248 -v<br>
SERVICESTATE -l 'mssql$waspdb'<br>All services are running<br><br>But this doesn't in the servers.cfg  It adds the second $.<br><br>check_command                   "/usr/lib/nagios/plugins/check_nt -H<br>
xxx.xxx.xxx.xxx  -p 1248 -v SERVICESTATE -l 'mssql$waspdb'"<br><br>It adds the second $.<br><br>mssql$waspdb$: Unknown<br><br>I've got other services working correctly with embedded spaces.  Special<br>characters are causing trouble.  I've tried escaping with \, all sort of<br>
quote combinations.<br>Any ideas?<br><br>thanks, jan<br><br><br><br>-------------------------------------------------------------------------<br>This SF.net email is sponsored by the 2008 JavaOne(SM) Conference<br>Don't miss this year's exciting event. There's still time to save $100.<br>
Use priority code J8TL2D2.<br><a href="http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone" target="_blank">http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone</a><br>
_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<br></blockquote></div><br>