Re: dose net-snmp 5.5 supports file descriptor that larger than FD_SETSIZE? Thanks!

2010-06-22 Thread Dave Shield
On 22 June 2010 01:33, s00110979 wrote: > I have a question about codes in file snmp_api.c > int > snmp_sess_select_info(void *sessp, >   int *numfds, >   fd_set * fdset, struct timeval *timeout, int *block) Note that this API uses the standard 'fd_set' da

Re: a problem of setting string in oid

2010-06-22 Thread Yi ZHOU
great, it works proprely.[?] On Mon, Jun 21, 2010 at 11:45 PM, Yi ZHOU wrote: > oh, yes, you're right magnus, i'll try this in the machine tomorrow morning > to see if it works, tks a lot. > > > On Mon, Jun 21, 2010 at 10:42 PM, Magnus Fromreide > wrote: > >> On Mon, Jun 21, 2010 at 09:50:54PM

about agent extentions

2010-06-22 Thread makkalot
Hi i'm trying to extend the agent with shared library technique (dlmod). I looked at the examples that are on wiki and understood them (init methods and etc). Now i need to do more advanced stuff like handling the incoming requests and acting according to them. Is there some documentation that e

Re: about agent extentions

2010-06-22 Thread Wes Hardaker
> On Tue, 22 Jun 2010 11:47:25 +0300, makkalot said: m> Hi i'm trying to extend the agent with shared library technique m> (dlmod). I looked at the examples that are on wiki and understood m> them (init methods and etc). Now i need to do more advanced stuff m> like handling the incoming reque

Re: about agent extentions

2010-06-22 Thread makkalot
On Tuesday, June 22, 2010 05:29:23 pm Wes Hardaker wrote: > > On Tue, 22 Jun 2010 11:47:25 +0300, makkalot said: >> Hi i'm trying to extend the agent with shared library technique >> (dlmod). I looked at the examples that are on wiki and understood >> them (init methods and etc). Now i need t

cross-compile a dynamic library for mib extension

2010-06-22 Thread Yi ZHOU
Hello, is there anyone who has ever tried crossing compile a dynamic library for mib module? I'am trying to extend the agent in a arm-linux system, the c file and h file are fine, which i have already tested in linux system. To cross compile the library, i remplace simply the cc by arm-linux-cc and

Re: How to update the tabe using dataset

2010-06-22 Thread Robert Story
On Tue, 15 Jun 2010 21:03:49 +0530 Prakash wrote: P> I am using net-snmp 5.4.2.1 and created template code using P> "mib2c.create-dataset.conf" file for the attached ABC-MIB file. P> P> That subagent will read the data.txt file and created each row for each line P> in that file. P> P> An alarm wa

Re: about agent extentions

2010-06-22 Thread Dave Shield
On 22 June 2010 16:13, makkalot wrote: >        - Should i use mib2c ? > is that the easiest way to go when creating new modules ? It's probably the easiest way to get started, yes. >        - How can i know which configuration(template) to use when using mib2c > , > is it documented somewhere

Re: about agent extentions

2010-06-22 Thread Robert Story
On Tue, 22 Jun 2010 18:13:31 +0300 makkalot wrote: M> - Should i use mib2c ?is that the easiest way to go when creating new M> modules ? yes. M> - How can i know which configuration(template) to use when using mib2c , M> is it documented somewhere ? Run mib2c without specifying a c

Re: need help for subagent develop /////// ioctl 35123 returned -1

2010-06-22 Thread Robert Story
On Sat, 12 Jun 2010 00:40:33 +0800 Weiwei wrote: WZ> In the implementation, the subagent use container-cache mechanism. WZ> Data are put into containers using CONTAINER_INSERT() function call. WZ> It is at this point after this function call, where this message is WZ> returned. Neither containers