Re: memory leak on traps

2009-03-04 Thread Amit Kumar
 the guys who faced the same issue .. help me out to resolve the same.. Thanks Amit From: Amit Kumar To: [email protected] Sent: Wednesday, 4 March, 2009 15:54:18 Subject: memory leak on traps Hi All ,         I am getting some m/m

memory leak on traps

2009-03-04 Thread Amit Kumar
Hi All ,         I am getting some m/m leak in send_v2trap .. i added one patch to avoid this --- net-snmp-5.4/agent/agent_trap.c 2006-09-19 20:15:26.0 +0530 +++ net-snmp-5.4_new/agent/agent_trap.c 2009-03-04 15:03:14.0 +0530 @@ -897,6 +897,7 @@ send_trap_to_sess(netsnmp_sess

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

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: snmpd memory leak on overnight stress test ..

2009-02-26 Thread Amit Kumar
From: Magnus Fromreide To: Amit Kumar Cc: [email protected] Sent: Thursday, 26 February, 2009 13:03:32 Subject: Re: snmpd memory leak on overnight stress test .. On Wed, 2009-02-25 at 22:44 -0800, Amit Kumar wrote: > please find the valgring tra

snmpd memory leak on overnight stress test ..

2009-02-25 Thread Amit Kumar
Hi All,         I am using net-snmp 5.4 version . while doing overnight stress test i got a memory leak of 2 MB .. i am not able to figure out the problem .. please help me out ... Thanks in Advance.. Amit Kumar

Re: snmpd on embedded box

2009-01-18 Thread Amit Kumar
Hi ,   1.  TARGET_TRIPLET = "mips-linux-uclibc"    2. Size i am measuring by top command . (  515   457 root S 5168  17%   0% /usr/local/sbin/snmpd -f -L -c /etc/snmpd.conf). Thanks Amit - Original Message From: Magnus Fromreide To: Amit Kumar Cc: net-s

snmpd on embedded box

2009-01-16 Thread Amit Kumar
Hi All,             I am trying to reduce the snmpd footprints in my box but still it is comming as 4.3 MB . can any body please help me out to make it 3 MB . the configure options i am using is :     $(Q)cd $(PROJECT_BUILD_DIR)/$(NET_SNMP_PKG) && ./configure --target=$(TARGET_TRIPLET) \  

Dot3Stats Table

2008-12-06 Thread Amit Kumar
Hi All , I am using net-snmp-5.4 version . I saw rfc 1643 ( Ether-Like-MIb - dot3Stats ) is not implemented in this version . can you please tell me from where i will the code/patch to integerate with my net-snmp toolkit . Thanks - Amit    ---

Restrict the Agent IP...

2008-10-05 Thread Amit Kumar
different IP like 192.168.1.222 then only this Ip can connect to my agent . can you peoples have any idea how to implement this functionality. Thanks in Advance ... Thanks & Regards Amit Kumar - This SF.Net emai

dlmod error urgent

2008-06-30 Thread Amit Kumar
Hi All ,     is it possible to access the two different elements of enterprize id using dlmod . i made a temp.so file and loaded it using dlmod in this file i included my private enterprise id and 1.2.840.10036.1.1 (dot11 mib )  i am getting all the data of my enterprise but not for dot1

snmpd multiple times..

2008-06-27 Thread Amit Kumar
2147483647 4194304 5039028 2140384960 213279100 # cat proc/86/stat 86 (snmpd) S 84 82 82 0 -1 4194368 1 0 0 0 0 0 0 0 20 0 1 0 30364 4009984 362 2147483647 4194304 5039028 2140384960 213070380 i am not able to find out . pleae help me out... Thanks Amit - Original Message From: Amit Ku

snmpd multiple times..

2008-06-26 Thread Amit Kumar
Hi All ,         I am using net-snmp-5.4 varsion . i have four directories : 1 wifi.so (i am loading using dlmod ) 2. wireless (using config_require) statically 3 trap  (using config_require) statically 4 bridge (using config_require) statically after build i am copying to the target and it is sho

net-snmp-includes.h error

2008-06-16 Thread Amit Kumar
Hi All I am getting hte following errors : make[3]: Leaving directory `/home/akumar/workspace-amit/depot/sw/dev/diya/sdk/apps/snmp/net-snmp-5.4' cd Wn302T && make make[3]: Entering directory `/home/akumar/workspace-amit/depot/sw/dev/diya/sdk/apps/snmp/Wn302T' gcc -I ../net-snmp-5.4/include -I ../

compilation errors with mips

2008-06-16 Thread Amit Kumar
Hi All,         i am using the net-snmp5.4 package . i am getting some compilaton errors . can you please help me ..  mips-linux-uclibc-gcc -I../include -I. -I../agent -I../agent/mibgroup -I../snmplib -g -O2 -Uelf -Delf=elf -c mibgroup/mibII/sysORTable.c -o mibgroup/mibII/sysORTable.o /bin/sh ..

MacAddress size

2008-06-11 Thread Amit Kumar
SYNTAX OCTET STRING (SIZE (6)) but when i see the properties of my table entries it is taking some junk values for macAddress it is showing 4 octets ip address it is showing 64 octets. can anybody please help me out . Thanks Amit Kumar

Usm User Limit

2008-06-02 Thread Amit Kumar
In snmp user based security model what is the maximum number of usm users limit ? __ Sent from Yahoo! Mail. A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html -

Re: Net-snmp-coders Digest, Vol 24, Issue 31

2008-05-22 Thread Amit Kumar
Saifulla ,                 I think the problem is in your snmpd.conf file . your configuration file will be    rocommunity public rocommunity public rwcommunity private the same line is comming twice . in that case snmpd read the last line (in bold characters) but tour changes will be in first

USM Implementation..

2008-05-20 Thread Amit Kumar
Hi All ,   I am implementing snmp v3 and adding snmpusm to create/delete/clone/activate/deactivate the user from our mib file ( remotely ). but according to SNMPv3 USM specifications (RFC2574)  it says that users are created and maintained by adding and modifying rows  to  the  usmUserTab

Re: snmpd.conf problem...

2008-05-05 Thread Amit Kumar
age From: Dave Shield <[EMAIL PROTECTED]> To: Amit Kumar <[EMAIL PROTECTED]> Cc: [email protected] Sent: Sunday, 4 May, 2008 1:46:00 PM Subject: Re: snmpd.conf problem... 2008/5/4 Amit Kumar <[EMAIL PROTECTED]>: >          I followed the same procedure bu

Re: snmpd.conf problem...

2008-05-04 Thread Amit Kumar
ase help me out.   Thanks Amit - Original Message From: Dave Shield <[EMAIL PROTECTED]> To: Amit Kumar <[EMAIL PROTECTED]> Cc: [email protected] Sent: Wednesday, 30 April, 2008 8:54:08 PM Subject: Re: snmpd.conf problem... 2008/4/30 Amit Kumar <[EMAIL PROTECT

snmpd.conf problem...

2008-04-30 Thread Amit Kumar
Hi All, I am creating the snmpv3 user using net-snmp-config shell script. net-snmp-config --create-snmpv3-user -ro -A authpass -X privpass -a MD5 -x DES username it addedd the line in /var/net-snmp/snmpd.conf createUser username MD5 "authpass" DES privpass and in /etc/snmpd.conf rouser use

Re: net-snmp-config on target....

2008-04-29 Thread Amit Kumar
  /temp/rootfilesystem/etc/snmpd.conf ) any solution for this !! Thanks Amit - Original Message From: Dave Shield <[EMAIL PROTECTED]> To: Amit Kumar <[EMAIL PROTECTED]> Cc: [email protected] Sent: Tuesday, 29 April, 2008 1:46:11 PM Subject: Re: net-snmp-conf

net-snmp-config on target....

2008-04-29 Thread Amit Kumar
Hi All ,    we have net-snmp-config script to create the snmpv3 users and user information (Authentication/Encryption) get stored in our persistent configuration file (/var/net-snmp/snmpd.conf). is this script is required in our target or our mib browser will take care of that based

Not able to create snmpv3 user...

2008-04-23 Thread Amit Kumar
Hi All , i am trying to enable snmpv3 supprt in my target (MIPS 64) . but i didn't saw net-snmp-config installed in my target . the options i am using is : ./configure --with-cc=mips64-octeon-linux-gnu-gcc --with-linkcc=mips64-octeon-linux-gnu-gcc --with-cflags="-mabi=64 -I${SNMPBU

Re: snmpv3 Encryption Support

2008-04-17 Thread Amit Kumar
remaninig *.h file like /openssl/include/openssl/evp.h i didn't get ant error. Is openssl installation is wrong or this is a bug in net-snmp-5.4 ? Thanks Amit - Original Message From: Thomas Anders <[EMAIL PROTECTED]> To: Amit Kumar <[EMAIL PROTECTED]> Cc: net-snmp-coders

Re: snmpv3 Encryption Support

2008-04-16 Thread Amit Kumar
ac_cv_header_openssl_evp_h=no ac_cv_header_openssl_hmac_h=no and ac_cv_lib_crypto_EVP_md5=no . can anybody please tell me net-snmp-5.4 is compatible with which version of openssl.. Thanks Amit - Original Message From: Colin Strachan <[EMAIL PROTECTED]> To: Amit Kumar <[EMAIL PROTECTED]>

snmpv3 Encryption Support

2008-04-16 Thread Amit Kumar
Hi All, I am using net-snmp-5.4 version with snmpv3 support and i am using the openssl version openssl-0.9.7i . first i used openssl and from ./configure script i used the option --with-openssl=../openssl/ in that case i got the error "Asked to use OpenSSL but i couldn't find it." th

Disable option for net-snmp oid

2008-03-27 Thread Amit Kumar
Hi All , I am using net-snmp-5.4 version . I want to disable all the traps related to 8072 . ( 1.3.6.1.4.1.8072.4 - NET-SNMP-MIB::netSnmpNotificationPrefix ) is there is any option to disable all the traps from the 8072 oid. i used the option --without-enterprise-notification-oid=.

macaddress as Index.

2008-02-25 Thread Amit Kumar
Hi All , is there is any way to give the mac address in OID .1.3.6.1.4.1.28663.4.99.16.1.1.2.0016CFE08701 instead of the decimal values of mac address . Please reply as soon as possible... Thanks & Regards Amit Kumar Ja

how to reduce the size of net-snmp

2008-02-06 Thread Amit Kumar
Hi All , i am using the net-snmp version 5.4 and to reduce the size i used some of the configure options . but it reduced from 4.5 MB to 3.3 MB . i need it to reduced upto 1.5 MB . is there is any other options that i am missing . please help me out to do the same . the snmp versi

Multiple set request..

2007-10-30 Thread Amit Kumar
Hi All, is it possible to set the multiple variables or the whole table in net-snmp . if possible can you please send me the logic to implement the same . Thanks In Advance !!! Regards Amit ___ Yahoo! Answers - Got a question

compilation of traps using mib2c

2007-10-03 Thread Amit Kumar
Hi All, I am new to net-snmp . and i am not able to compile the Mib tables/traps with mib2c compiler . can any-body please tell me the procedue how to compile the tables/traps using mib2c or how to generate the stubs . Thanks Amit __

Net-Snmp toolkit

2007-09-19 Thread Amit Kumar
Hi All, I am new to Net-Snmp and stucked with the code flow . receive() loop (snmpd.c) snmp_read() [library parses the packet and calls] handle_snmp_packet (snmp_agent.c) netsnmp_handle_request handle_pdu handle_var_requests net