All OIDs under a given root

2008-12-08 Thread Adrian Overbury
Is there currently any interface (preferably in perl) that will allow me to load a set of MIB files/modules into memory and, given a certain OID root, tell which OID is next in that tree, or print out the entire tree? This would most likely exclude the indexes/rows of tables, because they're no

Re: FW: Searching the MIB tree

2008-12-08 Thread Wes Hardaker
> On Fri, 5 Dec 2008 09:16:34 +, "Daniel Quintero" <[EMAIL PROTECTED]> > said: DQ> The question is if I can easily find the pointer to a node in the DQ> tree just by having its OID in numeric form, because if I do, then I DQ> can go through the list of varbinds and get the label I wa

Re: return format of netsnmp_memory_get_byIdx on Solaris.

2008-12-08 Thread Frans Grotepass
Frans Grotepass wrote: > Frans Grotepass wrote: >> The problem is that for the sparc, >> +mem = netsnmp_memory_get_byIdx( NETSNMP_MEM_TYPE_PHYSMEM, 0 ); >> gives correct values, but for the amd/intel machines it gives 0 values >> > > Edit: The intel returns correct values once an snmpw

Re: return format of netsnmp_memory_get_byIdx on Solaris.

2008-12-08 Thread Frans Grotepass
Frans Grotepass wrote: > > The problem is that for the sparc, > +mem = netsnmp_memory_get_byIdx( NETSNMP_MEM_TYPE_PHYSMEM, 0 ); > gives correct values, but for the amd/intel machines it gives 0 values > Edit: The intel returns correct values once an snmpwalk of hrMemorySize was done

return format of netsnmp_memory_get_byIdx on Solaris.

2008-12-08 Thread Frans Grotepass
Hi, Sorry for creating a new thread, it could be argued that this should belong under my previous thread. It is related, but is also a different query. My home machine pops off my mail (due to some mail probs) and I don't have access to the thread here in the office. I posted the following patc