Nagios XI installation

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

Post by Johnsmit »

I am trying to install nagiosxi on site2, an offline environment, i ran into 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 have installed all the pre-required packages and am getting this error.
You do not have the required permissions to view the files attached to this post.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios XI installation

Post by Johnsmit »

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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI installation

Post by cdienger »

What OS is this being installed on? Do you see these on the filesystem:

/usr/share/perl5/Class/Accessor.pm
/usr/share/perl5/Class/Accessor/Fast.pm
/usr/share/perl5/vendor_perl/Math/Calc/Units.pm

? I believe these should be available on the local repo or mounted OS DVD.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios XI installation

Post by Johnsmit »

Hi,

I am installing on RHEL 7.3. i didn't see any of the files you mentioned.

[root@server Class]# pwd
/usr/share/perl5/Class
[root@server perl5]# cd Class/
[root@server-01 Class]# ls
Struct.pm
[root@server Class]#yum list Accessor.pm
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager, versionlock
Error: No matching Packages to list
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, versionlock



i am not able to see any of the packages in the repo.

i have 2 linux servers of the same configuration and packages and all, installation went well on 1 server but the other is not doing well
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios XI installation

Post by cdienger »

My mistake - you can actually get the dependencies from https://repo.nagios.com/nagiosxi-deps/7/. I'd also point out too that they should be in the offline install: https://repo.nagios.com/?repo=offline#install
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios XI installation

Post by Johnsmit »

Thanks, that helped me.
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI installation

Post by tmcdonald »

Did you have further (related) questions or are we good to lock this up?
Former Nagios employee
Johnsmit
Posts: 95
Joined: Thu Apr 19, 2018 2:03 pm

Re: Nagios XI installation

Post by Johnsmit »

yes, you can lock up this thread.
Thanks
Locked