-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error connecting to server at 'https://{IP}/sdk/webService': Connection refused #159
Comments
Hi, |
Oh dear, well that was a good start then, calling it a fork. Sorry about that Sure, didn't think about posting the output, but here it is: VMware ESXi Command:
VMware ESXi Output:
VMware vSphere Command: (Host in Cluster)
VMware vSphere Output: (Host in Cluster)
|
Ok. Seems clear. What happens if you try to connect with a browser or a tool like curl or wget at that URL? I think this problem is not caused by the plugin. It's caused by VMWare server connection or firewall or routing. You can also try the command line tools deliverd with VMware's SDK for first test. If you can't check it directly try checking via Vcenter. I normally avoid this because if the Vcenter is down all checks will even if the servers are ok. |
You are right, since the output with VMware ESXi Command:
VMware ESXi Output:
Whereas the direct Host query of the vCenter server gives me the following. VMware vSphere Command: (Host in Cluster)
VMware vSphere Output: (Host in Cluster)
But I can access the above URL in my browser and enter my credentials without any problems. So it looks like, only the host I use the |
Sorry - can't help because I can't reproduce the error.And it's not an issue for the plugin. |
Hi guys,
I was looking for a Nagios Plugin to check present snapshots on our ESXi hosts and warn in Icinga2, if there are any present for more than xx days.
I found your fork and did everything it said in the Readme but for some reason it does not work for all our ESXi hosts.
This is the constellation we are using:
We have several servers with just VMware ESXi installed and they are working fine as I can query them with the Perl script.
We however do also have VMware vSphere server which has a datacenter and some clusters and hosts in the clusters. Now when I use the Perl script as follows to query the hosts in the cluster or the VMware vSphere server itself, I always get the error message in the title.
Command (Host in cluster):
Normally the error "connection refused" leads me checking our firewall, since it could be blocking something but this is not the case this time. Could it be, that the VMware vSphere Server or any of the hosts is blocking something?
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: