Page 1 of 2

ndo2db:Support for the specified database server is either

Posted: Thu Mar 26, 2015 1:00 pm
by gabrielsousa
can some one help me with this error.

ndo2db:Support for the specified database server is either not yet supported, or was not found on your system.
done.

nagios 4.0.8

Code: Select all

ndo2db_user=nagios
ndo2db_group=nagios
#socket_type=tcp
socket_type=unix
socket_name=/var/run/ndo.sock
tcp_port=5668
db_servertype=mysql
db_host=127.0.0.1
db_name=centreon_status
db_port=3306
db_prefix=nagios_
db_user=centreon
db_pass=centreon
max_timedevents_age=1440
max_systemcommands_age=1440
max_servicechecks_age=1440
max_hostchecks_age=1440
max_eventhandlers_age=1440

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:19 pm
by jolson
What server distribution and version of Nagios Core are you using? Have you tried the troubleshooting mentioned in this thread? http://support.nagios.com/forum/viewtop ... =7&t=26124

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:28 pm
by gabrielsousa
jolson wrote:What server distribution and version of Nagios Core are you using? Have you tried the troubleshooting mentioned in this thread? http://support.nagios.com/forum/viewtop ... =7&t=26124

FEDORA 12 - nagios core 4.0.8 - ndoutils-2.0.0

and i did try that the that thread with no succes :(

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:31 pm
by jdalrymple
Is selinux disabled? If not, please disable it and try again.

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:35 pm
by gabrielsousa
jdalrymple wrote:Is selinux disabled? If not, please disable it and try again.
[root@ns1 ~]# getenforce
Disabled

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:42 pm
by gabrielsousa
gabrielsousa wrote:
jolson wrote:What server distribution and version of Nagios Core are you using? Have you tried the troubleshooting mentioned in this thread? http://support.nagios.com/forum/viewtop ... =7&t=26124

FEDORA 12 - nagios core 4.0.8 - ndoutils-2.0.0

and i did try that thread with no succes :(

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:51 pm
by jdalrymple
Do you still have your config.log from when you compiled ndoutils? If so let's see it.

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 2:59 pm
by gabrielsousa
jdalrymple wrote:Do you still have your config.log from when you compiled ndoutils? If so let's see it.
yes i have

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 3:09 pm
by jdalrymple

Code: Select all

yum install mysql-devel
Then configure, make, make install again

Re: ndo2db:Support for the specified database server is eith

Posted: Thu Mar 26, 2015 3:17 pm
by gabrielsousa
jdalrymple wrote:

Code: Select all

yum install mysql-devel
Then configure, make, make install again

with this option ?

./configure --prefix=/usr/local/nagios/ --enable-mysql --with-mysql-lib=/usr/lib/mysql --with-ndo2db-user=nagios --with-ndo2db-group=nagios