Re: Using BULK access in C

2012-10-27 Thread Garry
On 27.10.2012 21:16, Magnus Fromreide wrote: > On Sat, 2012-10-27 at 20:45 +0200, Garry wrote: >> On 27.10.2012 20:05, Magnus Fromreide wrote: >> I know the shell level requests (snmpbulkwalk), trying to get this done >> in C ... > Good. > >>> Is any of them a table? >> e.g. I'd want to get several

Re: Using BULK access in C

2012-10-27 Thread Magnus Fromreide
On Sat, 2012-10-27 at 20:45 +0200, Garry wrote: > On 27.10.2012 20:05, Magnus Fromreide wrote: > > > I know the shell level requests (snmpbulkwalk), trying to get this done > in C ... Good. > > Is any of them a table? > e.g. I'd want to get several values at the same time that are associated >

Re: Using BULK access in C

2012-10-27 Thread Garry
On 27.10.2012 20:05, Magnus Fromreide wrote: > > Is there any documentation on how to actually use SNMP_MSG_GETBULK? > The algorithm is described in RFC 1905 4.2.3. > > A GetBulk is equivalent to a GetNext with the (non-repeaters) first > arguments to the GetBulk followed by (max-repetitions) GetNe

Re: Using BULK access in C

2012-10-27 Thread Magnus Fromreide
On Sat, 2012-10-27 at 19:04 +0200, Garry wrote: > Hi, > > after searching the web and digging through numerous posts and pages > without much success, I've come here for some help/pointers towards a > solution ... > > I'm trying to write a program to query several fields from > SNIP-manageable de

Using BULK access in C

2012-10-27 Thread Garry
Hi, after searching the web and digging through numerous posts and pages without much success, I've come here for some help/pointers towards a solution ... I'm trying to write a program to query several fields from SNIP-manageable devices (which works fine querying one field after another), but i

Re: reading config token in init_my_module()

2012-10-27 Thread Holger Klaas
Hi, After a good night sleep I found the (rather obvious) answer myself. The initialisation code which depends on the myInteger token goes into parse_myInteger(). The handler will get called before any gets/sets are processed and also gets called on SIGHUP, just what I need. All very obvious, I bl