optimization flags

2009-02-27 Thread Amit Kumar
Hi All,         In net-snmp configure options --cflags = -Os . ( reduces the size in linux ( fedora 7) ) is this good to have this optimization flags ? .. is there is any drawbacks of this ..? Thanks Amit -- O

RE: help needed with root oid and getnext operation

2009-02-27 Thread EYRE Bernadette
Hi David, One of my original problem was that when using snmpwalk command on say a column (without any instance index) of one of the tables, my subagent handler was getting called once with getnext and next with get mode. I wasn't sure if that was the expected sequence of calls. I was not seeing

RE: Question on SNMP version

2009-02-27 Thread Bell, Adam
All, I have made the changes suggested below and the getnext functionality works as expected. I see the proper index values when I fetch the table. Changing the index type as suggested in netsnmp_table_helper_and_indexes() did the trick. (test_handler.c) The index values without byte length

compilation errors net-snmp-5.4.2.1

2009-02-27 Thread Amit Kumar
Hi All ,         I am using net-snmp-5.4.2.1 tarball .. i am getting the following errors messages file included from module_tmp_header.h:78: ./agent/mibgroup/private/globalOID.h:1:38: error: net-snmp/net-snmp-config.h: No such file or directory In file included from ./agent/mibgroup/private/g

Re: Regarding SNMP Agent Programming

2009-02-27 Thread Dave Shield
2009/2/27 GK Reddy Chinthalapudi : > I installed NET-SNMP. I written my own MIB and I able to set and get the > values in my MIB. My problem is where this setting and getting is actually > happening in net-snmp source code. It is handled in the appropriate "MIB implementation module". I.e. the cod

Regarding SNMP Agent Programming

2009-02-27 Thread GK Reddy Chinthalapudi
Hi, This is G K Reddy, my doubt is regarding SNMP agent programming. I am new to this snmp programming. I installed NET-SNMP. I written my own MIB and I able to set and get the values in my MIB. My problem is where this setting and getting is actually happening in net-snmp source code. Because my