I set hwsrc to indication in the snmp settings on ESXi 6.7 and 7.0. However, snmp traps weren't send to a snmp manager. I was able to send a test trap by running the following the command.
# esxcli system snmp test
Therefore, I think that the indication has not been notified. Is there any setting that enables Indication?
See chapter 10: https://docs.vmware.com/en/VMware-vSphere/6.7/vsphere-esxi-vcenter-server-67-monitoring-performance-...
Thank you for replying.
I read vSphere Monitoring and Performance. Howerver, I think that I had already set snmp agent settings. Am I missing any settings?
My environment is following:
[SNMP Agent settings]
[root@localhost:~] esxcli system snmp get
Authentication:
Communities: public
Enable: true
Engineid: 00000063000000a100000000
Hwsrc: indications
Largestorage: true
Loglevel: info
Notraps:
Port: 161
Privacy:
Remoteusers:
Syscontact:
Syslocation:
Targets: 172.17.1.201@162 public #### SNMP manager address
Users:
V3targets:
[SNMP walk from SNMP manager]
vmwSELCapacity.0 100
vmwEnvSource.0 ipmi(4)
vmwEnvInIndications.0 0 ####### non indications
vmwEnvLastIn.0 (0) 0:00:00.00
vmwEnvOutNotifications.0 0
vmwEnvInErrs.0 0
vmwEnvIndOidErrs.0 0
vmwEnvCvtValueErrs.0 0
vmwEnvCvtSyntaxErrs.0 0
vmwEnvCvtOidErrs.0 0
vmwEnvGetClassErrs.0 0
vmwEnvPropertySkips.0 0
vmwEnvIndicationSkips.0 0
[Verify that the CIMOM will send indications to the SNMP agent]
[root@localhost:~] indcfg -d -l
indcfg[2101120]: Debug logging enabled
indcfg[2101120]: setupControl: config 32 tokens from 35 lines loaded.
indcfg[2101120]: get_sub_details: Access subscriptions file complete, 0 loaded subscriptions