发表于 2019-1-10 11:18:22

cacti 监控esxi 5.1

  1.ssh 登陆esxi 服务器
  /etc/init.d/snmpd status
  ~ # esxcli system snmp get
   Authentication:
   Communities: public
   Enable: false
   Engineid:
   Hwsrc: indications
   Loglevel: info
   Notraps:
   Port: 161
   Privacy:
   Remoteusers:
   Syscontact:
   Syslocation:
   Targets:
   Users:
   V3targets:
  ~ # esxcli system snmp set --enable 1
  ~ # esxcli system snmp get
   Authentication:
   Communities: public
   Enable: true
   Engineid: 00000063000000a17f000001
   Hwsrc: indications
   Loglevel: info
   Notraps:
   Port: 161
   Privacy:
   Remoteusers:
   Syscontact:
   Syslocation:
   Targets:
   Users:
   V3targets:
  ~ # /etc/init.d/snmpd status    自动启动了
snmpd is running
  其实更改的就是以下的文件
  /etc/vmware/snmp.xml
  添加到监控就可以了!



页: [1]
查看完整版本: cacti 监控esxi 5.1