NT service with "$" in the name

Chris Hammond chris at bluecobras.com
Fri Jun 18 00:52:24 CEST 2004


jeff vier wrote:
> On Thu, 2004-06-17 at 12:06 -0400, Chris Hammond wrote:
> 
>>check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -d SHOWALL -l 
>>MSSQL\$BKUPEXEC"
> 
> 
> Is that ending " intentional?

Actually in my command line tests, "MSSQL\$BKUPEXEC" and MSSQL\$BKUPEXEC 
yield the same result.  Their should have been a beginning " also.

>>This command from the command line yields;
>>
>>MSSQL$BKUPEXEC: Started
>>
>>Called from services with;
>>
>>check_nt_mssqlbkupexec_service!
> 
> 
> Drop that ending ! for sure!

That is the service and the ! is the $HOSTADDRESS$.  Should I be writing 
it a different way?

Thanks
Chris


-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
_______________________________________________
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