Re: [Nagios-users] NDOutil problem

2009-04-21 Thread kaouther mechri
I installed using these options
./configure --prefix=/usr/local/nagios/ --enable-mysql --disable-pgsql
--with-ndo2db-user=nagios --with-ndo2db-group=nagios
-with-mysql-lib=/usr/lib64/mysql --with-mysql-inc=/usr/include/mysql

make

make install

the
 db_servertype=mysql is ok

but I still have the problem

Does anyone encountered the same problem ?

thank you
kaouther


On Mon, Apr 20, 2009 at 6:24 PM, Jim Avery j...@jimavery.me.uk wrote:

 2009/4/20 kaouther mechri kmec...@gmail.com:
  Dear all, I need t install ndoutil 1.4b7 for my nagios 3.
 
  I've Msql-devel-5.1.33
  I installed ndoutils with the following command
 
  ./configure --disable-pgsql --enable-mysql
 --with-mysql-lib=/usr/lib/mysql
  --with mysql-include=/usr/include/mysql
  configure and make were ok.
 
  but when I want to run ndo2db I have the following error message
 
  /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg
 
  Support for the specified database server is either not yet supported or
  was not found on your system
  I tried to connect to the database with the user/pass specified in
  ndo2db.cfg and all things are ok
 
  Do you have an idea please
  kind regards
  kaouther


 In your configuration file /usr/local/nagios/etc/ndo2db.cfg, you
 should have the following:

  # DATABASE SERVER TYPE
  # This option determines what type of DB server the daemon should
  # connect to.
  # Values:
  #   mysql = MySQL
  #   pgsql = PostgreSQL

  db_servertype=mysql

 I don't know if it helps you at all, but when I ran configure I didn't
 bother specifying any options.

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

[Nagios-users] NDOutil problem

2009-04-20 Thread kaouther mechri
Dear all, I need t install ndoutil 1.4b7 for my nagios 3.

I've Msql-devel-5.1.33
I installed ndoutils with the following command

./configure --disable-pgsql --enable-mysql --with-mysql-lib=/usr/lib/mysql
--with mysql-include=/usr/include/mysql
configure and make were ok.

but when I want to run ndo2db I have the following error message

/usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

Support for the specified database server is either not yet supported or
was not found on your system
I tried to connect to the database with the user/pass specified in
ndo2db.cfg and all things are ok

Do you have an idea please
kind regards
kaouther
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Re: [Nagios-users] NDOutil problem

2009-04-20 Thread Jim Avery
2009/4/20 kaouther mechri kmec...@gmail.com:
 Dear all, I need t install ndoutil 1.4b7 for my nagios 3.

 I've Msql-devel-5.1.33
 I installed ndoutils with the following command

 ./configure --disable-pgsql --enable-mysql --with-mysql-lib=/usr/lib/mysql
 --with mysql-include=/usr/include/mysql
 configure and make were ok.

 but when I want to run ndo2db I have the following error message

 /usr/local/nagios/bin/ndo2db -c /usr/local/nagios/etc/ndo2db.cfg

 Support for the specified database server is either not yet supported or
 was not found on your system
 I tried to connect to the database with the user/pass specified in
 ndo2db.cfg and all things are ok

 Do you have an idea please
 kind regards
 kaouther


In your configuration file /usr/local/nagios/etc/ndo2db.cfg, you
should have the following:

  # DATABASE SERVER TYPE
  # This option determines what type of DB server the daemon should
  # connect to.
  # Values:
  #   mysql = MySQL
  #   pgsql = PostgreSQL

  db_servertype=mysql

I don't know if it helps you at all, but when I ran configure I didn't
bother specifying any options.

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null