Technical data
100
Configuration of the SNMP master agent
To configure and secure the SNMP master agent correctly, read the corresponding documentation and FAQ. For
the impatient, a quickstart is provided here:
Configure the SNMP master agent as follows:
1. The system wide snmpd configuration file can reside in arbitrary locations. Most commonly you can find it in
/usr/[local/]share/snmp/snmpd.conf or /etc/snmpd.conf. It can be created and modified by using the
command snmpconf -i, which presents a configuration menu for most of the possible options. To get a
basically working (and insecure) configuration, you have to configure at least the following items:
- Access Control: Create a SNMPv1/v2c read-only community, enter a community string, an IP range and a
starting OID. For testing purposes, use e.g., "mycomm, (no restriction), (no restriction)".
- Agent Operating Mode
- "Should the agent operate as a master agent or not?": Enter "agentx".
- "IP address and port number": Specify the listening address and port, e.g., localhost:161
2. Start the SNMP master agent (or restart if it is already running).
3. Issue the command snmpwalk -c mycomm localhost interfaces. This will walk the interfaces MIB tree.
You should (at least) see data for the loopback- and ethernet interfaces. If you get a timeout, check the
above configuration. If you still have no success, delete the configuration file and start from the beginning.
Dialogic cannot provide support for this part of the configuration, but there are resources on the internet,
such as the Net-SNMP Project Homepage http://www.net-snmp.org/.