SDK Prerequisites

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
flender
Posts: 16
Joined: Fri Dec 24, 2021 7:15 am

SDK Prerequisites

Post by flender »

Hi,

I am trying to install SDK prerequisites on CentOS 8 to be able to monitor VMware on XI, but there seems to be some issue regarding Perl modules (picture in attachments).

These are the instructions I was following: https://assets.nagios.com/downloads/nag ... ios-XI.pdf

What would be the optimal approach to resolve it?

Kind regards.
You do not have the required permissions to view the files attached to this post.
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: SDK Prerequisites

Post by gsmith »

Hi

What were the outputs when you ran:

yum install -y libxml2-devel libxml2 libuuid-devel perl-XML-LibXML perl-Env
yum remove perl-Crypt-SSLeay -y
export PERL_MM_USE_DEFAULT=1
cpan -i App::cpanminus
cpanm Crypt::SSLeay --dev
cpan -i Nagios::Monitoring::Plugin Nagios::Monitoring::Plugin::Functions

Thanks
flender
Posts: 16
Joined: Fri Dec 24, 2021 7:15 am

Re: SDK Prerequisites

Post by flender »

Hi,

Thank you for the reply.

Outputs are in the PDF file attached.

Regards.
You do not have the required permissions to view the files attached to this post.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SDK Prerequisites

Post by ssax »

EDIT: Try doing this:

Code: Select all

unset PERL5LIB
unset PERL_MB_OPT
unset PERL_MM_OPT
unset PERL_LOCAL_LIB_ROOT
export PERL5LIB=/usr/local/lib64/perl5/
Then re-run the vmware install (I think you'll have to do it twice, once to uninstall the current, once to install it again) following page 3 of this doc:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

There isn't a typo, the command right before the cpanm command installs cpanm, I don't see any errors in the output though. If the above steps don't resolve it, it's likely environment related or PERL5LIB related, please PM me the output of these commands as root:

Code: Select all

env
perl -e "print qq(@INC)"
su - nagios
env
perl -e "print qq(@INC)"
flender
Posts: 16
Joined: Fri Dec 24, 2021 7:15 am

Re: SDK Prerequisites

Post by flender »

Hi,

I followed your steps, reinstalled vmware couple of times, but the output is the same.

As you mentioned, it could be that it's environment related, since I am testing it on virtual machine with CentOS 8 server version.

In the past, I used something similar, believe it's minimal install. I also had issues installing vmware there as well, with a different error output however.

I am testing some Nagios XI monitoring functions in the virtual environment at the moment, since I am planning to move it to the physical server in the future.

Also, is there some other OS that you would recommend for Nagios XI?
And is it important that I use minimal install, or it can also be server install?

I am sending you the output of the commands in PM soon, as required.

Regards.
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SDK Prerequisites

Post by ssax »

Cent/RHEL 7 right now have the best compatibility with 3rd party tools like Oracle/VMWare/Dell EMC wizard.

Please create a ticket for this and include a link back to this forum thread so we can get a remote session setup as we should be able to get it working properly:

https://support.nagios.com/tickets/

Thank you!
flender
Posts: 16
Joined: Fri Dec 24, 2021 7:15 am

Re: SDK Prerequisites

Post by flender »

I created the ticket.

Also have tested vmware setup on cent 7 and it all worked fine.

Thanks!
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: SDK Prerequisites

Post by ssax »

Locking thread, ticket received, we will continue support through the ticket.

Thank you!
Locked