Nagios XI Install on RHEL 7 - Impact of systemd etc.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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!
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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?
Former Nagios employee
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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!
bwallace
Posts: 1145
Joined: Tue Nov 17, 2015 1:57 pm

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post by bwallace »

Sounds good, this thread will remain open in the meantime.
Be sure to check out the Knowledgebase for helpful articles and solutions!
awilson
Posts: 224
Joined: Mon Mar 21, 2016 1:20 pm

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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
tmcdonald
Posts: 9117
Joined: Mon Sep 23, 2013 8:40 am

Re: Nagios XI Install on RHEL 7 - Impact of systemd etc.

Post 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.
Former Nagios employee
Locked