<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-7056782426370535291"><div dir="ltr"><br>
<div style="font-family:Calibri,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)">
Never mind! I figured out that esxcli can return some SMART info of the NVME drive which help me understand the NVME status.<br></div></div></div></blockquote><div><br></div><div>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.</div><div><br></div><div>To enable the CIM server:</div><div><a href="https://www.claudiokuenzler.com/blog/1280/how-to-enable-cim-server-wbem-service-esxi-8">https://www.claudiokuenzler.com/blog/1280/how-to-enable-cim-server-wbem-service-esxi-8</a></div><div><br></div><div>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:</div><div><a href="https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php">https://www.claudiokuenzler.com/monitoring-plugins/check_esxi_hardware.php</a></div><div><br></div><div>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.<br></div></div></div>