<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<tt>suse:<br>
yast -i mysql-devel<br>
<br>
rhel/centos<br>
yum install mysql-devel<br>
<br>
debian/ubuntu<br>
apt-get install libmysqlclient15-dev<br>
<br>
---<br>
./configure --enable-mysql --with-mysql-lib=/usr/mysql/lib
--disable-pgsql<br>
make<br>
<br>
Kind regards,<br>
Michael<br>
</tt><br>
<br>
Carsten Schmidt wrote the following on 22.06.2009 21:54:
<blockquote cite="mid:4A3FE170.7040009@schmidt24.org" type="cite">
  <pre wrap="">Hello Natalie,

you need to compile ndoutils with mysql-support. A normal ./configure 
should find the required files, so maybe:

a) your system lacks the mysql-development-libraries (on debian/ubuntu 
the package is called "libmysqlclient-dev" I think).
configure should write out the following lines:
---------------------------------------------------------------------------------------------
checking mysql/mysql.h usability... yes
checking mysql/mysql.h presence... yes
checking for mysql/mysql.h... yes
MySQL library and include file(s) were found!
---------------------------------------------------------------------------------------------
If you have installed the development files just do "./configure && 
make" again.

b) configure can't just find them, for that case the README at 
ndoutils-1.4b7 told the following:

---------------------------------------------------------------------------------------------
Use the following commands to compile the NDO broker module, NDO2DB 
daemon, and
additional utilities:

        ./configure
        make

If the configure script is unable to locate your MySQL or PostgreSQL 
development
libraries, you may need to help it out by using the --with-mysql-lib or
--with-pgsql-lib options.  Here's an example:

        ./configure --with-mysql-lib=/usr/lib/mysql
---------------------------------------------------------------------------------------------

good luck
-- Carsten


Natalie Aloi schrieb:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello
 
I need some additional help for installing NDOUtils1.3.1 I am running 
nagios v2.11 and am trying to get nagvis installed
I have installed the mysql database and it has this information in it

mysql> CREATE DATABASE nagios;
ERROR 1007 (HY000): Can't create database 'nagios'; database exists
mysql> show databases;
+--------------------+
| Database |
+--------------------+
| information_schema |
| cactidb |
| mysql |
| nagios |
| test |
+--------------------+
5 rows in set (0.00 sec)

mysql> GRANT ALL ON nagios.* TO nagios@localhost IDENTIFIED BY "nagios";
Query OK, 0 rows affected (0.00 sec)

mysql> FLUSH PRIVILEGES;
Query OK, 0 rows affected (0.00 sec)

mysql> quit

I have run through the entire install process but when I get to this 
(see below) - I get an error referncing the database...I don't know 
what I am missing...Any help would be appreciated

[root@nagios sbin]# ndo2db-2x -c /etc/nagios/ndo2db.cfg
Support for the specified database server is either not yet supported, 
or was not found on your system.
<a class="moz-txt-link-abbreviated" href="mailto:e-mail:naloi@experisdatacenters.com">e-mail:naloi@experisdatacenters.com</a>
    </pre>
  </blockquote>
  <pre wrap=""><!---->
------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
<a class="moz-txt-link-freetext" href="http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org">http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org</a>
_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null

  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
DI (FH) Michael Friedrich
<a class="moz-txt-link-abbreviated" href="mailto:michael.friedrich@univie.ac.at">michael.friedrich@univie.ac.at</a>
Tel: +43 1 4277 14359

Vienna University Computer Center
Universitaetsstrasse 7 
A-1010 Vienna, Austria  
</pre>
</body>
</html>