При установке NagiosXI возникает ошибка:
mv -f .deps/check_uptime.Tpo .deps/check_uptime.Po
gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../gl -I../intl -I/usr/include/ldap -I/usr/include -I/usr/include/mysql -I/usr/include/mysql/mysql -DNP_VERSION='"2.0.3"' -I/usr/include/mysql -I/usr/include/mysql/mysql -g -O2 -MT check_mysql_query-check_mysql_query.o -MD -MP -MF .deps/check_mysql_query-check_mysql_query.Tpo -c -o check_mysql_query-check_mysql_query.o `test -f 'check_mysql_query.c' || echo './'`check_mysql_query.c
check_mysql.c:61:24: ошибка: «MYSQL_PORT» undeclared here (not in a function)
unsigned int db_port = MYSQL_PORT;
^
make[2]: *** [check_mysql-check_mysql.o] Ошибка 1
make[2]: *** Ожидание завершения заданий...
check_mysql_query.c:51:24: ошибка: «MYSQL_PORT» undeclared here (not in a function)
unsigned int db_port = MYSQL_PORT;
^
make[2]: *** [check_mysql_query-check_mysql_query.o] Ошибка 1
make[2]: Выход из каталога `/tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.3/plugins'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/tmp/nagiosxi/subcomponents/nagiosplugins/nagios-plugins-2.0.3'
make: *** [all] Ошибка 2
ERROR: Subcomponent 'nagiosplugins' installation failed - exiting.
Subcomponents installation failed - exiting
RESULT=1
===================
INSTALLATION ERROR!
===================
Installation step failed - exiting.
Check for error messages in the install log (install.log).
If you require assistance in resolving the issue, please include install.log
in your communications with Nagios XI technical support.
The script that failed was: './A-subcomponents'