FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-03 Thread elias bou rahal
Hi Dave, i am thankfull for ur aid and i ask u if u can send me an example of code c as attachement that can be parse a mib with index and than register the indexes in the snmp agent using v5. thank you very much Best Regards Elias From: Dave Shield [EMAIL PROTECTED] To: elias

Re: FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-03 Thread Dave Shield
On Fri, 2006-03-03 at 13:03 +, elias bou rahal wrote: i ask u if u can send me an example of code c as attachement that can be parse a mib with index and than register the indexes in the snmp agent using v5. There are various examples of MIB modules implemented using the v5 API

Re: how can i get the index of a mib by using any snmp api.c

2006-03-02 Thread Dave Shield
On Fri, 2006-02-03 at 13:30 +, elias bou rahal wrote: i need to know which function i have to call for getting the indexes of a mib . Can you give a bit more detail about exactly what you mean? Are you talking about the indexes used when registering the MIB table (within the init_xxx

Re: FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-02 Thread Dave Shield
On Thu, 2006-03-02 at 15:56 +, elias bou rahal wrote: i am talking about the indexes used when registering the MIB table OK. Then you should provide this information manually (by looking at the MIB file yourself). The agent doesn't actually need the MIB file at all, so it doesn't rely on

FW: Re: how can i get the index of a mib by using any snmp api.c

2006-03-02 Thread elias bou rahal
i am talking about the indexes used when registering the MIB table ( within the init_xxx routing) In other word: when i call init_mib for parsing all new mibs , through this process i need to read the indexes in each table in thie mibs and this is the aim which i talking about. From: Dave