Re: Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Wes Hardaker
> "AC" == Ajay Chenampara <[EMAIL PROTECTED]> writes: AC> When I print these variables in SNMP.pm, my values appear correctly. AC> $this->{SessPtr} = SNMP::_new_v3_session($this->{Version}, AC> $this->{DestHost}, AC> $this->{Retries}, That's not how you should create a session. The _new_v3_

5.4.1.pre3 available

2007-06-18 Thread Wes Hardaker
The (likely) final pre-release for 5.4.1 has been made available and can be retrieved from: http://www.net-snmp.org/download.html -- Wes Hardaker Sparta, Inc. - This SF.net email is sponsored by DB2 Express Download DB2

Re: about snmpd

2007-06-18 Thread Magnus Fromreide
On mån, 2007-06-18 at 15:18 +0800, zhangyao wrote: > Hi all, > > I think snmpd never use the mib files,so > I change the path "C:\usr\share\snmp\mibs" to "C:\usr\share\snmp > \mib" > and then run snmpd -H > system show: > > Cannot find module (SNMPv2-SMI): At line 0 in (none) > Cannot find m

Re: Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Ajay Chenampara
Hi there!. I tried the NoAuthNoPriv option as well ( no authentication or encryption - the username has to just exist at the agent) - no luck...the router debugs indicate the username is not being passed Does Net-SNMP really support V3? has anyone tried it Jun 18 20:19:18.668: SNMP:

Re: Memory leak in snmpTargetAddrTable

2007-06-18 Thread Magnus Fromreide
On mån, 2007-06-18 at 15:32 +0200, Makavy, Erez (Erez) wrote: > Hi, > > Is there any reason why this function does not close the associated > session? No, and thus revision 15778 corrected this. This will be available in the next net-snmp release. Thanks for the bug report. /MF

Re: Compiling a subagent and two tables causing me problems

2007-06-18 Thread Need Help
Correction in BOLD below The following files exist (there are more files, but these are the important ones): mibgroup/OC-STB-HOST-MIB/ocStbHostMib_subagent.c mibgroup/OC-STB-HOST-MIB/ocStbHostMib_subagent_Makefile mibgroup/OC-STB-HOST-MIB/ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable.c m

Re: Compiling a subagent and two tables causing me problems

2007-06-18 Thread Need Help
Perhaps the problem is with the Makefile I am using? Here it is in case someone can find something wrong with it: CC=gcc TABLE_01_PREFIX=ocStbHostAVInterfaceTable/ocStbHostAVInterfaceTable TABLE_02_PREFIX=ocStbHostAnalogVideoTable/ocStbHostAnalogVideoTable NETSNMPCONFIG=net-snmp-config

Compiling a subagent and two tables causing me problems

2007-06-18 Thread Need Help
I am trying to compile my MIB code so a subagent can be created/started to handle all the SNMP requests for the MIB. I am trying to compile two tables of my MIB code and my "subagent.c" file together to see if I can get them compiled, however, I am getting a "No such file" error when I try to c

Perl module for Net-SNMP -snmpv3

2007-06-18 Thread Ajay Chenampara
Hi, I am trying to establish an snmpv3 session with a cisco router using the cricket monitoring system. I am trying to do it using the authNoPriv level. While, I can get snmpwalk etc to work from the monitoring box (RH linux) to the router, I cant get the snmpsession to open with perl. When i r

Memory leak in snmpTargetAddrTable

2007-06-18 Thread Makavy, Erez (Erez)
Hi, Is there any reason why this function does not close the associated session? <-CODE-SEGMENT- [ from snmpTargetAddrEntry.c ] void snmpTargetAddrTable_dispose(struct targetAddrTable_struct *reaped) { SNMP_FREE(reaped->name); SNMP_FREE(reaped->tAddress); SNMP_FREE(reape

RE: Authentication & Encryption passwd !

2007-06-18 Thread Devi U
Hi, Thanks for ur kind help and very sorry for my delayed reply. As per the function copy_nword() function should i prefix a \ if password contains \. Should i quote initial password with double quotes for createUser entry in snmpd.conf? or Only for trapsess entry in snmpd.conf. Than