RE: SnmpGet with multiple OID's crash!!

2010-10-04 Thread anup.shankar
Any idea if we have a patch for this issue in net-snmp. ~Anup _ From: Shankar, Anup Sent: Friday, September 24, 2010 5:20 PM To: 'net-snmp-users@lists.sourceforge.net' Subject: SnmpGet with multiple OID's crash!! Hi,, I have used iterate.conf, for

RE: SnmpGet with multiple OID's crash!!

2010-10-04 Thread anup.shankar
hi, The crash is happening in this part of the code.. file table_iterator.c The table_info = netsnmp_extract_table_info(requests) returned for invalid OID seems to be a NULL value and we crash in _clone_varbind(table_info-indexes); So can I fix this is this way?? Any suggestions please?? if

SnmpGet with multiple OID's crash!!

2010-09-24 Thread anup.shankar
Hi,, I have used iterate.conf, for generating the mib2c code. The SNMPGet made with muliple oids ( ie with one invalid OID) will let the SNMPD crash, with the below trace. Appreciate your response if this is a know issue., or faced earlier. #0 0xb7e209f3 in

RE: mib2c does not like object syntax IpAddress

2010-09-22 Thread anup.shankar
Try using iterate / table.conf file in mib2c , this works.. -Original Message- From: kavita raghunathan [mailto:kraghuna2...@yahoo.com] Sent: Thursday, September 23, 2010 2:07 AM To: net-snmp-users@lists.sourceforge.net Cc: net-snmp-cod...@lists.sourceforge.net Subject: mib2c does not

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-09-12 Thread anup.shankar
Hi, After a bit of investigaton, the Getnext and bulkget calls go to the next table, by adding a dummy colum entry with the below function call. /*/ case COLUMN_TABLENOOP:

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-09-10 Thread anup.shankar
Hi Dave, I made the host to network order suggestion, and now it works for Get, GetNext and BulkGet calls. However iam facing a issues with Getnext/Bulk/Snmpwalk get calls going to the next table, the bulk/walk requests are NOT going to next table, it traverses to the beginning of the same

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-26 Thread anup.shankar
Any one else in the group, have faced this issue. it's extremely high priority to get this issue resolved. Any help in this is highly appreciated. Thanks, Anup -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent:

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-25 Thread anup.shankar
Hi Dave, I changed the code as below, but now Get fails and Get next works. The below is the response. Dev6-MgmtServer:/usr/sbin # snmpget -v 2c -c public 127.0.0.1 1.3.6.1.4.1.1139.21.2.2.5.1.1.128.221.252.35 SNMPv2-SMI::enterprises.1139.21.2.2.5.1.1.128.221.252.35 = No Such Instance

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-25 Thread anup.shankar
Attached is the code.. Thanks for your help. ~Anup -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, August 25, 2010 12:50 PM To: Shankar, Anup Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Fails::

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-25 Thread anup.shankar
Attached is the compiled code... -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Wednesday, August 25, 2010 1:20 PM To: Shankar, Anup Cc: net-snmp-users@lists.sourceforge.net Subject: Re: Fails:: SNMPGetNext and

RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-25 Thread anup.shankar
Hi Dave, Could you get a chance to look into this. Thanks, Anup -Original Message- From: Shankar, Anup Sent: Wednesday, August 25, 2010 1:45 PM To: 'Dave Shield' Cc: net-snmp-users@lists.sourceforge.net Subject: RE: Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in

Fails:: SNMPGetNext and GetBulk has the IP Address Index reversed in the request.

2010-08-24 Thread anup.shankar
Hi All, We are using NET-SNMP code for building an SNMP agent for servicing our MIB file. The MIB file reports performance metrics for the hardware. The Table entries in the MIB use IP Address as index. The setup is as below: - NET-SNMP : net-snmp-5.3.0.1-25.25 OS: