<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Unquoting it all gives me "Act: Unknown" instead of no response at all.<br><br>check_nt_service is:<br><br>define command{<br>        command_name check_nt_service<br>        command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$<br>        }<br><br>Thanks,<br><br>Chris<br><br>----- Original Message -----<br>From: "Cristiano Ness" <cristiano.ness@opservices.com.br><br>To: "Christopher Falk" <christopher.falk@reliablenetworks.com><br>Cc: nagios-users@lists.sourceforge.net<br>Sent: Friday, June 27, 2008 7:02:20 AM GMT -05:00 US/Canada Eastern<br>Subject: Re: [Nagios-users] Escaping Exclamation Points<br><br><style>p { margin: 0; }</style><div style="font-family: Verdana; font-size: 10pt; color: rgb(0, 0, 153);">Remove ' or complete, for example<br>check_nt_service!Act! Scheduler or check_nt_service!'Act'! 'Scheduler'<br>Put here commands.cfg for check_nt_service<br><br><div><div><div>[]´s<br>--- <br>Cristiano Ness                   <span class="Object" id="OBJ_PREFIX_DWT1458"><span class="Object" id="OBJ_PREFIX_DWT1459">cristiano.ness@opservices.com.br</span></span><br>OpServices                       <span class="Object" id="OBJ_PREFIX_DWT1460"><span class="Object" id="OBJ_PREFIX_DWT1461"><a target="_blank" href="http://www.opservices.com.br/">www.opservices.com.br</a></span></span><br>Tel: 51-3275-3588             Cel: 51-8151-8214</div></div></div><br><br>----- "Christopher Falk"  wrote:
<br>> Hello all,<br>> <br>> Never posted here before, but it's been helpful to follow along with the various threads.<br>> <br>> My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++:<br>> <br>> check_nt_service!'Act! Scheduler'<br>> <br>> and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail.<br>> <br>> Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++?<br>> <br>> Thanks in advance,<br>> <br>> Chris<br>> <br>> -- <br>> _________________________________________________________ <br>> A Message From...  Christopher Falk <br>>  <br>> Reliable Networks of Maine, LLC <br>>  <br>> "Uptime.  All the time." <br>>  <br>> 477 Congress Street <br>> Portland, ME 04101 <br>> Tel: (207) 772-5678 <br>> Web: http://www.reliablenetworks.com <br>>  <br>> This email was sent from Reliable Networks of Maine LLC. <br>> It may contain information that is privileged and confidential. <br>> If you suspect that you were not intended to receive it, please <br>> delete it and notify us as soon as possible. Thank you.<br>> <br>> -------------------------------------------------------------------------<br>> Check out the new SourceForge.net Marketplace.<br>> It's the best place to buy or sell services for<br>> just about anything Open Source.<br>> http://sourceforge.net/services/buy/index.php<br>> _______________________________________________<br>> Nagios-users mailing list<br>> Nagios-users@lists.sourceforge.net<br>> https://lists.sourceforge.net/lists/listinfo/nagios-users<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>> </div><br><br>-- <br>_________________________________________________________ <br>A Message From...  Christopher Falk <br> <br>Reliable Networks of Maine, LLC <br> <br>"Uptime.  All the time." <br> <br>477 Congress Street <br>Portland, ME 04101 <br>Tel: (207) 772-5678 <br>Web: http://www.reliablenetworks.com <br> <br>This email was sent from Reliable Networks of Maine LLC. <br>It may contain information that is privileged and confidential. <br>If you suspect that you were not intended to receive it, please <br>delete it and notify us as soon as possible. Thank you.<br></div></body></html>