/etc/context.conf

context definitions for SNMPv2

Name:

/etc/context.conf

Description:

The context.conf file is used to define a collection of object resources that will be accessible by a network entity. A context is made up of:

The agent will act as a proxy machine for the remote non-SNMP system.

The file is in this format:

contextname contextidentity
contextviewindex contextlocalentity contextlocaltime
contextdstpartyindex contextsrcpartyindex contextproxyxcontext

where:

contextName
Unique alphanumeric friendly name.
contextIdentity
Unique object identifier.
contextViewIndex
Numeric value representing a view as defined in /etc/view.conf.
contextLocalEntity
String or NULL.
contextLocalTime
CurrentTime or restartTime.
contextDstpartyIndex
Decimal value.
contextSrcpartyIndex
Decimal value.
contextProxyContext
Object identifier.

For example, the following defines a context (agent_context) that consists of view index number 3 from the /etc/view.conf file:

agent_context .1.3.6.1.6.3.3.1.4.10.0.0.59.3
3             NULL        CurrentTime
0             0           0

See also:

snmpget, snmpgetnext, snmptest, snmptrapd, snmpwalk

RFC 1065, RFC 1066, RFC 1067, ISO IS 8824 (ASN.1), RFC 1446