Users Guide

Table Of Contents
2. Stop the SNMP service if it is already running on your system by entering the following command: service snmpd stop
3. Add the following line at the end of the /etc/snmp/snmpd.conf file: proxy -v 1 -c public
udp:127.0.0.1:X .1.3.6.1.4.1.6876
Where X represents the unused port specified above, while configuring SNMP.
4. Configure the trap destination using the following command: <Destination_IP_Address> <community_name>
The trapsink specification is required to send traps defined in the proprietary MIBs.
5. Restart the mgmt-vmware service with the following command: service mgmt-vmware restart
6. Restart the snmpd service with the following command: service snmpd start
NOTE: If the srvadmin is installed and the services are already started, restart the services as they depend on the
snmpd service.
7. Run the following command so that the snmpd daemon starts on every reboot: chkconfig snmpd on
8. Run the following command to ensure that the SNMP ports are open before sending traps to the management station:
esxcfg-firewall -e snmpd.
Configuring The SNMP Agent On Systems Running Supported VMware ESXi
4.X And ESXi 5.X Operating Systems
Server Administrator supports SNMP traps on VMware ESXi 4.X and ESXi 5.X. If a stand-alone license is only present, SNMP
configuration fails on VMware ESXi operating systems. Server Administrator does not support SNMP Get and Set operations on
VMWare ESXi 4.X and ESXi 5.X as the required SNMP support is unavailable. The VMware vSphere Command- Line Interface
(CLI) is used to configure systems running VMware ESXi 4.X and ESXi 5.X to send SNMP traps to a management station.
NOTE: For more information about using the VMware vSphere CLI, see vmware.com/support.
Configuring Your System To Send Traps To A Management Station
Server Administrator generates SNMP traps in response to changes in the status of sensors and other monitored parameters.
One or more trap destinations must be configured on the system running Server Administrator for SNMP traps to be sent to a
management station.
To configure your ESXi system running Server Administrator to send traps to a management station:
1. Install the VMware vSphere CLI.
2. Open a command prompt on the system where the VMware vSphere CLI is installed.
3. Change to the directory where the VMware vSphere CLI is installed. The default location on Linux is /usr/bin. The default
location on Windows is C:\Program Files\VMware\VMware vSphere CLI\bin.
4. Run the following command: vicfg-snmp.pl --server <server> --username <username> --password
<password> -c <community> -t <hostname> @162/<community>
where <server> is the hostname or IP address of the ESXi system, <username> is a user on the ESXi system,
<community> is the SNMP community name and <hostname> is the hostname or IP address of the management station.
NOTE: The extension .pl is not required on Linux.
NOTE: If you do not specify a user name and password, you are prompted.
The SNMP trap configuration takes effect immediately without restarting any services.
Firewall Configuration On Systems Running Supported Red Hat
Enterprise Linux Operating Systems And SUSE Linux Enterprise
Server
If you enable firewall security while installing Red Hat Enterprise Linux/SUSE Linux, the SNMP port on all external network
interfaces is closed by default. To enable SNMP management applications such as IT Assistant to discover and retrieve
Setup And Administration
19