<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-2">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2653.12">
<TITLE>RE: [Nagiosplug-help] NSclient +Cluster</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>Thanks for the response, but I am not using nagios-stat, just the nsclient using the check_nt command.</FONT>
<BR><FONT SIZE=2>I have found that I can use check_nt -H $HOSTNAME$ -v SERVICESTATE -p 1248 -l MSSQL\$CLUSTERNAME -d SHOWALL from the cmd line and get the desired result. </FONT></P>
<P><FONT SIZE=2>However, when I apply this to my checkcommands.cfg file it seems to add a $ on the end of the statement when it runs. Making the name MSSQL$CLUSTERNAME$</FONT></P>
<P><FONT SIZE=2>Any other ideas?</FONT>
</P>
<BR>
<BR>
<BR>
<P><FONT SIZE=2>On Thu, Sep 11, 2003 at 10:24:18AM -0400, Karl.Yost@mptotalcare.com wrote:</FONT>
<BR><FONT SIZE=2>> I am having problems using NSclient to check a service on Windows 2000</FONT>
<BR><FONT SIZE=2>> SQL Cluster. </FONT>
<BR><FONT SIZE=2>> This is probably a simple, but the answer escapes me. </FONT>
<BR><FONT SIZE=2>> Microsoft uses a $ after the service name to designate the cluster name,</FONT>
<BR><FONT SIZE=2>> the check command fails because of the $. How do I work around this or</FONT>
<BR><FONT SIZE=2>> is there a better way to do this? </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> Examples would be appreciated. </FONT>
</P>
<P><FONT SIZE=2>had the same problem.</FONT>
</P>
<P><FONT SIZE=2>update your nagios-stat from </FONT>
<BR><FONT SIZE=2><A HREF="http://www.twoevils.org/files/netsaint_statd/" TARGET="_blank">http://www.twoevils.org/files/netsaint_statd/</A></FONT>
</P>
<P><FONT SIZE=2>HTH</FONT>
</P>
<P><FONT SIZE=2>charlie</FONT>
</P>
<P><FONT SIZE=2>-- </FONT>
<BR><FONT SIZE=2>Végh Károly - System Engineer - UTA - TIS.SAS.BSS</FONT>
<BR><FONT SIZE=2>Don't worry. Everything is getting nicely out of control.</FONT>
</P>
</BODY>
</HTML>