Error while installing Nagios X1 on CentoOS

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
rishindra
Posts: 3
Joined: Thu Mar 12, 2020 5:53 am

Error while installing Nagios X1 on CentoOS

Post by rishindra »

I am getting below error while installing nagios X1 on my CentOs machine.

Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl-Net-SNMP
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: php-imap
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: php-mssql
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl(Crypt::Rijndael)
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: php-pecl-ssh2
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl(Class::Accessor)
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: python-pip
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: fping
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl-Mail-IMAPClient
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl-Math-Calc-Units
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: snmptt
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: python-pymssql
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: shellinabox
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: freetds-devel
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: freetds
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: perl-Number-Format
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: libmcrypt
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: libmcrypt-devel
Error: Package: nagiosxi-deps-el7-5.6.12-1.noarch (/nagiosxi-deps-el7-5.6.12-1.noarch)
Requires: python-simplejson
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
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: './1-prereqs'

Kindly suggest..
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing Nagios X1 on CentoOS

Post by scottwilkerson »

Is this server connected to the Internet with access to repositories?

If so, can you post the full install.log?

Thanks
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rishindra
Posts: 3
Joined: Thu Mar 12, 2020 5:53 am

Re: Error while installing Nagios X1 on CentoOS

Post by rishindra »

Yes server is connected to internet.

Attaching install.log here.
You do not have the required permissions to view the files attached to this post.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing Nagios X1 on CentoOS

Post by scottwilkerson »

Can you show the output of the following on your system

Code: Select all

yum provides perl-Net-SNMP
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
rishindra
Posts: 3
Joined: Thu Mar 12, 2020 5:53 am

Re: Error while installing Nagios X1 on CentoOS

Post by rishindra »

[root@localhost opt]# yum provides perl-Net-SNMP
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirrors.praction.in
* extras: mirrors.praction.in
* updates: mirrors.praction.in
No matches found
[root@localhost opt]#
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Error while installing Nagios X1 on CentoOS

Post by scottwilkerson »

Looks like you don't have the epel repo enabled

Can you show the following

Code: Select all

ll /etc/yum.repos.d
cat /etc/yum.repos.d/epel.repo
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked