Context definitions for SNMPv2
/etc/context.conf
The context.conf file is used to define a collection of object resources that's accessible by a network entity. A context is made up of:
The agent acts as a proxy machine for the remote non-SNMP system.
Here's the search order that's used to find this file:
The file is in this format:
contextname contextidentity contextviewindex contextlocalentity contextlocaltime contextdstpartyindex contextsrcpartyindex contextproxyxcontext
where:
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
snmpget, snmpgetnext, snmptest, snmptrapd, snmpwalk
Based on ISO IS 8824 (ASN.1), RFC 1065, RFC 1066, RFC 1067, RFC 1446