Re: Probelem in snmpwalk operation

2005-11-30 Thread devsingh
Hi Robert, Thank you so much for your quick response. The details are as follows: - Platform "Linux" - SNMP Version "NET-SNMP version: 5.1.1 - It is happening with my own Tables. I shall be very happy for any kind of assistance/help. With Regards, Devendra The information contain

patch for snmp_api.c

2005-11-30 Thread Wes Hardaker
Delayed engineid probing broke things for some cases from 5.2 and beyond. I've just fixed this in main (5.3) but won't apply the patch till after Monday for the 5.2 tree. The one thing that I know is broken without this is snmptrap when sending authenticated (or above) SNMPv3 traps. Index: snmp

Re: 5.3.pre4 HP-UX 10.20: non-root agent hangs when walked

2005-11-30 Thread Wes Hardaker
> On Tue, 29 Nov 2005 20:19:29 +0100, Magnus Fromreide <[EMAIL PROTECTED]> > said: Magnus> One thing I have been thinking about is how to add compiled Magnus> test programs to the test suite, reasons for doing this would Magnus> be for example to throw faults on the programs or test Magnu

Re: snprint_value

2005-11-30 Thread Wes Hardaker
> On Tue, 29 Nov 2005 15:30:46 -0500, "Haizhu Liu" <[EMAIL PROTECTED]> said: Haizhu> 1. I queried the agent a whole big table, when I got the Haizhu> information, I am parsing it using snprint_value, it seems CPU Haizhu> usage jumps up whenever snprint_value is called? Any Haizhu> suggestion?

Re: rfc: maintaining the 'dist' dir

2005-11-30 Thread Wes Hardaker
> On Tue, 29 Nov 2005 09:22:50 -0800, Wes Hardaker <[EMAIL PROTECTED]> said: Robert> Sounds reasonable to me, too. Wes> Sounds like everyone actually agrees without arguments or objections. Wes> I'm now scared. I've now "cleaned" the 5.1 and 5.0 trees and installed a README file. I'll do the

Re: Probelem in snmpwalk operation

2005-11-30 Thread Robert Story
On Wed, 30 Nov 2005 20:57:02 +0530 (IST) [EMAIL PROTECTED] wrote: DCI> I am facing one probelm while snmpwalk(After Setting Get-Bulk DCI> option as enable).The steps are as follws. DCI> DCI> - I am getting SNMP generic error while snmpwalk operation. DCI> It walk all objects in a particular ta

Re: timestamp issue

2005-11-30 Thread David T. Perkins
HI, OK, Try the following... unsigned char val[] = { 0x07, 0xC8, 0x05, 0x1a, 0x0d, 0x1e, 0x0e, 0x00, 0x2d, 0x04, 0x00 }; int valLen = sizeof(val)/sizeof(unsigned char); snmp_set_var_typed_value (requests,ASN_OCTET_STR, val, valLen); What you did encodes a string that is

Re: timestamp issue

2005-11-30 Thread Dave Shield
On Wed, 2005-11-30 at 21:06 +0530, [EMAIL PROTECTED] wrote: > I had tried the value, what you had send, > still i am getting some big number. > I had filled the snmp_set_var_typed_value as >snmp_set_var_typed_value (requests, ASN_OCTET_STR, > "0x07C8051a0d1e0e002d0

Re: timestamp issue

2005-11-30 Thread kanda.samy
Title: Re: timestamp issue Hi David,     Thank you for quick the response     I had tried the value, what you had send, still i am getting some big number. I had filled the snmp_set_var_typed_value as snmp_set_var_typed_value (requests,ASN_OCTET_STR,"0x07C8051a0d1e0e002d0400",strle

Probelem in snmpwalk operation

2005-11-30 Thread devsingh
Hi All, Thanx in advance. I am facing one probelm while snmpwalk(After Setting Get-Bulk option as enable).The steps are as follws. - Once I enable GET-BULK option and give appropriate value for Non-repetors and Max-repetitions using MG-SOFT BROWSER. - I am getting SNMP generic error while

Re: Init_mib has diff behavior between net-snmp-5.1 and net-snmp-5.1.2

2005-11-30 Thread Robert Story
On Tue, 29 Nov 2005 16:45:11 -0800 Yi wrote: ZY> Our application is using net-snmp APIs to send trap and the application ZY> does not need to load and read default mibs. We have used following APIs ZY> to avoid loading and reading default mibs: ZY> ZY> netsnmp_set_mib_directory(""); This tells t

Re: problems with distributed mibs?

2005-11-30 Thread Niels Baggesen
On Wed, Nov 30, 2005 at 10:30:30AM +, Dave Shield wrote: > On Tue, 2005-11-29 at 18:26 +, Patrick Welche wrote: > > TEXTUAL-CONVENTION MACRO (lines 8..48 parsed and ignored). > > I'd be tempted to simply comment out these particular macro. > definitions, since they're hardcoded into the MI

Re: problems with distributed mibs?

2005-11-30 Thread Dave Shield
On Tue, 2005-11-29 at 18:26 +, Patrick Welche wrote: > I tried > >snmptranslate -Tp -OS -m all -PW -Pe > > which gave things like: > > MODULE-IDENTITY MACRO (lines 55..79 parsed and ignored). > OBJECT-IDENTITY MACRO (lines 81..103 parsed and ignored). > OBJECT-TYPE MACRO (lines 212

Re: rfc: 5.3 news

2005-11-30 Thread Dave Shield
On Tue, 2005-11-29 at 09:53 -0800, David T. Perkins wrote: >If the security level is > "noAuthNoPriv" then I believe that notifications should be > "accepted", but put in a "different" pile. The idea of different processing based on the incoming administrative c

Init_mib has diff behavior between net-snmp-5.1 and net-snmp-5.1.2

2005-11-30 Thread Zhou, Yi
Hi, Our application is using net-snmp APIs to send trap and the application does not need to load and read default mibs. We have used following APIs to avoid loading and reading default mibs: netsnmp_set_mib_directory(""); init_mib(); Our application works as expected when we using net-snmp-5.

Re: netsnmp query - HP-UX

2005-11-30 Thread Dave Shield
On Wed, 2005-11-30 at 13:34 +0530, Manish Sharma wrote: > I am installing netsnmp 5.2.2 on HP-UX > I have tried to compile netsnmp with "aCC" using > a. "./configure --with-cc=aCC" > b. make > c. make install > > Which worked fine , but when I try to run "mib2c" it says > that SNMP perl modul

netsnmp query - HP-UX

2005-11-30 Thread Manish Sharma
Hi Dave, I am installing netsnmp 5.2.2 on HP-UX using "net-snmp-5.2.2.tar.gz" which I have downloaded from "http://sourceforge.net/project/showfiles.php?group_id=12694". I have tried to compile netsnmp with "aCC" using a."./configure --with-cc=aCC" b. make c.make install Wh