check_nt service check problem
Hugo van der Kooij
hvdkooij at vanderkooij.org
Fri Dec 21 07:21:48 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Wilson wrote:
> Hi everyone,
>
> I'm using check_nt with NSClient++ to check and see if a service is running on a Win 2003 server. The service I want to monitor is called "MSSQL$DESTINY". The check is failing and it says "MSSQL$: Unknown". It certainly appears that the dollar sign in the service name is causing a problem. I've tried quoting the service name and escaping the $ with a backslash. No luck so far. Any ideas?
If memory serves me well you need to double the bill. In other words use
$$ in your definition to signify a $.
If you want to be sure: Check the archives of this list.
Hugo.
- --
hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/
PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc
A: Yes.
>Q: Are you sure?
>>A: Because it reverses the logical flow of conversation.
>>>Q: Why is top posting frowned upon?
Bored? Click on http://spamornot.org/ and rate those images.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
iD8DBQFHa1t6BvzDRVjxmYERAivKAJ9ZJLkkJRKB0WAy+kKH36r8OcTFEwCgkVTH
1b3x5+Zy4Patovy0pcOB+VY=
=5bkf
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
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
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