OK, but this means that if I have two applications starting: - In the initialisation of the first application, I'll need to manage the index and set it to 1 (First server) - in the initialisation of the second application, I'll need to manage the index and set it to 2 (Second server)
But, for the second server, how will I know hat there is another application (another binary) already registered in the MIB with the index 1? Is there a net-snmp function that gives the next index on a table? Concerning my code, have you seen something that can explain why it doesn't work? indeed, I check the code of data_set.c and I've seen nothing wrong in my code explaining my error message. >From: "Dave Shield" <[EMAIL PROTECTED]> >To: "Arnaud BODENAN" <[EMAIL PROTECTED]> >CC: net-snmp-users@lists.sourceforge.net >Subject: Re: FW: Re: How can I extend a MIB with a subagentX >Date: Thu, 31 Aug 2006 19:44:56 +0100 > >On 31/08/06, Arnaud BODENAN <[EMAIL PROTECTED]> wrote: > > If index is managed by net-snmp, why do I have to use > > netsnmp_table_row_add_index with the value ind manually managed > > in my sample? > >The Net-SNMP agent will manage table indexes inasmuch as it will >extract the index from an incoming request, and decide which row is >required. > But when you're setting up the initial contents of the table, you >have to tell it what index to use for each row. How else is the agent >meant to know? > >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 > _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/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