Hi all, quick question here that I hope is appropriate for this list.
I'm querying a Windows box w/ NSClient for services using check_nt -v
SERVICESTATE -l (list of services).
One of the services I'm checking has a dollar sign ($) in its name. This causes
the check to barf.
A standard check runs fine when surrouded by ' :
/usr/lib/nagios/plugins/check_nt -H host.blah.blah -v SERVICESTATE -l
'MSSQL$VITALSQLEXPRESS'
All services are running
But using the same in my services.cfg with either ' ` or " doesn't have the
desired effect.
Here's my checkcommand.cfg entry if it's helpful.
define command{
command_name check_nt_service
command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l
$ARG1$ -d SHOWALL
Any ideas? Renaming the service really isn't an option and though I can monitor
the process, I'd really rather not.
Regards and thanks in advance,
B Vanderberg-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
[email protected]
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