Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Robert Story
On Tue, 19 Jun 2007 10:26:06 -0700 (PDT) Need wrote: NH> OC-STB-HOST-MIB::ocStbHostAnalogVideoProtectionStatus.3 = INTEGER: copyProtectionOff(0) NH> Here is the "snmpgetnext" output you requested: Hmm.. ok.. now lets try something a little bit different... comment out the code we added to the an

RE: [SPAM] - RE: [SPAM] - Re: Resending traps in trap callback function causedagent to crash - Found word(s) list error in the Text body - Found word(s) list error in the subject

2007-06-19 Thread Tu, Don
Hi Robert, I am happy to let you know that version 5.4.1.pre3 seems to eliminate the memory leak. I forwarded more than 2000 traps and the RSS never increased. Again, thanks for your help. Don -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tu, Don Se

RE: [SPAM] - Re: Resending traps in trap callback function caused agent to crash - Found word(s) list error in the Text body

2007-06-19 Thread Tu, Don
Hi Robert, Thanks for your reply and yes, I did forget to dup the PDU. I changed the code and it is now working properly. Thank you for your help. However, with the piece of code below, I found that the snmpd RSS memory keeps increasing by 4K every 30 to 40 traps I sent out. Can you pinpoint the s

Possible BUG sending informs with SHA authenticaiton

2007-06-19 Thread Makavy, Erez (Erez)
Hi, Background --- I'm using net-snmp 5.3.1 and trying to use the snmpTargetMIB to send out informs. Problem When sending out informs with users that have SHA authorization, the informs fail authorization on the receiver side. Analysis: --- - Sending i

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Need Help
I first started the snmp master agent "without" the tokens you recommended so you can see the results of a "snmpwalk" request of both tables, then I restarted the agent with the tokens and got the "snmpgetnext" output you requested. Here is the "snmpwalk" of Table1(ocStbHostAVInterfaceTable):

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Need Help
Ok, I remember the "-D" option now I will try it and let you know. Need Help <[EMAIL PROTECTED]> wrote: I remember looking at the subContainer stuff but could not make sense out of it. I guess I might need to go this route if I can not figure out why these rows are being displayed. Sinc

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Need Help
I remember looking at the subContainer stuff but could not make sense out of it. I guess I might need to go this route if I can not figure out why these rows are being displayed. Since this SNMP implementation is for my company, I doubt they would like to see all rows in Table1 being displaye

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Robert Story
On Tue, 19 Jun 2007 08:59:49 -0700 (PDT) Need wrote: NH> Any idea what I should do to fix this problem? Unfortunately, we are rapidly approaching the line between help I can offer by quick peeks at the code, and help that needs serious debugging. Try running with the following debugging tokens

Re: Resending traps in trap callback function caused agent to crash

2007-06-19 Thread Robert Story
On Fri, 15 Jun 2007 19:10:21 -0600 Don wrote: TD> I have a trap callback function that checks the trap name against a list TD> of predefined names and resend the traps to other hosts if the trap name TD> matches a name in the list. This seems to work properly and I receive TD> the forwarded traps o

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Need Help
Any idea what I should do to fix this problem? Would providing my code be helpful? All of my MIB code is now running as a subagent and all values are basically hardcoded into the table rows so it should be fairly easy to replicate. Anyway, not real sure what I can do on my own here unels

Re: row_prep() returning MFD_SKIP results in error

2007-06-19 Thread Robert Story
On Fri, 15 Jun 2007 11:45:35 -0700 (PDT) Need wrote: NH> What do you think about the following snmpwalk output? NH> NH> The "ocStbHostAnalogVideoTable_row_prep()" routine is set to return MFD_SKIP for the third row only. NH> NH> Here is the output of the "snmpwalk" command for Table2: NH> NH> O

Re: rfc: consolidating data access methods in agent/mibgroup

2007-06-19 Thread Robert Story
On Sun, 17 Jun 2007 15:11:26 +0100 Dave wrote: DS> On 15/06/07, Robert Story <[EMAIL PROTECTED]> wrote: DS> > DS> What sort of structure did you have in mind for 'data_access'? DS> > DS> Relatively flat (d_a/memory, d_a/ip, d_a/software)? DS> > DS> Or some form of internal grouping (d_a/hardware/me

FIGURED IT OUT: (Re: Compiling a subagent and two tables causing me problems)

2007-06-19 Thread Need Help
Figure it out finally, it seems I needed to add an "include path" -I option to the makefile. Need Help <[EMAIL PROTECTED]> wrote: 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=ocStbHostAVInterfa

Re: UCDExperimenal on CentOS 4.4

2007-06-19 Thread Thomas Anders
Austin G. Smith wrote: > I am using the precompiled binaries that are in the centos distro. I am > attempting to gather ucdexperimental stats from the diskiotable, but > have not been able to get this mib available in net-snmp. I have tried > to go by the docs on the site, but when I try to add t

UCDExperimenal on CentOS 4.4

2007-06-19 Thread Austin G. Smith
I am using the precompiled binaries that are in the centos distro. I am attempting to gather ucdexperimental stats from the diskiotable, but have not been able to get this mib available in net-snmp. I have tried to go by the docs on the site, but when I try to add the mib with the snmptranslate,

Reg: Error "Bad auth key value"

2007-06-19 Thread padmarao.rajolu
Hi, In case1 I am not getting sanity notifications because of bad auth key error. Can you please tell me what might be the problem I am not getting Sanity when I used passphrase instead of keys (auth key/privacy key)? Case1: PassPhrase: snmpd.conf trapsess -e 0x80A1031

patch 1737727 and the NOACCESS #define

2007-06-19 Thread Wes Hardaker
Patch 1737727 brings up an interesting (as always) conflict dilemma. Anyone have thoughts on it? (note that NOACCESS is one of 3 defines that are potentially usable by old-api implementations. RONLY and RWRITE being the other two, which are definitely used) -- Wes Hardaker Sparta, Inc. --

Re: Perl module for Net-SNMP -snmpv3

2007-06-19 Thread Ajay Chenampara
Thanks for the reply Wes, I tried what Wes suggested and I still dont see the SecName being passed to the router. has anyone had success with Net-SNMP for snmpv3? Im just wondering if this is maybe unsupported and I might be putting in some unproductive hours :) PERL Script: ---

Re: 5.4.1.pre3 available

2007-06-19 Thread Thomas Anders
Wes Hardaker wrote: > 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 In other words: please build and test ("./configure ... && make && make test") on as many systems as you can and report back! Cheers, +

visual c++

2007-06-19 Thread Aleksandr Lomanov
Hello, all! visual c++ workspace no more supported ? When it will be supported ? Aleksandr Lomanov ICQ#: 170411676 - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and

"Bad auth key value" for PassPhrase

2007-06-19 Thread narayana.cheluvaraju
Hi, I am getting "Bad auth key value" for PassPhrase values in snmpd.conf while sending notifications to Manager. Please find below scenarios. In case1 , I am getting notifications when I used keys. Case 1: Keys: snmpd.conf trapsess -e 0x80A103 -v 3 -u admin_1 -a