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 record
in a table?  RFC 1471 says that the RS232 interface underlying a PPP
link should have an entry in ifTable but I've got an existing subagent
that deals with my "real" network interfaces and I'd rather not clutter
it with PPP code.  What I really want to do is write a subagent that
deals with all PPP-related data.  So I'd want my existing subagent to
continue to be responseible for 

   RFC1213-MIB::ifIndex.1 = INTEGER: 1
   ...
   RFC1213-MIB::ifIndex.9 = INTEGER: 9
   RFC1213-MIB::ifIndex.16 = INTEGER: 16
   RFC1213-MIB::ifDescr.1 = STRING: "Port 1"
   ...
   RFC1213-MIB::ifDescr.9 = STRING: "Port 9"
   RFC1213-MIB::ifDescr.16 = STRING: "Management port"
   RFC1213-MIB::ifType.1 = INTEGER: ethernet-csmacd(6)
   ...
   RFC1213-MIB::ifType.9 = INTEGER: ethernet-csmacd(6)

but have my PPP subagent responible for something like:

   RFC1213-MIB::ifIndex.100 = INTEGER: 100
   RFC1213-MIB::ifDescr.100 = STRING: "ppp0"
   RFC1213-MIB::ifType.100 = INTEGER: ppp(23)
   RFC1213-MIB::ifSpecific.101 = <something that refers to 101 below>
   RFC1213-MIB::ifIndex.101 = INTEGER: 101
   RFC1213-MIB::ifDescr.101 = STRING: "ttyS01"
   RFC1213-MIB::ifType.101 = INTEGER: other(1)

Can I do that?  Can I make multiple subagents responsible for different
ranges of the same table?  Where do I adjust that?

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.