如何啟動 ESXI 5.0.0 snmp 服務
1.編輯 /etc/vmware/snmp.xml 設定true
2.檢視ESXI授權,free版本不支援snmp
3.使用VMware vSphere CLI執行下列指令 (記得要先安裝 VMware vSphere CLI)
1.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --show
Current SNMP agent settings:
Enabled : 0
UDP port : 161
Communities :
Notification targets :
Options :
EnvEventSource=indications
2.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --c public
Changing community list to: public...
Complete.
3.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --enable
Enabling agent...
Complete.
4.完成啟動ESXI 5.0.0 snmp
1.編輯 /etc/vmware/snmp.xml 設定
2.檢視ESXI授權,free版本不支援snmp
3.使用VMware vSphere CLI執行下列指令 (記得要先安裝 VMware vSphere CLI)
1.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --show
Current SNMP agent settings:
Enabled : 0
UDP port : 161
Communities :
Notification targets :
Options :
EnvEventSource=indications
2.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --c public
Changing community list to: public...
Complete.
3.C:\Program Files (x86)\VMware\VMware vSphere CLI>vicfg-snmp.pl --server your-server-IP --username root --password your-password --enable
Enabling agent...
Complete.
4.完成啟動ESXI 5.0.0 snmp
留言