[Nagiosplug-devel] FW: check_nt issue

Michael R Burgess michael.r.burgess at dom.com
Fri Aug 5 15:30:41 CEST 2011

Sorry for not looking deeper into the documentation.

Finally found it here http://support.nagios.com/knowledgebase/faqs/index.php?option=com_content&view=article&id=52&catid=35&faq_id=413&expand=false&showdesc=true

Actually needed two backslashes and a second $. So service$name would be service\\$$name.

Thanks again!

-----Original Message-----
From: Olivier 'Babar' Raginel [mailto:nagios at babar.us] 
Sent: Friday, August 05, 2011 7:49 AM
To: nagiosplug-devel at lists.sourceforge.net
Subject: Re: [Nagiosplug-devel] FW: check_nt issue

On Fri, Aug 05, 2011 at 07:42:11AM -0400, Michael R Burgess wrote:
> Using Nagios I to monitor a windows service that has a $ in the service name.
> Example:  check_nt!SERVICESTATE! -d SHOWALL -l "service$name"
> Nagios cannot find the service "service". It doesn't realize that the 
> service name is "service$name" How do I get nagios to see the $ as 
> part of the name of the service?

Use $$ as per the documentation?


BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
::: Please include plugins version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null
CONFIDENTIALITY NOTICE:  This electronic message contains
information which may be legally confidential and/or privileged and
does not in any case represent a firm ENERGY COMMODITY bid or offer
relating thereto which binds the sender without an additional
express written confirmation to that effect.  The information is
intended solely for the individual or entity named above and access
by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying, distribution, or use of the
contents of this information is prohibited and may be unlawful.  If
you have received this electronic transmission in error, please
reply immediately to the sender that you have received the message
in error, and delete it.  Thank you.

More information about the Devel mailing list