
Running VMware ESX Server
129
www.vmware.com
By default, the agent starts and runs as a background process. For details on
command line options, see the man page snmpd(1).
Configuring the ESX Server SNMP Agent
You may configure the SNMP agent from the management interface or from the
console operating system in the following ways:
• Use the SNMP configuration page in the management interface to set the agent
to start automatically. The SNMP configuration page also includes a text editor
you can use to modify the settings in the configuration file.
• Use a text editor on the console operating system to modify the settings in the
configuration file, /usr/share/snmp/snmpd.conf. The default
configuration file is very brief and uses dummy parameters.
• From the console operating system, run the snmpconf configuration script to
create a new configuration file. This approach is recommended only for users
familiar with SNMP. Documentation for the script is provided in the
snmpconf(1) man page. See the Configuration File Issues section below for
restrictions.
The sections that follow describe the default configuration and appropriate settings
you can use in each section of the file.
Lines that begin with a # symbol are comments in the configuration file.
System Information
# System contact (usually an email address)
syscontact root@localhost
# System location (the physical location of the system)
syslocation room1
The agent uses the information you enter here to provide responses to queries on the
syscontact and syslocation objects in the system sub-tree of the management
information base. Replace root@localhost and room1 with values appropriate
for your site and the ESX Server computer.
Access Control
# read-only community
# This string is checked for in SNMP queries.
rocommunity public
# This string is sent in an SNMP trap message.
# This should appear before any trapsinks are defined.
trapcommunity public
Comentarios a estos manuales