<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7654.12">
<TITLE>check_mssql_health connection problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->

<P><FONT SIZE=2 FACE="Arial">Hi there --</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have completed the installation of the check_mssql_health plugin onto a Nagios 3.2.3 64-bit server running on the CentOS 6.0 distribution. </FONT></P>

<P><FONT SIZE=2 FACE="Arial">When I try to connect to a remote server running MSSQL Server 2008 R2, the following command syntaxes are used:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">./check_mssql_health --server=<fully qualfified domain name> --username=<username> --password=<password> --mode=connection-time</FONT></P>

<P><FONT SIZE=2 FACE="Arial">./check_mssql_health --hostname=<fully qualfified domain name> --username=<username> --password=<password> --mode=connection-time</FONT></P>
<BR>

<P><FONT SIZE=2 FACE="Arial">The error message that I am receiving is the following:</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">CRITICAL - cannot connect to <fully qualified domain name>. DBI connect(';server=<fully qualified domain name>',<username>',...) failed: </FONT></P>

<P><FONT SIZE=2 FACE="Arial">OpenClient message: LAYER = (0) ORIGIN = (0) SEVERITY = (78) NUMBER = (41)</FONT>

<BR><FONT SIZE=2 FACE="Arial">Server <fully qualified domain name>, database</FONT>

<BR><FONT SIZE=2 FACE="Arial">Message String: Server is unavailable or does not exist.</FONT>

<BR><FONT SIZE=2 FACE="Arial"> at ./check_mssql_health line 2175</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have confirmed the hostname of the SQL server, as well as username and password to access the database. The syntax for the username</FONT></P>

<P><FONT SIZE=2 FACE="Arial">was either <username> or <domainname>\username during the testing. The port of the server is the default port which, if I am not mistaken,</FONT></P>

<P><FONT SIZE=2 FACE="Arial">is port 1433.</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">I have tried several sql modes with the same error message appearing each time. Can someone lend a hand here?</FONT>
</P>

<P><FONT SIZE=2 FACE="Arial">Thanks. </FONT>
</P>
<BR>
<BR>
<BR>

<font face="monospace"><br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
http://www.partners.org/complianceline . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.</font></BODY>
</HTML>