[AGENT++] Creating Rows in Shared MIB Tables
Jens Engel
Jens.Engel at marconi.com
Wed Feb 18 13:28:47 CET 2004
Hello,
I just came across a conceptual problem when MIB tables are shared via 2
subagents.
NOTE: Currently, it is just a mind game.
ENVIRONMENT:
- 1 SNMP master agent with 2 subagents (via AgentX)
- Each subagent provides a set of rows in a shared MIB table that it
registers w/ master agent on startup
- MIB table allows to create new rows
QUESTIONs:
- Can each subagent declare itself responsible in the AgentX master when
table rows should be created?
NOTE: When certain values for the row index are used, creation occurs in
subagent 1, otherwise in subagent 2.
- How does a subagent describe this responsibility w/ AgentX++ ???
POTENTIAL PROBLEM AVOIDANCE STRATEGY:
The normal work-around this problem that came to my mind was the usage of
CONTEXTs.
Each subagent registers its portion of a MIB table (or MIB module) in the
default context
and a subagent specific context.
This should allow to create rows in any subagent by making this decision in
the SNMP client.
For example, a subagent 1 registers its MIB modules in context "Subagent1".
The subagent 2 registers its MIB modules in context "Subagent2".
Ciao,
Jens Engel
More information about the AGENTPP
mailing list