[smartmontools-support] 回复: smartctl error on ESXi 6.7
Claudio Kuenzler
napsty at gmail.com
Tue Jun 6 07:06:48 CEST 2023
>
>
> Never mind! I figured out that esxcli can return some SMART info of the
> NVME drive which help me understand the NVME status.
>
Depending on the hardware integration of the vendor, you might also be able
to catch SMART errors by using the CIM server. This is integrated in all
ESXi versions. You can query the CIM server from remote, you don't need to
enable SSH and log in locally on the ESXi server to run some commands.
To enable the CIM server:
https://www.claudiokuenzler.com/blog/1280/how-to-enable-cim-server-wbem-service-esxi-8
To query the CIM server you can either write your own Python script using
pywbem or use check_esxi_hardware which notifies you when hardware alerts
are detected:
https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php
Again, this depends on how the hardware vendor integreated the CIM
monitoring. On some servers (I can't remember the vendor unfortunately) I
have seen SMART errors popping up and soft failures on a particular HDD CIM
element.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://listi.jpberlin.de/pipermail/smartmontools-support/attachments/20230606/8b77011f/attachment.htm>
More information about the Smartmontools-support
mailing list