Re: FW: Re: How can I extend a MIB with a subagentX

"Arnaud BODENAN" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I check again the file examples/data_set.c, and I found no differences 
between my code and the code in the sample.

I debug my sample on Solaris, and the problem comes from my row
=> the row->index_oid is NULL

I don't know which API to call to set this value

Thanks for your help. I've got no idea how to solve it.

Arnaud

>From: "Arnaud BODENAN" <[email protected]>
>To: [email protected]
>Subject: Re: FW: Re: How can I extend a MIB with a subagentX
>Date: Thu, 31 Aug 2006 21:27:42 +0200
>
>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: [email protected]
> >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
> >[email protected]
> >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
>[email protected]
>Please see the following page to unsubscribe or change other options:
>https://lists.sourceforge.net/lists/listinfo/net-snmp-users

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar - get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/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
[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.