To resolve this issue, perform one of these options:
Change the default sending period of the SNMP trap on the ESXi host and/or on vCenter Server
To change the default sending period on the ESXi host:
- As a root user, open a SSH session to the ESXi console.
- Back up the /etc/sfcb/sfcb.cfg file.
- Open the /etc/sfcb/sfcb.cfg file in a text editor.
- Add or update the key heartbeatInterval key to the duration requested in seconds. For example, to change the reverse poll to occur every 10 minutes:
heartbeatInterval: 600
- Save and Close the sfcb.cfg file.
- Restart the sfcbd service for the changes to take effect, using the command:
/etc/init.d/sfcbd-watchdog restart
To change the default sending period on vCenter Server:
- Take a backup of the vpxd.cfg file. This file is located by default at:
vCenter Server Appliance: /etc/vmware-vpx/vpxd.cfg for vCenter Server Applicace.
Windows 2008: C:\ProgramData\VMware\VMware VirtualCenter\vpxd.cfg for Windows 2008.
Windows 2003: C:\Documents and Settings\All Users\Application Data\VMware\VMware VirtualCenter\vpxd.cfg for Windows 2003.
-
As an administrator, open the vpxd.cfg file using a text editor.
-
Within the <config> </config> tags, add or update this SNMP configuration:
<config>
...
<snmp>
<testTrap>
<periodic>
<enable>true</enable>
<period>300</period>
</periodic>
</testTrap>
</snmp>
...
</config>
Note: The <period> value is in seconds. If no SNMP <period> element is defined then it default to 5 minutes (300 seconds).
- For the changes to take effect, restart the VMware VirtualCenter Server service:
On the vCenter Server, restart the VMware VirtualCenter Server service in the Server manager. For more information, see Stopping, starting, or restarting vCenter services (1003895).
Run this command on the vCenter Server Appliance: /etc/init.d/vmware-vpxd restart.
Mask out the SNMP trap
When your system is using SNMP GET, the trap can be masked out with the --notrap option:
- Check for other configured traps and run the command:
esxcli system snmp get
- When you want to filter these out, run the command:
esxcli system snmp set --notraps 1.3.6.1 .4.1.6876.4.90.0.401