VMware ESXi SOAP request error

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: VMware ESXi SOAP request error

Post by tgriep »

There are other plugin out there but I feel they may fail the same.
The error suggest that there is an temporary authentication issue which causing it to generate the error and the next time it runs, it works.
Go here and search for an alternate plugin.
https://exchange.nagios.org/

What version of the plugin are you running? Run this to see.

Code: Select all

/usr/local/nagios/libexec/check_vmware_api.pl --version
Be sure to check out our Knowledgebase for helpful articles and solutions!
marctonk
Posts: 15
Joined: Fri Jan 13, 2017 9:10 am

Re: VMware ESXi SOAP request error

Post by marctonk »

If I had to guess this is the most rebust plugin for this particular job. I'll look through and see if there is anything to test with.

I will create a new account on the ESXi host and test to see if that makes a difference.

UPDATE: A new account with full credentials did not work either. Still seeing the SOAP error's.

Running the command the output is:
check_vmware_api_pl 0.7.1
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: VMware ESXi SOAP request error

Post by tgriep »

I's hard to troubleshoot an intermittent issue but here is what I suggest to do next.
If you can connect the server to the internet, them reinstall the VMWare Perl SDK again and when it asks to download the Perl modules, say yes and wait for them to install.
It could be that the supplied Perl Modules with the SDK need to be updated.
Be sure to check out our Knowledgebase for helpful articles and solutions!
marctonk
Posts: 15
Joined: Fri Jan 13, 2017 9:10 am

Re: VMware ESXi SOAP request error

Post by marctonk »

Unfortunately this is a completely offline environment. Internet access is not an option. When looking at VMware's website I am running the newest version of VMware vSphere Perl SDK 6.5. I will see about bringing in a newer patch set, but the set we have is from May 1st 2019.
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: VMware ESXi SOAP request error

Post by tgriep »

One thing you can do, in the VMWare installer folder is a lib folder, those are the Perl modules that are installed if you do not download newer versions.
Find and download newer versions on an internet connected system and install them on the server to see if it helps.
Be sure to check out our Knowledgebase for helpful articles and solutions!
marctonk
Posts: 15
Joined: Fri Jan 13, 2017 9:10 am

Re: VMware ESXi SOAP request error

Post by marctonk »

I'll look into doing that this week.

I went ahead and reinstalled and noticed this after the successful installation prompt. From other threads and documentation it says to ignore it. But it seems like this could be the main problem.

"The following Perl modules were found on the system but may be too old to work with vSphere CLI:
MIME::Base64 3.14 or newer
Try::Tiny 0.22 or newer
LWP 6.15 or newer
Socket6 0.23 or newer
IO::Socket::INET6 2.71 or newer
Net::HTTP 6.09 or newer"
User avatar
tgriep
Madmin
Posts: 9190
Joined: Thu Oct 30, 2014 9:02 am

Re: VMware ESXi SOAP request error

Post by tgriep »

That list would be the first packages to upgrade if you can.
Be sure to check out our Knowledgebase for helpful articles and solutions!
Locked