Page 1 of 1
Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 12:59 pm
by awilson
Hi. I'm preparing to start an install of Nagios XI using xi-latest.tar.gz on RHEL 7.2. I see in the post, "Nagios restart command failed"
https://support.nagios.com/forum/viewto ... it=systemd the customer ran into some difficulties. The resolution was pulled into a ticket and isn't in the forum.
Is there guidance or other considerations that we should follow to installing on RHEL 7 instead of 6?
Thanks!
Alan
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 1:46 pm
by awilson
Hi.
I've attempted an install. I have the following dependency errors:
- --> Finished Dependency Resolution
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-fonts
Error: Package: nagiosxi-deps-el7-5.2.9-1.noarch (/nagiosxi-deps-el7-5.2.9-1.noarch)
Requires: perl-Config-Tiny
Error: Package: perl-Net-SNMP-6.0.1-7.el7.noarch (epel)
Requires: perl(Crypt::DES)
Error: Package: nagiosxi-deps-el7-5.2.9-1.noarch (/nagiosxi-deps-el7-5.2.9-1.noarch)
Requires: php-snmp
Error: Package: rrdtool-1.4.9-1.el7.x86_64 (nagiosxi-deps)
Requires: dejavu-lgc-sans-mono-fonts
Error: Package: nagiosxi-deps-el7-5.2.9-1.noarch (/nagiosxi-deps-el7-5.2.9-1.noarch)
Requires: gd-devel
Error: Package: perl-Mail-IMAPClient-3.37-1.el7.noarch (epel)
Requires: perl(Parse::RecDescent)
Error: Package: nagiosxi-deps-el7-5.2.9-1.noarch (/nagiosxi-deps-el7-5.2.9-1.noarch)
Requires: php-mbstring
I installed Config::Tiny, Crypt::DES, and Parse::RecDescent using cpan. I restarted my shell so that I would pickup the new environment variables cpan added when it was installed. I still get the dependency errors for the three perl modules. Is there a way to tell the installer that the modules are there? Should I just for forward and use --skip-broken as yum suggests? RHEL 7 uses python 2.7.5. The installed perl is v5.16.3. Any thoughts?
Thanks!
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 1:57 pm
by tmcdonald
What OS installation did you perform? Was it a minimal or a full GUI, or something in between? Any proxies in use, or alternate repos?
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 2:01 pm
by awilson
We requested minimal. A server team has to build them for us. //smile
I just found Installing the post "Nagios XI on RedHat Error,"
https://support.nagios.com/forum/viewto ... 89#p149418. I see that this dev system is not configured to use the subscriptions. I'll have that resolved and report back.
Thanks!
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 2:02 pm
by bwallace
Sounds good, this thread will remain open in the meantime.
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Fri Aug 19, 2016 2:10 pm
by awilson
Thanks. We'll probably not get that done until Monday. On the cpan vs yum install question, is there something we should do so that installing perl modules via cpan meets a dependency check?
Alan
Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.
Posted: Mon Aug 22, 2016 10:46 am
by tmcdonald
Do you mean installing a Perl module in CPAN in such a way that yum sees it as installed? If so:
https://www.centos.org/forums/viewtopic ... 91#p100460
Looks like a "no", at least not easily or in a way I know of. Sometimes CPAN is unavoidable, but for all the basic things that XI needs to run, I think YUM handles the dependencies without issue.