VMware 4817V62 Administration Guide - Page 52
Con SNMP Communities, Con the SNMP Agent to Send Traps
View all VMware 4817V62 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 52 highlights
vSphere Basic System Administration 2 Configure the SNMP Agent to Send Traps on page 52 You can use the ESX/ESX embedded SNMP agent to send virtual machine and environmental traps to management systems. To configure the agent to send traps, you must specify a target address and community. 3 Configure the SNMP Agent for Polling on page 53 If you configure the ESX/ESXi embedded SNMP agent for polling, it can listen for and respond to requests from SNMP management client systems, such as GET requests. Configure SNMP Communities Before you enable the ESX/ESXi embedded SNMP agent, you must configure at least one community for the agent. An SNMP community defines a group of devices and management systems. Only devices and management systems that are members of the same community can exchange SNMP messages. A device or management system can be a member of multiple communities. Prerequisites SNMP configuration for ESX/ESXi requires the vSphere CLI. For information on installing and using the vSphere CLI, see vSphere Command-Line Interface Installation and Reference Guide. Procedure u From the vSphere CLI, type vicfg-snmp.pl --server --username --password -c . Replace with the community name you wish to set. Each time you specify a community with this command, the setings you specify overwrite the previous configuration. To specify multiple communities, separate the community names with a comma. For example, to set the communities public and internal on the host host.example.com, you might type vicfg-snmp.pl --server host.example.com --username user --password password -c public, internal. Configure the SNMP Agent to Send Traps You can use the ESX/ESX embedded SNMP agent to send virtual machine and environmental traps to management systems. To configure the agent to send traps, you must specify a target address and community. To send traps with the SNMP agent, you must configure the target (receiver) address, community, and an optional port. If you do not specify a port, the SNMP agent sends traps to UDP port 162 on the target management system by default. Prerequisites SNMP configuration for ESX/ESXi requires the vSphere CLI. For information on installing and using the vSphere CLI, see vSphere Command-Line Interface Installation and Reference Guide. 52 VMware, Inc.