Closed SHEELE41 closed 1 year ago
I just tested this on a Cisco UCS blade server and the CIM Class VMware_EthernetPort
indeed does not show any values:
20230718 06:53:31 Check classe VMware_EthernetPort
20230718 06:53:31 Element Name = vmnic0
20230718 06:53:31 Element Name = vmnic1
20230718 06:53:31 Element Name = vmnic2
20230718 06:53:31 Element Name = vmnic3
20230718 06:53:31 Element Name = vmnic4
20230718 06:53:31 Element Name = vmnic5
20230718 06:53:31 Element Name = vmnic6
20230718 06:53:31 Element Name = vmnic7
However this is nothing that the check_esxi_hardware plugin can fix. If it could be fixed, it would be with an additional CIM/Information bundle from the hardware vendor or from VMware themselves. The plugin can only read what is presented from the CIM Server.
Marking as question and closing. If you feel that a change in the plugin itself could help, open again and let me know.
Before actually creating a new issue I confirm, I have read the FAQ (https://www.claudiokuenzler.com/blog/308/check-esxi-hardware-faq-frequently-asked-questions): Y I confirm, I have restarted the CIM server (
/etc/init.d/sfcbd-watchdog restart
) on the ESXi server and the problem remains: Y I confirm, I have cleared the server's local IPMI cache (localcli hardware ipmi sel clear
) and restarted the services (/sbin/services.sh restart
) on the ESXi server and the problem remains: YDescribe the bug I added some scripts to check_esxi_hardware.py to handle the VMWare_EthernetPort and VMWare_PCIDevice classes to get NIC status. However, the CIM server didn't give me any information about the NIC status.
Is HealthState still just a property that exists in the VMWare_Ethernetport/VMWare_PCIDevice schemas, not implemented?
Show the full plugin output, including the command with -v parameter
Expected behavior HealthState should be 5.
Versions:
Additional context Add any other context about the problem here.