I installed using these options <br>./configure --prefix=/usr/local/nagios/ --enable-mysql --disable-pgsql
--with-ndo2db-user=nagios --with-ndo2db-group=nagios
-with-mysql-lib=/usr/lib64/<div>mysql --with-mysql-inc=/usr/include/mysql<br>
<br>make<br><br>make install<br><br>the <br></div> db_servertype=mysql is ok<br><br>but I still have the problem<br><br>Does anyone encountered the same problem ?<br><br>thank you <br>kaouther<br><br><br><div class="gmail_quote">
On Mon, Apr 20, 2009 at 6:24 PM, Jim Avery <span dir="ltr"><<a href="mailto:jim@jimavery.me.uk" target="_blank">jim@jimavery.me.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">2009/4/20 kaouther mechri <<a href="mailto:kmechri@gmail.com" target="_blank">kmechri@gmail.com</a>>:<br>
<div><div></div><div>> Dear all, I need t install ndoutil 1.4b7 for my nagios 3.<br>
><br>
> I've Msql-devel-5.1.33<br>
> I installed ndoutils with the following command<br>
><br>
> ./configure --disable-pgsql --enable-mysql --with-mysql-lib=/usr/lib/mysql<br>
> --with mysql-include=/usr/include/mysql<br>
> configure and make were ok.<br>
><br>
> but when I want to run ndo2db I have the following error message<br>
><br>
> /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg<br>
><br>
> "Support for the specified database server is either not yet supported or<br>
> was not found on your system"<br>
> I tried to connect to the database with the user/pass specified in<br>
> ndo2db.cfg and all things are ok<br>
><br>
> Do you have an idea please<br>
> kind regards<br>
> kaouther<br>
<br>
<br>
</div></div>In your configuration file /usr/local/nagios/etc/ndo2db.cfg, you<br>
should have the following:<br>
<br>
# DATABASE SERVER TYPE<br>
# This option determines what type of DB server the daemon should<br>
# connect to.<br>
# Values:<br>
# mysql = MySQL<br>
# pgsql = PostgreSQL<br>
<br>
db_servertype=mysql<br>
<br>
I don't know if it helps you at all, but when I ran configure I didn't<br>
bother specifying any options.<br>
</blockquote></div><br>