Hi Dave, Thanks for taking interest in the problem, i would like to present some more information. i am using UCD-snmp version: 4.2.5 API to create my gettable function, and net-snmp-5.0.6 is running on red hat 9 pc where i am testing the calls,
after adding '.' before the udpTable OID i am getting same error, [apps]$ ./gettable AMIT: .1.3.6.1.2.1.7.5 //my debug printf Was that a table? .iso.3.6.1.2.1.7.5.1.1 //this time some different OID Also it will be helpful to me if you can see the code i am attaching with this mail, I copied snmptable.c file and did some small modification, with regards, Amit -----Original Message----- From: Dave Shield [mailto:[EMAIL PROTECTED] Sent: Thursday, August 05, 2004 8:04 PM To: Amit Singh CHANDEL Cc: [EMAIL PROTECTED] Subject: Re: snmptable query > [apps]$ ./gettable > AMIT: 1.3.6.1.2.1.7.5 > Was that a table? .iso.3.6.1.2.1.1.3.6.1.2.1.7.5.1.1 Try ./gettable .... .1.3.6.1.2.1.7.5 i.e. with a leading '.' for the OID. This ensures that the tools regard this as a full numeric OID, rather than a partial one (implicitly rooted at "mib-2") > I have installed red hat 9 with net-snmp-5.0.6 version. I'm a little surprised it works that way, then. I thought the default had changed with the 5.0 release. But it's always safest to specify full numeric OIDs with a leading '.' whatever the version of the software is. Dave
gettable.c
Description: Binary data
