RE: converting snmpv2 trap to snmpv3 trap

2006-02-01 Thread Ravi, Rajagopal Shanmugam (Rajagopal Shanmugam)** CTR **
Hi, Thanks for your response. I went through the man pages for the "forward" directive. But the man pages on forward directive does not give any information on version conversation. It looks as though the forward directive will just forward in incoming traps as it is without the version conversion

'exec' buffer limit?

2006-02-01 Thread Dean
Hiya, I'm revisiting an issue I had quite a while ago trying to retrieve all the solaris package versions installed on a box via Net-SNMP. I'm back to playing with the 'exec' statement again, but I have tried pass_persist and extend due to exec going away(?), but the latter two I really haven't g

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Robert Story
On Wed, 1 Feb 2006 15:23:25 -0500 Robert wrote: RS> MR> changing the length to size_t fixed the crashes.:) RS> RS> That makes no sense to me. The compiler ought to know the sizes of things RS> and convert. There's no blind casting to confuse things... But... table_tdata.c:49: warning: passing ar

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Robert Story
On Wed, 1 Feb 2006 20:25:35 +0100 Marcus wrote: MR> the function definition of of netsnmp_tdata_row_get_byoid got me on the MR> right track: MR> [[[ MR> /** finds a row in the 'tdata' table given the index OID */ MR> netsnmp_tdata_row * MR> netsnmp_tdata_row_get_byoid(netsnmp_tdata *table, MR>

Re: /proc/net/if_inet6 assertion [FIX]

2006-02-01 Thread Robert Story
On Mon, 30 Jan 2006 11:18:54 + Dave wrote: DS> On Mon, 2006-01-30 at 11:44 +0100, Radek Vokál wrote: DS> > The attached patch fixies this. DS> DS> Thanks for that - it's been included into the CVS code base. I assume one of you also made sure the patched version continue to work with the olde

Re: Delegated handlers

2006-02-01 Thread Wes Hardaker
> On Wed, 18 Jan 2006 21:10:50 +0100, Magnus Fromreide <[EMAIL PROTECTED]> > said: Robert> They shouldn't return ENDOFMIBVIEW, they should set the request error to Robert> ENDOFMIBVIEW and return success/noerror. Magnus> Ok, but if I return SUCCESS and sets the request error to Magnus> E

Re: converting snmpv2 trap to snmpv3 trap

2006-02-01 Thread Wes Hardaker
> On Wed, 18 Jan 2006 16:42:52 +0530, "Ravi, Rajagopal Shanmugam (Rajagopal > Shanmugam)** CTR **" <[EMAIL PROTECTED]> said: Rajagopal> As net-snmp have a proxy to convert snmpv2 requests to Rajagopal> snmpv3 requests and vice versa, do they have a directive to Rajagopal> convert snmpv2 t

Re: Agent

2006-02-01 Thread Wes Hardaker
> On Tue, 31 Jan 2006 16:08:54 +0200, Michael G <[EMAIL PROTECTED]> said: Michael> I am using the iterator helper. Michael> Can the application set some info (private to application) in the Michael> initialize_table_xxx() function, that will be available for the Michael> xxx_get_next_data_poin

Re: Managing SNMPv3 passwords without snmpusm.

2006-02-01 Thread Wes Hardaker
> On Thu, 12 Jan 2006 15:16:40 -0500, [EMAIL PROTECTED] said: Sorry for the delay. sasson> Hi all, I have a question that relates to ease of use (ease of sasson> management) of SNMPv3 passwords. Every administrator would sasson> like to change some of the passwords of the users accessing sas

Re: How do I uninstall the net-snmp

2006-02-01 Thread Wes Hardaker
> On Wed, 1 Feb 2006 16:20:46 +0530, "Ramachandrappa, Nataraju > Karidasarahalli" <[EMAIL PROTECTED]> said: Nataraju> I want know how to uninstall the net-snmp. Recent net-snmp releases do have a "make uninstall" option that should remove all the files it installed. It hasn't been reall

Re: rfc: mib module platform restrictions

2006-02-01 Thread Wes Hardaker
> On Wed, 01 Feb 2006 16:20:40 +0100, Thomas Anders <[EMAIL PROTECTED]> > said: Thomas> a) introduce some config_XXX in the mib module header files for the Thomas> *supported* platforms Thomas> b) introduce some config_XXX in the mib module header files for the Thomas> *unsupported* pa

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
On 2006-02-01 17:25:04 +, Dave Shield wrote: > it's objecting to, and how far through it gets. > Could you perhaps try adding a debug print statement > to that loop, that would indicate the value of the > "oid_index" OID array at the point at which it fails. while figuring out the best params

Re: Bypassing USM for internal requests.

2006-02-01 Thread Wes Hardaker
> On Mon, 23 Jan 2006 17:49:51 +0200, "Makavy, Erez (Erez)" <[EMAIL > PROTECTED]> said: Erez> b) create a new degenerated security module. (from SNMP architecture Erez> perspective, this is the preffered solution) Actually the latest net-snmp release (5.3+) contains the ability to handle

Re: doubt regarding dynamically loading module

2006-02-01 Thread Wes Hardaker
> On Wed, 1 Feb 2006 12:58:21 +0530, "Jobin Jose Sebastin" <[EMAIL > PROTECTED]> said: Jobin> To which diretory I have to dynamically load the shared object file... You can put it anywhere as long as you put the full path of it in the configuration file when you tell the agent to load it

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
On 2006-02-01 17:25:04 +, Dave Shield wrote: > H... that's a pity. The stack trace is only > going to be of limited use. It would be helpful to > know which bit of > > row->oid_index.oids[row->oid_index.len]++; > > it's objecting to, and how far through it gets. > Could you perha

Re: net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Dave Shield
On Wed, 2006-02-01 at 17:25 +0100, Marcus Rueckert wrote: > after this patch i encountered a second crash in > > agent/mibgroup/disman/event/mteObjects.c:164 > > i have attached the stacktrace of thise crash to this mail. > sadly i cant run the binary in gdb for debugging it directly. H...

net-snmpd 5.3.0.1 crashes in disman mib

2006-02-01 Thread Marcus Rueckert
hi, while upgrading our rpm to net-snmp 5.3.0.1 i encountered net-snmp crashes in the test suite on ppc64 and s390x. both are bigendian. it works fine so far on ix86, x86_64, pcc, s390 and ia64. after some debugging and reading we fixed the first issue: [[[ Index: agent/agent_registry.c ===

rfc: mib module platform restrictions

2006-02-01 Thread Thomas Anders
-Coders, several of our mib modules only build on particular platforms. If a user chooses to configure with a mib module that's not supported on his/her platform, we currently tend to fail at compile time. A significant number of postings on the mailing lists prove that the relationship betwe

snmptranslate broken in 5.3+ CVS

2006-02-01 Thread Thomas Anders
-Coders, as just discussed on IRC, snmptranslate seems to be broken in V5-3-patches and MAIN: snmptranslate .iso.org.dod.internet No log handling enabled - turning on stderr logging .iso.org.dod.internet: Unknown Object Identifier (Sub-id not found: iso -> iso) (Works fine in 5.[012] CVS, a

Re: snmptranslate broken in 5.3+ CVS

2006-02-01 Thread Dave Shield
On Wed, 2006-02-01 at 16:17 +0100, Thomas Anders wrote: > snmptranslate seems to be broken in V5-3-patches and MAIN: > >snmptranslate .iso.org.dod.internet >.iso.org.dod.internet: Unknown Object Identifier Confirmed. Though I note that snmptranslate -IR .iso.org.dod.internet works

doubt regarding dynamically loading module

2006-02-01 Thread Jobin Jose Sebastin
Hi all, I am using net-snmp in linux platform.I tried to dynamically load an mib module.. In which directory I have to give the./configure command and install.. To which diretory I have to dynamically load the shared object file…     with warm regards, Jobin Jose Sebastian, Aztec