Re: One table, two agents?

[email protected]
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
> Can I have two subagents each responsible for a diferent range of 
> recordin a table?  ...

Well, I've half answered my own question.  Section 4.1 of RFC 2741
(AgentX) says:

   An entity acting in a subagent role performs the following functions:
      ...
      -  Registers MIB regions with the master agent.

and I'm tantalized by 4.2 which says

   This section discusses several typical usage scenarios.
   ...
   2) Subagents implement rows in a "simple table".  A simple table is
      one in which row creation is not specified, and for which the MIB
      does not define an object that counts entries in the table.
      Examples of simple tables are rdbmsDbTable, udpTable, and
      hrSWRunTable.

But then I'm disheartened by

   5) Subagents implement rows in tables whose MIB also defines an
      object that counts entries in the table, for example the MIB-2
      ifTable (due to ifNumber).  The subagent that implements such a
      counter object (like ifNumber) must go beyond AgentX to correctly
      implement it.  This is an implementation issue (and most new MIB
      designs no longer include such objects).

Because, of course, the table I need to split between subagents is
ifTable!  I want to write a PPP sub-agent which supplements the system's
idea of ifNumber with however many PPP interfaces are configured and
active.  I'd be very grateful for brainstorming on techniques to "go
beyond AgentX" to accomplish that.  I have as a strict requirement that
I assume an existing agent or subagent that implements ifTable and that
I can't change that existing code.  How can I install a PPP subagent
that coerces the master agent to summing multiple ifNumbers or something
and taking rows from multiple subagents?  (I don't mind at all if the
master agent has to be Net-SNMP's snmpd; Net-SNMP on Linux is the only
target I absolutely have to support.)

TIA.

                                       Chris


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.