I have tried to use the check_esxi_hardware.py python script but im not getting any answers.
This is the command im using:
python check_esxi_hardware.py -H https://10.x.x.x:5988 -U 'root' -P 'blablah' -v
This is the answer im getting:
20180423 16:12:40 LCD Status: True
20180423 16:12:40 Connection to https://10.x.x.x
20180423 16:12:40 Found pywbem version 0.8.0~dev
20180423 16:12:40 Check classe OMC_SMASHFirmwareIdentity
UNKNOWN: (0, 'Socket error: [Errno 110] Connection timed out')
I have found this old topic with the same problem:
Monitor hardware on ESXi with Python script
I already restarted the CIM via shell and GUI like suggested here:
https://www.claudiokuenzler.com/blog/308/check-esxi-hardware-faq-frequently-asked-questions
Any ideas?
Latest debian + ESXI 6.0
Hello,
1. Make sure the Monitoring Server is able to access tcp port 5989 (cim) on the ESX(i) server. Alternatively you can also set a different port with the -C parameter if you have a special DNAT or port forwarding in place.
2. Check if sfcbd-watchdog service, running on the ESXi server.
Hello,
1. Make sure the Monitoring Server is able to access tcp port 5989 (cim) on the ESX(i) server. Alternatively you can also set a different port with the -C parameter if you have a special DNAT or port forwarding in place.
2. Check if sfcbd-watchdog service, running on the ESXi server.
You were right the port was blocked by the Firewall. Stupid me, couldnt find it first but after checking every other port with telnet it got me