vSphere Web Client 監控 esxi 主機硬件狀態


開啟插件能對 vcenter 管理的 esxi 主機的硬件狀態進行監控。

以下操作均在 vcenter 主機上操作。

0x00 修改配置

文檔中關於啟用腳本插件支持的說明:

Enabling Script Plug-In Support in the vSphere Web Client

Support for vSphere Client script plug-ins is disabled by default in the vSphere Web Client. To enable support for script plug-ins, locate the webclient.properties file in the vSphere Web Client install directory, typically %ProgramData%\VMware\vSphere Web Client on the Windows operating system, and /var/lib/vmware/vsphere-client on Linux and MacOS. Add the following line to the webclient.properties file.

scriptPlugin.enabled = true

編輯 webclient.properties 文件

添加屬性字段

0x01 啟用服務

在系統中啟用VMware VirtualCenter Management Webservices服務,這個服務會開啟本機(vcenter)的8443端口

在 client 啟用插件時,會訪問 vcenter 的 8443 端口服務中的 xml 配置文件。

查看 xml 配置文件是否能訪問, url:https://[your vcenter ip]:8443/cim-ui/scriptConfig.xml。

0x02 啟用插件

在 vsphere client 中啟用插件。

插件——管理插件

右鍵 vCenter 硬件狀態——啟用

0x03 查看硬件狀態

開啟了此插件,能在管理的 esxi 主機上看到多出一個Hardware Status的選項,點開此選項后能看到該主機的硬件狀態:


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM