I have a VMWare ESXi 5.0 host server that I am monitoring with PRTG. I
would like to monitor the disk storage status of the server, however when I
try to add the SSH VMWare ESX(i) Disk Sensor I receive the following
error:
Socket error on connecting. WSAGetLastError return 10060($274C).
I am currently monitoring the same server successfully with a VMware Host
Server (SOAP) sensor without any issues. Is there a setting that I need to
configure on the host, or in the PRTG software to enable this to connect
successfully?
Article Comments
Enable SSH
Can you access your Server with any other ssh-client?
On ESXi servers SSH is not activated by default. If you haven't activated SSH yet, take a look at e.g. http://www.thomasmaurer.ch/2011/08/enable-ssh-on-esxi-5-via-vsphere-client/
Handle SSH Warnings
Note: The inconvenience you are faced with since ESXi version 5.x is that you will be reminded by your vSphereClient in the Host-Summary-page, section 'Confirmation Issue', that 'SSH for the host has been enabled'. And there will be a warning sign at the host-icon.
HowTo Disable These Warnings
- Select the ESXi host from the Inventory.
- Select Advanced Settings from the Software menu.
- Navigate to UserVars > UserVars.SuppressShellWarning.
- Set the value from 0 to 1.
- Click OK.
HowTo Disable These Warnings Using Esxcli
- Connect to the ESXi host through SSH using root credentials.
- Run the following command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
HowTo Re-Enable These Warnings Using Esxcli
- Connect to the ESXi host through SSH using root credentials.
- Run the following command:
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 0
Thanks, Paul, for sending in these tips!
Feb, 2012 - Permalink
Enable SSH
Can you access your Server with any other ssh-client?
On ESXi servers SSH is not activated by default. If you haven't activated SSH yet, take a look at e.g. http://www.thomasmaurer.ch/2011/08/enable-ssh-on-esxi-5-via-vsphere-client/
Handle SSH Warnings
Note: The inconvenience you are faced with since ESXi version 5.x is that you will be reminded by your vSphereClient in the Host-Summary-page, section 'Confirmation Issue', that 'SSH for the host has been enabled'. And there will be a warning sign at the host-icon.
HowTo Disable These Warnings
HowTo Disable These Warnings Using Esxcli
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 1
HowTo Re-Enable These Warnings Using Esxcli
esxcli system settings advanced set -o /UserVars/SuppressShellWarning -i 0
Thanks, Paul, for sending in these tips!
Feb, 2012 - Permalink