couldn't find ifIndex

2010-11-29 Thread Andrus, Brian Contractor
Hello all, Not a coder or anything, but I have had an issue and noticed others have as well. I hunted down and watched for patterns for myself. Here is a scenario that seems to be consistent in my environment: We are running a CentOS 5.5 environ. Strictly rpms. We run TCPoIB (TCP over Infini

Re: bulkget returns junk when requesting integers and strings

2010-11-29 Thread Daniel Ng
On Tue, Nov 30, 2010 at 11:31 AM, Daniel Ng wrote: > > -the problem only happens when the first OID is a string and the > second OID is an integer. Note that both of the above OIDs correspond > to elements in the same table. > Please also note that the problem only happens for a 2-dimensional tab

bulkget returns junk when requesting integers and strings

2010-11-29 Thread Daniel Ng
Hi, My server is using net-snmp 5.6. I am getting the same problem with different snmp clients: This case is fine: d...@dng-1:~$ snmpbulkget -v2c -Cn0 -Cr8 -Os -c public 192.168.1.75 enterprises.28458.7.2.4.6.3.1.8 enterprises.28458.7.2.4.6.3.1.7 enterprises.28458.7.2.4.6.3.1.8.1.1 = STRING: "E

MaxMsgSize on v2c request

2010-11-29 Thread Connie Chan
Hi, I'm using netsnmp 5.4.2.1. I made a v2c request to server but got error "send response: Too long" Turned on debug msgand got sess_async_send: 2010-11-29 15:00:16,716 - length of packet (8379) exceeds session maximum (4096) We cannot specify maxMsgSize in snmpv2c PDU. Does netsnmp defau

which mib2c template to use

2010-11-29 Thread Kobi Biton
Hi I used the mib2c int template to convert a mib with a single read-write object successfully , however now I face a new issue the value that I need to snmpset is `date +%s` (Linux APOC) which I assume will not fit into an integer field , I assume I will need to change the field type to counter32

Re: net-snmp on windows 2003 crash

2010-11-29 Thread David Dumortier
Hello, Le Sun Nov 07 2010 � 06:10:22PM +0100, Bart Van Assche dit : > On Fri, Nov 5, 2010 at 8:41 AM, David Dumortier wrote: > > > Le Thu Nov 04 2010 à 07:36:42PM +0100, Bart Van Assche dit : > > > On Tue, Nov 2, 2010 at 5:49 PM, David Dumortier > > wrote: > > > > > > > I try to install net-snm

Memory leak in MFD logic?

2010-11-29 Thread kavita raghunathan
Hello, after spending nearly 1 week on this, I thought I will email to ask. Any known leaks in MFD logic ? I'm using net-snmp-5.5, and after many walks I see leaks of 1M each. I looked at 5.6, and ported over all the "fixes" that claimed to be "memory leak fixes" in the table and row logic. But

Re: snmpset gives an gen Error message

2010-11-29 Thread Leo Lin
Hi Jack;   The error was in the handler I implemented.  I comitted a silly mistake of deleting the modes I did not have code for, for example:   int syslocation_handler(netsnmp_mib_handler *handler,   netsnmp_handler_registration *reginfo,   

RE: SNMPSET - Error - :(genError) A general failure occured

2010-11-29 Thread Ramakrishna Dronamraju Venkatavalli
unsubscribe -- Increase Visibility of Your 3D Game App & Earn a Chance To Win $500! Tap into the largest installed PC base & get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with

Re: SNMPSET - Error - :(genError) A general failure occured

2010-11-29 Thread jack n
Can someone help me with this? Thanks in advance. Regards, Jack. On Thu, Nov 25, 2010 at 2:12 AM, jack n wrote: > Hi All, > > I had placed my private MIBs under /usr/share/snmp/mibs and compiled them > using mib2c. > > I got .c and .h files, added my code in the .c file and placed them under >

Re: Re: Re: Who can help me to let net-snmp working in arm-linux?

2010-11-29 Thread Jason
Hi, The snmpd.conf: # sec.name source community com2sec all 0.0.0.0/0 public # Second, map the security names into group names: # sec.model sec.name group MyRWGroup v1 all group MyRWGroup v2call group MyRWGroup usmall group MyROGrou

Re: Re: Who can help me to let net-snmp working in arm-linux?

2010-11-29 Thread rakesh zingade
2010/11/29 Jason > Hi, > I cross-compiled the net-snmp with arm-linux-gcc in static mode, and it > successfully generated a snmpd, but I thought it was not a static binary. > > ./configure -prefix=/usr/local/snmp-test --enable-static --disable-shared > --enable-mini-agent --disable-applications

Re: snmpset gives an gen Error message

2010-11-29 Thread jack n
Hi Leo, I am facing a similar issue, can you please tell me how u debugged this issue?? Thanks and Regards, Jack. On Sun, Oct 17, 2010 at 8:22 AM, Leo Lin wrote: > I've found the bug, now it's working fine. > > Thanks! > > Leo; > > --- On *Sat, 10/16/10, Leo Lin * wrote: > > > From: Leo Lin

Re: Re: Who can help me to let net-snmp working in arm-linux?

2010-11-29 Thread Jason
Hi, I cross-compiled the net-snmp with arm-linux-gcc in static mode, and it successfully generated a snmpd, but I thought it was not a static binary. ./configure -prefix=/usr/local/snmp-test --enable-static --disable-shared --enable-mini-agent --disable-applications --disable-des --disable-priva