terça-feira, 16 de abril de 2013

Ativando o SNMP no VMware 5.0

Ativar o snmp no hosts que compõe o cluster de estrutura no vmware:


SNMP v1 Configurations:

There are 4 steps:
  1. Set the community string
  2. Set the SNMP target which includes the port and the community string
  3. Enable SNMP service on the ESXi host
  4. Validate SNMP configuration by performing a test operation
esxcli system snmp set –communities public
esxcli system snmp set –targets pod23-esx-01a.pml.local@161/public
esxcli system snmp set –enable true
esxcli system snmp test

Agora é só verificar de um sistema unix/linux e que tenha o utilitário snmpwalk instalado, rode o comando como descrito abaixo para visualizar toda a árvore MIB do protocolo SNMP V1.

snmpwalk -v1 -c public pod23-esx-01a.pml.local

fonte: http://blogs.vmware.com/vsphere/2012/11/configuring-snmp-v1v2cv3-using-esxcli-5-1.html