Installation guide

C H A P T E R 7 Using SNMP with ESX Server
273
export of ESX Server MIB items after installing the third party management
application.
The script connects the third party application snmpd daemon with the
vmware-snmpd subagent daemon.
4. The script then starts both daemons.
Starting the SNMP Agents Automatically
You can set the master and subagent SNMP daemons to start automatically whenever
ESX Server boots by logging in as the root user in the service console and running the
chkconfig commands:
chkconfig snmpd on
chkconfig vmware-snmpd on
The first command enables starting the master SNMP daemon (either the default
SNMP daemon shipped with ESX Server or your third party management application
SNMP daemon) on boot.
The second command enables starting the subagent vmware-snmpd daemon on
boot.
Note: The master snmpd daemon can run by itself or together with the subagent
vmware-snmpd daemon. However, the subagent daemon cannot run alone.
Starting the SNMP Agents Manually
If you need to start the SNMP agents manually, log in as root in the service console
and run the following commands:
/etc/rc.d/init.d/snmpd start
/etc/rc.d/init.d/vmware-snmpd start
The first command starts the master SNMP daemon (either the default SNMP daemon
shipped with ESX Server or your third party management application SNMP daemon).
The second command starts the subagent vmware-snmpd daemon.
By default, the agents start and run as background processes.
Note: As described previously, the master snmpd daemon can run by itself or
together with the subagent vmware-snmpd daemon. However, the subagent
daemon cannot run alone.