SNMP Agent Configuration

You can configure the agent and traps in the file rvtracesnmp.conf.

On UNIX platforms, the default location of the configuration file is /usr/local/etc/snmp/rvtracesnmp.conf
On Windows platforms, the default location of the configuration file is /usr/rvtracesnmp.conf

Environment variables can instruct SNMP to search for the configuration file in a different location; for details, see this web page:

    http://net-snmp.sourceforge.net/docs/man/snmp_config.html

SNMP Configuration Parameters presents the configuration parameters. To change the default values of these parameters, create this file, and configure it appropriately.

SNMP Configuration Parameters

Parameter

Description

rocommunity community [location [oid]]

rwcommunity community [location [oid]]

You must specify at least one rocommunity and at least one rwcommunity. You may specify more than one of each.

Each such line controls SNMP access from a set of SNMP managing systems, granting either read-only or read-write access to a set of rvtrace SNMP objects.

community (required) must be a sequence of alphanumeric characters (without quote marks, and without intervening spaces). This argument restricts SNMP access, allowing queries only from managing systems that present an identical string.
location (optional) further restricts access to managing systems on a designated host computer or network. You may supply an argument in these three forms:
A hostname or IP address restricts access to managing systems on the specified host computer.
An IP network address with mask bits restricts access to managing systems within the specified IP network, as determined by matching the specified number of mask bits. For example, 10.1.1.0/24 allows any computer with an address matching 10.1.1.*.
default (a literal) does not restrict access by location; you may use it as a place-holder when you supply an oid argument.
oid (optional) is an object identifier, which determines an object or subtree of the rvtrace MIB tree. You may supply a numeric OID (for example, .1.3.6.1.4.1.2000.7.1.100) or a symbolic OID (for example, rvTrdpMCPktTotals).

agentaddress port

When present, the SNMP agent accepts requests and queries on this port.

port can have either of two forms:

1234   (represents a UDP port)
tcp:1234   (represents a TCP port)

When absent, the default port is 161.

informsink host [community] [port]

When this line is present, the SNMP agent enables trap objects, and sends trap notification to the SNMP trap daemon on host.

When the optional community property is present, the trap daemon must present an identical property before it can receive trap notifications. The community property must be a sequence of alphanumeric characters (without quote marks, and without intervening spaces).

When the optional port property is present, the agent sends notifications on this port. The port can have the same two forms as with agentaddress, above. When absent, the default port is 162.

To send notification to several trap daemons, specify a separate informsink line for each destination.

When informsink is absent, the agent disables trap objects.