Page 1 of 1

Nagios Xi installation

Posted: Thu Apr 26, 2018 1:34 pm
by MOHANREDDY
Hello,

I am trying to Install Nagios Xi on a clean Offline Rhel 7.3 machine with all the prerequisites installed.
I followed the Offline installation document and I ran to the following error.


Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Crypt-Rijndael-1.09-2.el6.x86_64 (/perl-Crypt-Rijndael-1.09-2.el6.x86_64)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: nagiosxi-5-4.13.el6.x86_64 (/nagiosxi-5-4.13.el6.x86_64)
Requires: mysql-server
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26()(64bit)
Error: Package: perl-Mail-POP3Client-2.18-6.el6.noarch (/perl-Mail-POP3Client-2.18-6.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (/perl-Config-IniFiles-2.72-2.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Number-Format-1.73-3.el6.noarch (/perl-Number-Format-1.73-3.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (/perl-Net-SNMP-5.2.0-4.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: perl-Mail-IMAPClient-3.37-1.el6.noarch (/perl-Mail-IMAPClient-3.37-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (/php-pecl-ssh2-0.11.0-7.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (/php-pecl-ssh2-0.11.0-7.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Crypt-Rijndael-1.09-2.el6.x86_64 (/perl-Crypt-Rijndael-1.09-2.el6.x86_64)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: nagiosxi-5-4.13.el6.x86_64 (/nagiosxi-5-4.13.el6.x86_64)
Requires: mysql-server
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26()(64bit)
Error: Package: perl-Mail-POP3Client-2.18-6.el6.noarch (/perl-Mail-POP3Client-2.18-6.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (/perl-Config-IniFiles-2.72-2.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)

python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Number-Format-1.73-3.el6.noarch (/perl-Number-Format-1.73-3.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (/perl-Net-SNMP-5.2.0-4.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: perl-Mail-IMAPClient-3.37-1.el6.noarch (/perl-Mail-IMAPClient-3.37-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock


Do i need to install these packages? won't they come as a part of tarball?
Are there any other prerequisites needed other than mentioned in the document?

Re: Nagios Xi installation

Posted: Thu Apr 26, 2018 1:44 pm
by MOHANREDDY
MOHANREDDY wrote:Hello,

I am trying to Install Nagios Xi on a clean Offline Rhel 7.3 machine with all the prerequisites installed.
I followed the Offline installation document and I ran to the following error.


Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Crypt-Rijndael-1.09-2.el6.x86_64 (/perl-Crypt-Rijndael-1.09-2.el6.x86_64)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: nagiosxi-5-4.13.el6.x86_64 (/nagiosxi-5-4.13.el6.x86_64)
Requires: mysql-server
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26()(64bit)
Error: Package: perl-Mail-POP3Client-2.18-6.el6.noarch (/perl-Mail-POP3Client-2.18-6.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (/perl-Config-IniFiles-2.72-2.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Number-Format-1.73-3.el6.noarch (/perl-Number-Format-1.73-3.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (/perl-Net-SNMP-5.2.0-4.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: perl-Mail-IMAPClient-3.37-1.el6.noarch (/perl-Mail-IMAPClient-3.37-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

**********************************************************************
yum can be configured to try to resolve such errors by temporarily enabling
disabled repos and searching for missing dependencies.
To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf
**********************************************************************

Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (/php-pecl-ssh2-0.11.0-7.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: php-pecl-ssh2-0.11.0-7.el6.x86_64 (/php-pecl-ssh2-0.11.0-7.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Crypt-Rijndael-1.09-2.el6.x86_64 (/perl-Crypt-Rijndael-1.09-2.el6.x86_64)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: nagiosxi-5-4.13.el6.x86_64 (/nagiosxi-5-4.13.el6.x86_64)
Requires: mysql-server
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)
python(abi) = 2.7
python(abi) = 2.7

Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26()(64bit)
Error: Package: perl-Mail-POP3Client-2.18-6.el6.noarch (/perl-Mail-POP3Client-2.18-6.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: pymssql-1.0.2-4.el6.x86_64 (/pymssql-1.0.2-4.el6.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: perl-Config-IniFiles-2.72-2.el6.noarch (/perl-Config-IniFiles-2.72-2.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-bson-2.5.2-3.el6.1.x86_64 (/python-bson-2.5.2-3.el6.1.x86_64)
Requires: python(abi) = 2.6
Installed: python-2.7.5-48.el7.x86_64 (@anaconda/7.3)

python(abi) = 2.7
python(abi) = 2.7

Error: Package: perl-Number-Format-1.73-3.el6.noarch (/perl-Number-Format-1.73-3.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: freetds-0.91-2.el6.x86_64 (/freetds-0.91-2.el6.x86_64)
Requires: libgnutls.so.26(GNUTLS_1_4)(64bit)
Error: Package: perl-Net-SNMP-5.2.0-4.el6.noarch (/perl-Net-SNMP-5.2.0-4.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(api) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(api) = 20100412-64

Error: Package: php-mssql-5.3.3-4.el6.x86_64 (/php-mssql-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

Error: Package: perl-Mail-IMAPClient-3.37-1.el6.noarch (/perl-Mail-IMAPClient-3.37-1.el6.noarch)
Requires: perl(:MODULE_COMPAT_5.10.1)
Error: Package: python-pymongo-2.5.2-3.el6.1.x86_64 (/python-pymongo-2.5.2-3.el6.1.x86_64)
Requires: libpython2.6.so.1.0()(64bit)
Error: Package: php-mcrypt-5.3.3-4.el6.x86_64 (/php-mcrypt-5.3.3-4.el6.x86_64)
Requires: php(zend-abi) = 20090626
Installed: php-common-5.4.16-42.el7.x86_64 (@rhel-7-server-rpms)
php(zend-abi) = 20100525-64

You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock


Do i need to install these packages? won't they come as a part of tarball?
Are there any other prerequisites needed other than mentioned in the document?
The Perl packages should be installed by Nagios as well as the MySQL packages. Is there a permission issue. fullinstall is being run as root. This is NOT an easy application to install on Linux in the offline configuration. There are other Monitoring products which are much easier to install. You also don't have a document on offline installs which talk about the above issues -- permissions lack of installed modules. You need to really make this easier to install including the MySQL database.

Re: Nagios Xi installation

Posted: Thu Apr 26, 2018 1:46 pm
by scottwilkerson
You said you were on RHEL 7 but everything you are installing is for el6 which is for RHEL6.

Maybe you downloaded the wrong tarball, you need this one

Code: Select all

https://repo.nagios.com/nagiosxi-offline/nagiosxi-5-4.13.el7.x86_64.tar.gz

Re: Nagios Xi installation

Posted: Thu Apr 26, 2018 3:05 pm
by MOHANREDDY
Thanks, that helps and am able to Install without any errors.

Re: Nagios Xi installation

Posted: Thu Apr 26, 2018 3:23 pm
by npolovenko
@MOHANREDDY, Great, Let us know if its ok to lock the thread.

Re: Nagios Xi installation

Posted: Wed May 02, 2018 2:24 pm
by MOHANREDDY
Thanks a lot, everything looks and doing wonders.


Thanks again