<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 28/05/2012 13:19, Alexey Terentiev wrote:
<blockquote
cite="mid:4F6AD801E18F804B81041BBC4B71ECD0272505D1@Tehila-Exch01.tehila.gov.il"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am trying to install the nagios plugins
with check-mysql parameter, but its keep failing.<o:p></o:p></p>
<p class="MsoNormal">It seems that all the librarys needed for
the check_msql are installed on the server.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">But just to make sure, can you send me the
names of the libs required?<o:p></o:p></p>
<p class="MsoNormal">And also when I use the “with-mysql=…”
where should I point it?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Sincerely yours,<o:p></o:p></p>
<p class="MsoNormal"> Alexey Terentiev<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div align="right">
<table class="MsoNormalTable" border="0" cellpadding="0"
cellspacing="0">
<tbody>
<tr style="height:15.0pt">
<td style="padding:0in 0in 0in 0in;height:15.0pt"
valign="bottom">
<div align="right">
<table class="MsoNormalTable"
style="border-collapse:collapse" border="0"
cellpadding="0" cellspacing="0">
<tbody>
<tr style="height:59.25pt">
<td style="width:307.5pt;padding:0in 0in 0in
0in;height:59.25pt" width="410"><br>
</td>
</tr>
</tbody>
</table>
</div>
<br>
</td>
<td style="padding:0in 0in 0in 0in;height:15.0pt"><br>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</blockquote>
On Centos / RedHat you're going to be looking for something like:<br>
<br>
[root@mgmt1 ~]# locate libmysql<br>
/usr/lib64/mysql/libmysqlclient.so<br>
/usr/lib64/mysql/libmysqlclient.so.16<br>
/usr/lib64/mysql/libmysqlclient.so.16.0.0<br>
/usr/lib64/mysql/libmysqlclient_r.so<br>
/usr/lib64/mysql/libmysqlclient_r.so.16<br>
/usr/lib64/mysql/libmysqlclient_r.so.16.0.0<br>
[root@mgmt1 ~]#<br>
<br>
<pre class="moz-signature" cols="72">--
Regards,
Giles Coochey, CCNA, CCNAS
NetSecSpec Ltd
+44 (0) 7983 877438
<a class="moz-txt-link-freetext" href="http://www.coochey.net">http://www.coochey.net</a>
<a class="moz-txt-link-freetext" href="http://www.netsecspec.co.uk">http://www.netsecspec.co.uk</a>
<a class="moz-txt-link-abbreviated" href="mailto:giles@coochey.net">giles@coochey.net</a>
</pre>
</body>
</html>