Between the the release of Nagios XI 2011R1.7 and 1.8, several changes were made to the CentOS 6 repo that created package conflicts, preventing the Nagios XI installation scripts from completing successfully. This usually becomes apparent by the "fullinstall" script failing with one of the following two messages:
ERROR: Prerequisite program 'mysql' not found!
which: no mysqladmin in (/usr/local/bin:/bin:/usr/bin:/usr/local/sbin: /usr/sbin:/sbin:/home/admin/bin)
ERROR: Prerequisite program 'mysqladmin' not found!
7 prerequisite(s) missing - exiting.
ls: cannot access /usr/local/nagiosxi/nom/checkpoints/nagioscore/*.gz: No such file or directory
NO NOM SNAPSHOT FOUND!
ERROR: NagiosQL import appears to have failed - exiting. (Reason: Import files are still present in /usr/local/nagios/etc/import)
This issue can be resolved with the following solution if you're attempting to install with the 1.7 tarball. This problem will be resolved in the 2011R1.8 release of Nagios XI.
Before attempting any more installations, run:
yum install centos-release-cr
Then remove any previous /tmp/nagiosxi directory that is in place, and unpack a fresh tarball:
rm -rf nagiosxi
tar zxf xi-2011r1.7.tar.gz
If the installer still fails, contact XI support and attach the install.log file that's generated by the fullinstall script.
For any support related questions please visit the Nagios Support Forums at:
Article ID: 410
Created On: Tue, Feb 2, 2016 at 7:53 PM
Last Updated On: Mon, Feb 22, 2016 at 7:40 PM
Authored by: tlea
Online URL: https://support.nagios.com/kb/article/nagios-xi-centos-6-installation-problems-xi-2011r1-7-2011r1-8-410.html