Hi,
I am getting below error for ESX configuration . Please let me know how to resolve this error.
CHECK_VMWARE_API CRITICAL - Server version unavailable at 'https://xxx:443/sdk/vimService.wsdl' at /usr/local/share/perl5/VMware/VICommon.pm line 551.
CHECK_VMWARE_API CRITICAL - Server version unavailable
Re: CHECK_VMWARE_API CRITICAL - Server version unavailable
Can you post what command you used to do this check?
This is a good document regarding VMWare monitoring. I am aware you're running Core, but a lot of the same ideas still apply here regarding installing the SDK and whatnot.
This is a good document regarding VMWare monitoring. I am aware you're running Core, but a lot of the same ideas still apply here regarding installing the SDK and whatnot.
Former Nagios Employee.
me.
me.
Re: CHECK_VMWARE_API CRITICAL - Server version unavailable
I am running below command
./check_vmware_api -H xxx -u abc -p xyz -l mem
I have made below changes in script check_vmware_api
use strict;
use warnings;
use vars qw($PROGNAME $VERSION $output $values $result $defperfargs);
use Monitoring::Plugin::Functions qw(%STATUS_TEXT);
use Monitoring::Plugin;
use File::Basename;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
use HTTP::Date;
my $perl_module_instructions="
./check_vmware_api -H xxx -u abc -p xyz -l mem
I have made below changes in script check_vmware_api
use strict;
use warnings;
use vars qw($PROGNAME $VERSION $output $values $result $defperfargs);
use Monitoring::Plugin::Functions qw(%STATUS_TEXT);
use Monitoring::Plugin;
use File::Basename;
$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = 0;
use HTTP::Date;
my $perl_module_instructions="
Re: CHECK_VMWARE_API CRITICAL - Server version unavailable
Try adding use Net::SSL; to the script's "use" section.
Former Nagios employee
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: CHECK_VMWARE_API CRITICAL - Server version unavailable
I'm going to suggest that you try the box293_check_vmware plugin instead.
box293_check_vmware can be downloaded here:
http://exchange.nagios.org/directory/Pl ... re/details
it has a detailed manual with clear instructions showing you how to get up and running as soon as possible.
box293_check_vmware can be downloaded here:
http://exchange.nagios.org/directory/Pl ... re/details
it has a detailed manual with clear instructions showing you how to get up and running as soon as possible.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.