error connecting to vmware esxi 6.5 servers.
-
rdobbsmacu
- Posts: 36
- Joined: Tue Apr 28, 2015 3:11 pm
error connecting to vmware esxi 6.5 servers.
"ESX3 CRITICAL - Error connecting to server at 'https://ipaddress/sdk/webService': Perhaps host is not a vCenter or ESX server" getting this message for all monitored services on my 6.5 ESXi hosts.
Re: error connecting to vmware esxi 6.5 servers.
Was this check working and then it stopped or are you trying to setup a new check on the Nagios server?
If it was an existing check that is failing now, verify that the username or password used to connect to the VMWare Vcenter server has not expired and is still valid.
If it is a new check, lets upgrade the check_esx3 plugin and see if that fixed the issue.
Follow these instructions to do that.
First, login to the XI server as root and make a backup of the existing one by running the following.
Then run the following to install a required Perl Module for the new plugin.
Then download this updated plugin to your PC.
https://github.com/shinken-monitoring/p ... k_esx3.pl
After it is downloaded, login to the XI GUI and go to the Admin > Manage Plugins menu
Browse to the new plugin and then click on the Upload Button.
That should upgrade the plugin and at the next scheduled check, see if the error is gone and that the plugin connects to the VMWare server.
If it was an existing check that is failing now, verify that the username or password used to connect to the VMWare Vcenter server has not expired and is still valid.
If it is a new check, lets upgrade the check_esx3 plugin and see if that fixed the issue.
Follow these instructions to do that.
First, login to the XI server as root and make a backup of the existing one by running the following.
Code: Select all
cp /usr/local/nagios/libexec/check_esx3.pl /usr/local/nagios/libexec/check_esx3.pl.oldCode: Select all
yum install perl-Nagios-Pluginhttps://github.com/shinken-monitoring/p ... k_esx3.pl
After it is downloaded, login to the XI GUI and go to the Admin > Manage Plugins menu
Browse to the new plugin and then click on the Upload Button.
That should upgrade the plugin and at the next scheduled check, see if the error is gone and that the plugin connects to the VMWare server.
Be sure to check out our Knowledgebase for helpful articles and solutions!