Vsphere Esxi 啟用 SNMP Monitoring

https://www.librenms.org/
回覆文章
yehlu
Site Admin
文章: 3244
註冊時間: 2004-04-15 17:20:21
來自: CodeCharge Support Engineer

Vsphere Esxi 啟用 SNMP Monitoring

文章 yehlu »

http://my-fish-it.blogspot.com/2015/02/ ... oring.html

「Vsphere Esxi」啟用「SNMP」服務發生「錯誤訊息」,這是因為預設「Esxi」主機,沒有設定「SNMP」。「/etc/vmware/snmp.xml」內容為「空值」,需要手動修改「/etc/vmware/snmp.xml」才能啟動成功。




1. 修改「/etc/vmware/snmp.xml」(Esxi Host)

開始設定「SNMP」服務
<?xml version="1.0"?> <config><snmpSettings>

啟動「Snmp」服務,監控「161」Port (UDP)
<enable>true</enable> <port>161</port>

設定「群體廣播」
<communities>SNMP_1</communities>

選擇「SNMP」監控「服務器」
<targets>192.168.8.143</targets>

結束設定「SNMP」服務
</snmpSettings></config>

2.完成範例如下


3. VMware vSphere Client 登入「Esxi」重啟「snmpd」服務
回覆文章

回到「LibreNMS」