Compilation error in Net-SNMP for arm linux

2008-02-11 Thread विशाल नंदनवार
Hi, I want to compile Net-SNMP-5.1.4 for arm linux, but it is giving me following error, mibII/var_route.c: In function `var_ipRouteEntry': mibII/var_route.c:506: error: dereferencing pointer to incomplete type mibII/var_route.c:550: error: dereferencing pointer to incomplete type mibII/var_route

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Larry Dickson
I inserted ### before the "perl do" line in each copy of snmpd.conf that had it. The behavior did not change, i.e. it still timed out as before. (Also the subagent still appears to function.) I forgot to mention, when I do a getnext on netSnmp.1.8 I get an additional line that says Connection from

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Dave Shield
On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > Apparently we have no extend, etc, entries, though there's a "perl do"; here > is the full text (excluding comments and blank lines) of the 3 snmpd.conf > files I found on the system (=== lines are my commentary): > === Contents of (recent

Re: shared libraries - do I have a problem??

2008-02-11 Thread Dan Miller (Kromos)
Just for everyone's future reference, I did solve this problem earlier. First, I typed the wrong path in my example below; my library is actually in /usr/lib/dlsllib.so. I found, though, ./configure didn't like me specifying a library file whose name did NOT begin with "lib". When I created a sy

Re: Changing SNMPv3 credentials on opened snmp_session C

2008-02-11 Thread Wes Hardaker
> "WK" == Wincel Krzysztof-AKW writes: WK> Is there a way to change v3 credentials on opened session? Technically, you can certainly do this. However, there is no easy way to do it via API at the moment (it actually isn't that much work, it's just not documented anywhere). Personally, I'd

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Larry Dickson
Apparently we have no extend, etc, entries, though there's a "perl do"; here is the full text (excluding comments and blank lines) of the 3 snmpd.conf files I found on the system (=== lines are my commentary): === Non-comment contents of /var/net-snmp/snmpd.conf setserialno 463370307 engineBoots 2

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Dave Shield
On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > > > But my question is also more algorithmic: How is it (the agent/subagent > > > combination) supposed to do a getnext that jumps out of the subagent's > > > subtree? > > > > The subtree is given an OID, and returns the next value that it k

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Dave Shield
On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > Getnext results for netSnmp.x > 1.4 nsCacheDefaultTimeout.0 > 1.5 same So the cache modules is working OK > 1.6 nsDebugEnabled.0 > 1.7 same ... as is the debug module... > 1.8 enterprises.22782.1.2.1.1.0 = Timeticks (start of our sub

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Larry Dickson
Interleaved below... On 2/11/08, Dave Shield <[EMAIL PROTECTED]> wrote: > > On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > > Response to getnext at netSnmp.1.3 is timeout. > > OK - what about >GETNEXT netSnmp.1.5 >GETNEXT netSnmp.1.7 >GETNEXT netSnmp.1.9 > > What I'm t

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Dave Shield
On 11/02/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: > Response to getnext at netSnmp.1.3 is timeout. OK - what about GETNEXT netSnmp.1.5 GETNEXT netSnmp.1.7 GETNEXT netSnmp.1.9 What I'm trying to determine here is exactly *where* the blocking module is located. If netSnmp.

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Larry Dickson
Response to getnext at netSnmp.1.3 is timeout. Response to get at netSnmp.1.3, netSnmp.1.3.1, etc, is noSuchName (though it does give a name for the first couple of them). My guess is that whatever comes immediately after netSnmp.1.2.1.1.6.0.12.1.3.6.1.6.3.16.1.5.2.1.6.127 is where the damage is.

Re: Detect SNMP packet

2008-02-11 Thread Dave Shield
On 18/01/2008, Devvrat Tripathi <[EMAIL PROTECTED]> wrote: > Now as far as the actual > function definition of the handler function goes is it possible for me to > define it inside a subagent. No. The master agent will have to decide which subagent or MIB module to pass the request off to.

Re: shared libraries - do I have a problem??

2008-02-11 Thread Dave Shield
On 22/01/2008, Dan Miller (Kromos) <[EMAIL PROTECTED]> wrote: > However, I *do* need to link in one of my *own* shared libraries!! So I > tried using with-libs: >./configure --with-mib-modules=ip3Mib --with-libs=/usr/src/dlsllib.so Try installing your library into a sensible location (/usr/lo

Re: GETNEXT stumbles at end of some subtrees

2008-02-11 Thread Dave Shield
On 23/01/2008, Larry Dickson <[EMAIL PROTECTED]> wrote: >attempting a subtree at netSnmp times out after > netSnmp.1.2.1.1.6.0.12.1.3.6.1.6.3.16.1.5.2.1.6.127 and > trying a getnext on this oid also times out. That's part of the nsModuleTable (in particular, an instance of the nsModuleTimeout

Re: The snmpUDPIPv6Domain.c does not build with IPv6 enabled

2008-02-11 Thread Dave Shield
On 31/01/2008, Katy Sherman <[EMAIL PROTECTED]> wrote: > I try to compile the snmpUDPIPv6Domain.c with IPv6 enabled. I use > net-snmp.5.4.0 on Windows. > \build\Appnet-snmp-5.4.0\src\snmplib\snmpUDPIPv6Domain.c(896) : error > C2039: 'SS_FAMILY' : is not a member of 'sockaddr_storage' > C:

Re: snmp_alarm_register()

2008-02-11 Thread Dave Shield
On 10/02/2008, Isaac Eliassi <[EMAIL PROTECTED]> wrote: > The snmp_alarm_register() function, once it's being called where does it > register the callback function? (at the manager or the agent?) In the application where the function was called. If this routine is invoked within the agent code,