Screen Shot attachedServer version unavailable at 'https://xxxxxxxxxxxx:443/sdk/vimService.wsdl' at /usr/share/perl5/VMware/VICommon.pm line 734.
Nagios XI Vmware Wizard Problem
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Nagios XI Vmware Wizard Problem
Used Vmware perl SDK version 6.5 . On discovery of Guest VM on Vcenter having the following issue
You do not have the required permissions to view the files attached to this post.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Nagios XI Vmware Wizard Problem
I suggest the most recent version of the VMware SDK be installed before troubleshooting any further.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI Vmware Wizard Problem
Hi
The document https://assets.nagios.com/downloads/nag ... ios-XI.pdf Suggests not to use latest 6.7 version
The document https://assets.nagios.com/downloads/nag ... ios-XI.pdf Suggests not to use latest 6.7 version
Important: There have been some issues with SDK 6.7. We recommend downloading SDK 6.5 instead.
Re: Nagios XI Vmware Wizard Problem
Try adding the line below in the vmware plugin that you are using right on the top (just below the comments):
You could also try adding it to your shell, for example in bashrc file.
Some users reported that adding this line fixed their issues.
On the side note, can you actually connect to your server by running the following commands from the command line?
You need to substitute '<username>' and '<password>' with the actual values. Thanks!
Code: Select all
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;Some users reported that adding this line fixed their issues.
On the side note, can you actually connect to your server by running the following commands from the command line?
Code: Select all
cd /usr/lib/vmware-vcli/apps/general
./connect.pl --url https://x.x.x.x/sdk/vimService --username '<username>' --password '<password>'Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI Vmware Wizard Problem
I have Added
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
to /etc/bashrc and both /usr/local/nagios/libexec/check_vmware_api.pl and /usr/local/nagios/libexec/check_esx3.pl
But the Configuration wizard still shows same error .
Also output of
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
to /etc/bashrc and both /usr/local/nagios/libexec/check_vmware_api.pl and /usr/local/nagios/libexec/check_esx3.pl
But the Configuration wizard still shows same error .
Also output of
Code: Select all
# ./connect.pl --url https://xxxxxxxxxxxx/sdk/vimService --username 'xxxxxxxxxxxx' --password 'xxxxxxxxx'
Connection Successful
Re: Nagios XI Vmware Wizard Problem
OK, try reinstalling the SDK. When you see the "success" message:
at the end of the install, check if there are any perl modules that are listed as "old". You may have to update some or all of these modules in order for the plugin to work correctly.Enjoy --the VMware team"
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI Vmware Wizard Problem
So reinstalled SDK got
Enjoy --the VMware team"
with Older Perl Modules
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
So updated then with
cpan -i modules
Now the Error has changed as attached
Enjoy --the VMware team"
with Older Perl Modules
LWP 6.15 or newer
LWP::Protocol::https 6.04 or newer
Socket6 0.23 or newer
Net::HTTP 6.09 or newer
So updated then with
cpan -i modules
Now the Error has changed as attached
You do not have the required permissions to view the files attached to this post.
Re: Nagios XI Vmware Wizard Problem
You may need to add one more line to your plugin:
Example:
See this post:
https://support.nagios.com/forum/viewto ... 8&start=10
Example:
Code: Select all
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
require IO::Socket::SSL; IO::Socket::SSL -> import(); IO::Socket::SSL::set_ctx_defaults( SSL_verify_mode => 0 );https://support.nagios.com/forum/viewto ... 8&start=10
Be sure to check out our Knowledgebase for helpful articles and solutions!
-
biswajit.banerjee
- Posts: 152
- Joined: Fri Dec 08, 2017 10:24 pm
Re: Nagios XI Vmware Wizard Problem
I have Added the mentioned lines in both the Plugins i.e /usr/local/nagios/libexec/check_vmware_api.pl and /usr/local/nagios/libexec/check_esx3.pl
But did not help . The error remains the same
But did not help . The error remains the same
Re: Nagios XI Vmware Wizard Problem
I would recommend opening a new support ticket via our support center here:
https://support.nagios.com/tickets/
in order to further troubleshoot the issue.
https://support.nagios.com/tickets/
in order to further troubleshoot the issue.
Be sure to check out our Knowledgebase for helpful articles and solutions!