Page 1 of 1

SDK Prerequisites

Posted: Fri Dec 24, 2021 7:23 am
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.

Re: SDK Prerequisites

Posted: Mon Dec 27, 2021 11:11 am
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

Re: SDK Prerequisites

Posted: Wed Dec 29, 2021 6:01 am
by flender
Hi,

Thank you for the reply.

Outputs are in the PDF file attached.

Regards.

Re: SDK Prerequisites

Posted: Wed Dec 29, 2021 12:53 pm
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)"

Re: SDK Prerequisites

Posted: Wed Dec 29, 2021 2:52 pm
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.

Re: SDK Prerequisites

Posted: Wed Dec 29, 2021 8:19 pm
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!

Re: SDK Prerequisites

Posted: Thu Dec 30, 2021 10:34 am
by flender
I created the ticket.

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

Thanks!

Re: SDK Prerequisites

Posted: Mon Jan 03, 2022 12:18 pm
by ssax
Locking thread, ticket received, we will continue support through the ticket.

Thank you!