Page 1 of 1

Nagios XI INstallation error

Posted: Thu May 10, 2018 9:36 am
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,

Re: Nagios XI INstallation error

Posted: Thu May 10, 2018 3:06 pm
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.

Re: Nagios XI INstallation error

Posted: Thu May 10, 2018 3:30 pm
by MOHANREDDY
Thanks it worked for me

Re: Nagios XI INstallation error

Posted: Thu May 10, 2018 3:46 pm
by lmiltchev
I am glad I could help!