What is nsRegistryTable? I look in the source code of net-snmp and I do not find any occurence of nsRegistryTable.
>From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: multiple Sub-agents managing the same table >Date: Tue, 5 Sep 2006 13:05:21 +0100 > >On 05/09/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > > When I do an snmpwalk on my table (snmpwalk > > GEN-MONITORING-MIB::genServerTable), I get > > GEN-MONITORING-MIB::genServerName.1.2.2, which is not what I'm >expecting. > >Well, I did say you're embarking on uncharted territory. >It won't be too surprising if the standard helpers don't work well >with this model. > > > > My understanding of the problem is: > > > > - Oid of my table genServerTable is { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, >1} > > - genServerTable is a sequence of (genServerIndex, genServerName, > > genServerProductName, genServerHostname, genServerPID) > > > > 1) I get a unique index from master agent > > 2) I ask the master agent to register a portion of the MIB: > > { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, 1, 1, index } //genServerIndex >column > > { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, 1, 2, index } // genServerName > > { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, 1, 3, index } // >genServerProductName > > { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, 1, 4, index } // genServerHostname > > { 1, 3, 6, 1, 4, 1, 99999, 10000, 1, 1, 5, index } // genServerPID > > 3) I create a row using the index retrieved in step 1 and register it to >the > > master agent > > > > Is it right? or am I still completely wrong? > >Yes - that looks correct. >So the first thing to check is whether this is what is actually being >registered. >Try walking the nsRegistryTable, and look for relevant entries. > >Dave > >------------------------------------------------------------------------- >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 >Net-snmp-users@lists.sourceforge.net >Please see the following page to unsubscribe or change other options: >https://lists.sourceforge.net/lists/listinfo/net-snmp-users > _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users