Nagios xi installation error

This support forum board is for support questions relating to Nagios xi, our flagship commercial network monitoring solution.
antorres
Posts: 20
Joined: Thu Aug 22, 2013 12:11 pm

Nagios xi installation error

Post by antorres »

Hi everyone,

We've completed numerous Nagios xi installations in the past, but we haven't encountered this specific error before.

Has anyone else seen or resolved this particular issue? Any assistance would be greatly appreciated.

Thank you in advance for your help!

Code: Select all

'/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
/bin/echo "#! #PERL# -w" | /bin/gawk -f ./subst > check_mysql_health
/bin/echo "# nagios: -epn" >> check_mysql_health
/bin/echo >> check_mysql_health
/bin/echo "my %ERRORS=( OK => 0, WARNING => 1, CRITICAL => 2, UNKNOWN => 3 );" >> check_mysql_health
/bin/echo "my %ERRORCODES=( 0 => 'OK', 1 => 'WARNING', 2 => 'CRITICAL', 3 => 'UNKNOWN' );" >> check_mysql_health
for m in Nagios/DBD/MySQL/Server/Instance/Innodb.pm Nagios/DBD/MySQL/Server/Instance/Myisam.pm Nagios/DBD/MySQL/Server/Instance/Replication.pm Nagios/DBD/MySQL/Server/Instance.pm Nagios/DBD/MySQL/Server.pm Nagios/DBD/MySQL/Cluster.pm Nagios/Extraopts.pm; do \
        /bin/sed -e 's/^1;//g' < $m | /bin/gawk -f ./subst | /bin/grep -v "my %ERROR" >> check_mysql_health; \
done
if [ -d "/usr/local/nagios/libexec" ]; then \
        for m in /usr/local/nagios/libexec/CheckMySQLHealthExt*.pm; do \
                if [ -f $m ]; then \
                        /bin/echo found $m; \
                        /bin/sed -e 's/^1;//g' < $m | /bin/gawk -f ./subst | /bin/grep -v "my %ERROR" >> check_mysql_health; \
                fi \
        done \
fi
/bin/cat check_mysql_health.pl | /bin/grep -v "^use Nagios" | /bin/grep -v "^my %ERROR" | /bin/gawk -f ./subst >> check_mysql_health
chmod +x check_mysql_health
make[1]: Leaving directory '/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/plugins-scripts'
Making all in t
make[1]: Entering directory '/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2/t'
make[1]: Entering directory '/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
make[1]: Nothing to be done for 'all-am'.
make[1]: Leaving directory '/tmp/nagiosxi/subcomponents/extraplugins/check_mysql_health-2.1.8.2'
ExtUtils/MakeMaker.pm did not return a true value at Makefile.PL line 2.
BEGIN failed--compilation aborted at Makefile.PL line 2.
ERROR: Subcomponent 'extraplugins' 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'
gwesterman
Posts: 258
Joined: Wed Aug 23, 2023 11:29 am

Re: Nagios xi installation error

Post by gwesterman »

Hi @antorres,

What version of xi are you trying to install? What OS distribution are you installing it on? Is this a fresh install?

I also haven't seen this before, so any relevant info you can give is helpful.

Thank you!
antorres
Posts: 20
Joined: Thu Aug 22, 2013 12:11 pm

Re: Nagios xi installation error

Post by antorres »

Thank you very much for your response.
We have solved this issue by installing by repo method.
Thank you guys.
Best Regards.
gwesterman
Posts: 258
Joined: Wed Aug 23, 2023 11:29 am

Re: Nagios xi installation error

Post by gwesterman »

I'm happy you found a resolution!

I'm going to lock this thread to preserve forum tidiness.