Error installing Nagios XI package of ndoutils
Posted: Tue Dec 04, 2018 3:21 pm
Hello Support
My Name is Roy Brihand and am the CTO of MoovingON Reseller ID: 44002
I am trying to install Nagios XI latest to a new customer that we running POC to replace anther Monitoring platform
I am unable to install Nagios XI on a Red Hat 7.3 and 7.6 with Nagios Instruction taken from
https://assets.nagios.com/downloads/nag ... -Linux.pdf
I am getting the follow error on the make of package ndoutils -> ndo2db
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.2/src'
gcc -fPIC -fPIC -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c
gcc -fPIC -fPIC -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl
make ndo2db-2x
make[2]: Entering directory
`/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.2/src'
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c
db.c: In function 'ndo2db_db_init':
db.c:169:29: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
if(!mysql_init(&idi->dbinfo.mysql_conn)){db.c: In function 'ndo2db_db_connect':
db.c:211:16: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
&idi->dbinfo.mysql_conn,
see attached install.zip that I tried on CnetOS 7.5 with the same errors
I have tried to install also older version of Nagios XI 5.5 and 5.4 and got
the same errors
I have follow the instruction from Nagios XI documents to install only the ndoutils without success as well - same error
https://support.nagios.com/forum/viewtopic.php?f=7 that point me to self install https://support.nagios.com/kb/article.php?id=406 -
also didn't work
Tried installing older version of ndoutils-2.1.2 and ndoutils-2.1.1 also got the same issue
The Database is MariaDB 10.3
I need to finish this POC next week and this issue is blocking me since the
Nagios XI is the main platform for this POC - please help ASAP
Thanks
Roy
My Name is Roy Brihand and am the CTO of MoovingON Reseller ID: 44002
I am trying to install Nagios XI latest to a new customer that we running POC to replace anther Monitoring platform
I am unable to install Nagios XI on a Red Hat 7.3 and 7.6 with Nagios Instruction taken from
https://assets.nagios.com/downloads/nag ... -Linux.pdf
I am getting the follow error on the make of package ndoutils -> ndo2db
make[1]: Entering directory `/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.2/src'
gcc -fPIC -fPIC -g -O2 -DHAVE_CONFIG_H -c -o io.o io.c
gcc -fPIC -fPIC -g -O2 -DHAVE_CONFIG_H -c -o utils.o utils.c
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o file2sock file2sock.c io.o utils.o -lm -lnsl
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -o log2ndo log2ndo.c io.o utils.o -lm -lnsl
make ndo2db-2x
make[2]: Entering directory
`/tmp/nagiosxi/subcomponents/ndoutils/ndoutils-2.1.2/src'
gcc -fPIC -g -O2 -DHAVE_CONFIG_H -c -o db.o db.c
db.c: In function 'ndo2db_db_init':
db.c:169:29: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
if(!mysql_init(&idi->dbinfo.mysql_conn)){db.c: In function 'ndo2db_db_connect':
db.c:211:16: error: 'ndo2db_dbconninfo' has no member named 'mysql_conn'
&idi->dbinfo.mysql_conn,
see attached install.zip that I tried on CnetOS 7.5 with the same errors
I have tried to install also older version of Nagios XI 5.5 and 5.4 and got
the same errors
I have follow the instruction from Nagios XI documents to install only the ndoutils without success as well - same error
https://support.nagios.com/forum/viewtopic.php?f=7 that point me to self install https://support.nagios.com/kb/article.php?id=406 -
also didn't work
Tried installing older version of ndoutils-2.1.2 and ndoutils-2.1.1 also got the same issue
The Database is MariaDB 10.3
I need to finish this POC next week and this issue is blocking me since the
Nagios XI is the main platform for this POC - please help ASAP
Thanks
Roy