Nagios XI INstallation error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Nagios XI INstallation error

Post by Johnsmit »

HI,
I am trying to install nagiosxi in an offline RHEL environment, i ran into error. I have installed all the pre-required packages and am getting this error.

Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
**********************************************************************
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: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
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


I tried to install the package seperately with rpm but again am getting the same error.

Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor::Fast)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
**********************************************************************
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: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor::Fast)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Class::Accessor)
Error: Package: perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch (/perl-Nagios-Monitoring-Plugin-0.51-1.el7.noarch)
Requires: perl(Math::Calc::Units)
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


Help will be appreciated and thanks,
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI INstallation error

Post by lmiltchev »

We were missing one of the dependencies - the "Math::Calc::Units" perl module.

You can download it on a machine with Internet access from here:

https://repo.nagios.com/nagiosxi-deps/7 ... noarch.rpm

Copy the file over to the "/tmp/rpms" directory, and run:

Code: Select all

cd /tmp/rpms/nagiosxi
./fullinstall
Let us know if this helped.
Be sure to check out our Knowledgebase for helpful articles and solutions!
MOHANREDDY
Posts: 81
Joined: Tue Apr 10, 2018 4:14 pm

Re: Nagios XI INstallation error

Post by MOHANREDDY »

Thanks it worked for me
User avatar
lmiltchev
Bugs find me
Posts: 13589
Joined: Mon May 23, 2011 12:15 pm

Re: Nagios XI INstallation error

Post by lmiltchev »

I am glad I could help!
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked