Escaping Exclamation Points

Christopher Falk christopher.falk at reliablenetworks.com
Fri Jun 27 03:35:32 CEST 2008


Hello all,

Never posted here before, but it's been helpful to follow along with the various threads.

My issue is with checking NT services with exclamation points in their names. The following check command is sent to NSClient++:

check_nt_service!'Act! Scheduler'

and fails with a No Output! error in Nagios. I've tried \!, $!, double quotes, and to no avail.

Has anybody had success escaping an exclamation point when it's part of a service name sent to NSClient++?

Thanks in advance,

Chris

-- 
_________________________________________________________ 
A Message From...  Christopher Falk 
 
Reliable Networks of Maine, LLC 
 
"Uptime.  All the time." 
 
477 Congress Street 
Portland, ME 04101 
Tel: (207) 772-5678 
Web: http://www.reliablenetworks.com 
 
This email was sent from Reliable Networks of Maine LLC. 
It may contain information that is privileged and confidential. 
If you suspect that you were not intended to receive it, please 
delete it and notify us as soon as possible. Thank you.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list