escaping $ characters

HP Geeza getbacktome3 at hotmail.com
Thu May 5 17:56:42 CEST 2005


Hi

I was wondering if anybody knew how to escape a $ sign when checking if a 
Windows service is running:

For example i have I have a line in a service:
check_command                   check_nt_service!"MSSQL$BKUPEXEC"
check_command                   check_nt_service!"SQLAgent$BKUPEXEC"

But nagios doesn't seem to like this.  The status information is saying:
MSSQL$: Unknown
SQLAgent$: Unknown

ALL OTHER Windows services are being detected fine (so my check_nt_service 
command is working).....therefor this makes me belive it is the $ sign in 
the name of the service which i am checking for.

_________________________________________________________________
Winks & nudges are here - download MSN Messenger 7.0 today! 
http://messenger.msn.co.uk



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
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