Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 8
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:
- information stored on the agent machine (views; see /etc/view.conf)
- information stored on another machine that doesn't understand SNMP.
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:
- /nodecfg/node_name/etc/context.conf,
where node_name is the value of the CS_NODENAME
configuration string (see
getconf
and
setconf)
- /etc/context.conf
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
snmpget,
snmpgetnext,
snmptest,
snmptrapd,
snmpwalk
Based on
ISO IS 8824 (ASN.1), RFC 1065, RFC 1066,
RFC 1067, RFC 1446
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 162
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/c/context.conf.html on line 162