RE: help-Memory leak while sending the trap using send_v2trap() api

2011-11-23 Thread Malathi Panyam
Try adding the line “doNotRetainNotificationLogs yes” to snmpd.conf file. If you compile the NetSNMP with NOTFICATION LOG MIB included, all the traps sent out will be saved with agent and the memory will be held as long as agent is alive. By adding the above line agent will not store the

RE: snmpwalk error with subagent

2011-09-23 Thread Malathi Panyam
What is the size of the data for this MIB module? I had this issue with tables with large number of rows..to start with you may need to provide sufficient timeout values for the request and check.. From: Rodrigo Barboza [mailto:rodrigombu...@gmail.com] Sent: Tuesday, September 20, 2011 6:23 AM

choosing the correct container for CONTAINER_INSERT in _cache_load()

2011-08-16 Thread Malathi Panyam
Hi, Container.c in snmplib lists few containers like binary array, linked list and sorted linked list. Should I assume binary array will be chosen by default for the table container? Is there a way that we can choose a different container type for mib2c generated tables? We are facing some

agentxTimeout between agent and subagent

2011-08-09 Thread Malathi Panyam
Hi, I would like to know the scenarios in which agent can close the communication with subagent(infact kill the process) other than exceeding the agentXTimeout seconds configured in snmpd.conf. In our case, I am trying to pull a very large table and the request goes through if the table

RE: Overriding the NetSNMP default implementation of Standard MIBs

2011-05-20 Thread Malathi Panyam
to patch the code to comment the hrSystem registration in hr_system.c 3. We cannot comment the init_hrSystem() in mib_modules_inits.h as this file is auto generated. So we can only comment the body of the function call init_hrSystem(). Thanks and Regards, Malathi From: Malathi Panyam

RE: Overriding the NetSNMP default implementation of Standard MIBs

2011-05-18 Thread Malathi Panyam
not work for me, ifTable and ifXTable override works fine though. Pl suggest. Thanks, Malathi From: Malathi Panyam [mailto:malathi_pan...@net.com] Sent: Tuesday, May 10, 2011 2:06 PM To: net-snmp-users@lists.sourceforge.net Subject: Overriding the NetSNMP default implementation of Standard MIBs Hi

RE: query to dsx1Intervaltable always kills the subagent

2011-03-29 Thread Malathi Panyam
] On Behalf Of Dave Shield Sent: Tuesday, March 29, 2011 1:01 AM To: Malathi Panyam Cc: net-snmp-users@lists.sourceforge.net Subject: Re: query to dsx1Intervaltable always kills the subagent On 29 March 2011 00:25, Malathi Panyam malathi_pan...@net.com wrote: Our subagent process is taking more

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
using a two index table for the first time. What am I doing wrong here? Thanks for your help Regards, Malathi -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Friday, March 25, 2011 6:24 AM To: Malathi Panyam Cc: net

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
) at snmp_api.c:5761 #25 0x40192e20 in snmp_read (fdset=0xbe1ffcc4) at snmp_api.c:5378 #26 0x4001b6ac in agent_check_and_process (block=0x1) at snmp_agent.c:606 #27 0x00028a04 in start_agent_check_and_process () at snmp.cpp:360 -Original Message- From: Malathi Panyam [mailto:malathi_pan...@net.com

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
[ds1Index] [ds1IntIndex].dsx1IntervalValidData; return MFD_SUCCESS; } -Original Message- From: dave.shi...@googlemail.com [mailto:dave.shi...@googlemail.com] On Behalf Of Dave Shield Sent: Monday, March 28, 2011 9:59 AM To: Malathi Panyam Cc: net-snmp-users

RE: query to dsx1Intervaltable always kills the subagent

2011-03-28 Thread Malathi Panyam
time to get the response from subagent? Thanks and Regards, Malathi -Original Message- From: Malathi Panyam [mailto:malathi_pan...@net.com] Sent: Monday, March 28, 2011 10:11 AM To: Dave Shield Cc: net-snmp-users@lists.sourceforge.net Subject: RE: query to dsx1Intervaltable always kills

query to dsx1Intervaltable always kills the subagent

2011-03-24 Thread Malathi Panyam
Hi, We are trying to support DS1 MIB(RFC4805) on our device. We use NetSNMP 5.4.2.1 and use the mib2c generated code for tables. Our subagent for dsx1IntervaTable always getting killed when queried. I don't find any core file though. Definition of dsx1IntervalTable is Dsx1IntervalEntry ::=

hrSystemInitialLoadDevice in Host resource MIB

2011-03-11 Thread Malathi Panyam
Hi, I tried to verify the HR MIB details on our node and I get value 1536 for the hrSystemInitialLoadDevice. I checked the code and this value comes from (HRDEV_DISK=6)(HRDEV_TYPE_SHIFT=8). As per the MIB definition of the above object, we should see this value(1536) as a device index in

seg fault while sending traps

2011-03-02 Thread Malathi Panyam
Sent before through my personal mail ID Hi, We experienced a seg fault (only one known occurrence so far) while sending the V2 traps out. I found the following link with exact location where I see the crash on our device.

Seg fault while sending the V2 traps

2011-02-28 Thread Malathi Panyam
Hi,    We experienced a seg fault (only one known occurrence so far) while sending the V2 traps out. I found the following link with exact location where I see the crash on our device. http://sourceforge.net/tracker/index.php?func=detailaid=3078424group_id=12694atid=112694   As explained there,

Error on trying to get a large table:Error in packet. Reason: (genError) A general failure occured

2010-12-15 Thread Malathi Panyam
Hi,     We have a proprietary MIB table defined with 2048 rows. When I tried to test this with more than 1084 entries always the request fails with the message Error in packet. Reason:(genError) A general failure occurred. When I went through agent code I could only see the SNMP_MAX_MSG_SIZE set

Re: Can agent edit/update snmpd.conf

2010-09-27 Thread Malathi Panyam
...@users.sourceforge.net Subject: Re: Can agent edit/update snmpd.conf To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Monday, September 27, 2010, 2:18 PM MP We have a situation where in the subagent proces is getting killed MP without any core dumps

Can agent edit/update snmpd.conf

2010-09-23 Thread Malathi Panyam
Hi,    We have a situation where in the subagent proces is getting killed without any core dumps, while this is happening, one of the managers added (first one in the list) to snmpd.conf is getting removed from the snmpd.conf file. We dont see any logs that the subagent is doing this removal.

Agent under SNMP polling stress test

2010-08-02 Thread Malathi Panyam
Hi,    We are trying to perform some stress tests on SNMP agent by polling a table with 5 sec polling interval. While performing this test with multiple clients(3 to 4) after around 90 minutes of test(on average), it is observed that agent no longer communicating with the subagent and one time

FQDN resolve by NetSNMP agent in snmpd.conf

2010-07-31 Thread Malathi Panyam
Sending it again. Just in case it did not reach the proper group. --- On Fri, 7/30/10, Malathi Panyam malathipan...@yahoo.com wrote: From: Malathi Panyam malathipan...@yahoo.com Subject: FQDN resolve by NetSNMP agent in snmpd.conf To: net-snmp-users@lists.sourceforge.net Date: Friday, July 30

FQDN resolve by NetSNMP agent in snmpd.conf

2010-07-30 Thread Malathi Panyam
Hi,    I have specific case where in SNMP managers are configured as FQDNs. During start up we read all these addresses, write them to snmpd.conf and ask the agent to reread the config file. Problem is during startup when the DNS server is not really ready, it looks like agent tries to resolve

ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
Hi,     When I tried to get the ifTable using snmptable command, I see a completely wrong value for ifPhysAddress. All other values look fine.   We override the functionlaity of ifTable in our code.   But the value of ifPhysAddress is fine when I tried to retrieve in any MIB browser. This shows

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
: RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable To: Malathi Panyam malathipan...@yahoo.com, net-snmp-users@lists.sourceforge.net Date: Friday, July 16, 2010, 8:38 AM From: Malathi Panyam [mailto:malathipan...@yahoo.com] Sent: Thursday, July 15, 2010 4:15 PM      When I

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
...@tva.tvworks.com Subject: RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable To: Malathi Panyam malathipan...@yahoo.com, net-snmp-users@lists.sourceforge.net Date: Friday, July 16, 2010, 10:14 AM From: Malathi Panyam [mailto:malathipan...@yahoo.com] Sent: Friday, July 16, 2010 9:17 AM

RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
::ifPhysAddress.9 = STRING: 30:30:3a:31:30:3a:32:33:3a:63:30:3a:34:32:3a:35:64 --- On Fri, 7/16/10, Mike Ayers mike_ay...@tva.tvworks.com wrote: From: Mike Ayers mike_ay...@tva.tvworks.com Subject: RE: ifPhysAddress value shown wrong on NetSNMP client for ifTable To: Malathi Panyam malathipan

Re: ifPhysAddress value shown wrong on NetSNMP client for ifTable

2010-07-16 Thread Malathi Panyam
for ifTable To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net, Mike Ayers mike_ay...@tva.tvworks.com Date: Friday, July 16, 2010, 11:56 AM On 16 July 2010 19:50, Malathi Panyam malathipan...@yahoo.com wrote: node snmpgetnext -v2c -c public ip address ifPhysAddress.8

RE: Can we set the system MIB variables to blank?

2010-06-28 Thread Malathi Panyam
...@cipheroptics.com Subject: RE: Can we set the system MIB variables to blank? To: Malathi Panyam malathipan...@yahoo.com, net-snmp-users@lists.sourceforge.net Date: Thursday, June 24, 2010, 7:37 AM From: Malathi Panyam [mailto:malathipan...@yahoo.com] How can I set this system description

Re: how to increase the MaxMsgSize to 5000

2010-06-28 Thread Malathi Panyam
Panyam malathipan...@yahoo.com Cc: Wes Hardaker harda...@users.sourceforge.net, net-snmp-users@lists.sourceforge.net Date: Friday, June 25, 2010, 6:57 AM On Tue, 22 Jun 2010 17:04:18 -0700 (PDT), Malathi Panyam malathipan...@yahoo.com said: MP Pl correct me if I miss anything here

Can we set the system MIB variables to blank?

2010-06-24 Thread Malathi Panyam
Hi,     Our application allows configuration of system decription, system contact and location. When I tried to set the description as blank, I see the linux kernel information for system description.   How can I set this system description to blank? Thanks in advance   Malathi

Re: how to increase the MaxMsgSize to 5000

2010-06-23 Thread Malathi Panyam
, Wes Hardaker harda...@users.sourceforge.net wrote: From: Wes Hardaker harda...@users.sourceforge.net Subject: Re: how to increase the MaxMsgSize to 5000 To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Tuesday, June 22, 2010, 7:58 AM On Sun, 20 Jun 2010

how to increase the MaxMsgSize to 5000

2010-06-21 Thread Malathi Panyam
Hi,     My customer is trying to increase the maxMsgSize to 5000 bytes, but seeing the message Message size exceeded buffer maxMsgSize. It works fine with 1472 bytes. How can I increase the size?   On a side note we decided to support only UDP.   Thanks and Regards, Malathi  

Re: how to increase the MaxMsgSize to 5000

2010-06-21 Thread Malathi Panyam
, 6/18/10, Malathi Panyam malathipan...@yahoo.com wrote: From: Malathi Panyam malathipan...@yahoo.com Subject: how to increase the MaxMsgSize to 5000 To: net-snmp-users@lists.sourceforge.net Cc: Dave Shield d.t.shi...@liverpool.ac.uk Date: Friday, June 18, 2010, 8:49 AM Hi,     My customer

SNMP GetBulk Max PDU size with Max repetitions

2010-05-20 Thread Malathi Panyam
Hi,     What is the MAX value Max repetitions for GetBulk requests? I tried to increase beyond 100 and it resets to 100. It means we cannot go beyond 100? I am aware that this is linked to that MAx PDU size, is there anyway that we can increase this limit? Thanks and Regards, Malathi

Re: Seg fault when querying for the UDP table

2010-04-30 Thread Malathi Panyam
Hi Dave,   Even after few tries I could not optimize what MIBs to include and what to exclude for OpenWRT, so I plan to go with the default MIB option and continue for now... Thanks and Regards, Malathi --- On Tue, 4/13/10, Malathi Panyam malathipan...@yahoo.com wrote: From

Re: Seg fault when querying for the UDP table

2010-04-14 Thread Malathi Panyam
wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Seg fault when querying for the UDP table To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Tuesday, April 13, 2010, 12:13 AM On 13 April 2010 05:23, Malathi Panyam malathipan...@yahoo.com wrote

Re: Seg fault when querying for the UDP table

2010-04-13 Thread Malathi Panyam
file? Do we face any performance issues with that? Thanks and Regards, Malathi --- On Mon, 4/12/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Seg fault when querying for the UDP table To: Malathi Panyam malathipan...@yahoo.com Cc

Re: Seg fault when querying for the UDP table

2010-04-12 Thread Malathi Panyam
...@liverpool.ac.uk Subject: Re: Seg fault when querying for the UDP table To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Friday, April 9, 2010, 2:47 AM On 9 April 2010 01:23, Malathi Panyam malathipan...@yahoo.com wrote: I would like to mention that When I try

Re: Seg fault when querying for the UDP table

2010-04-09 Thread Malathi Panyam
and Regards, Malathi --- On Tue, 4/6/10, Dave Shield d.t.shi...@liverpool.ac.uk wrote: From: Dave Shield d.t.shi...@liverpool.ac.uk Subject: Re: Seg fault when querying for the UDP table To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Date: Tuesday, April 6, 2010

Re: Seg fault when querying for the UDP table

2010-04-06 Thread Malathi Panyam
said, when we exclude the if-MIB and provide our own implementation, we need to provide support for these dependent mibs also? Please help.. Regards, Malathi --- On Fri, 4/2/10, Malathi Panyam malathipan...@yahoo.com wrote: From: Malathi Panyam malathipan...@yahoo.com Subject: Re: Seg fault when

Re: Seg fault when querying for the UDP table

2010-04-02 Thread Malathi Panyam
to disable the IF-MIB in Net SNMP make file as well?? I tried doing that but it has other dependencies on other MIBs namely IP-MIB and it wont compile.. Am I in the right path? Thanks and Regards, Malathi From: Malathi Panyam malathipan...@yahoo.com To: Dave

Re: Seg fault when querying for the UDP table

2010-04-01 Thread Malathi Panyam
From: Dave Shield d.t.shi...@liverpool.ac.uk To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Sent: Thu, April 1, 2010 12:26:26 AM Subject: Re: Seg fault when querying for the UDP table On 31 March 2010 23:30, Malathi Panyam malathipan

Re: Seg fault when querying for the UDP table

2010-03-31 Thread Malathi Panyam
Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Sent: Tue, March 30, 2010 12:11:25 AM Subject: Re: Seg fault when querying for the UDP table On 30 March 2010 01:28, Malathi Panyam malathipan...@yahoo.com wrote: When I try to query the UDP table using getsubtree or walk

Re: Seg fault when querying for the UDP table

2010-03-31 Thread Malathi Panyam
dont support the egp in our code..could it cause any issues as it stays immediately after udp in the MIB-II tree? Thanks for you help. Regards, Malathi From: Dave Shield d.t.shi...@liverpool.ac.uk To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users

Re: Seg fault when querying for the UDP table

2010-03-31 Thread Malathi Panyam
...@liverpool.ac.uk To: Malathi Panyam malathipan...@yahoo.com Cc: net-snmp-users@lists.sourceforge.net Sent: Wed, March 31, 2010 12:05:19 PM Subject: Re: Seg fault when querying for the UDP table On 31 March 2010 17:26, Malathi Panyam malathipan...@yahoo.com wrote: Here is the response

Seg fault when querying for the UDP table

2010-03-30 Thread Malathi Panyam
Hi, When I try to query the UDP table using getsubtree or walk or Table under MIB-II, I see a segfault on my node and the agent is becoming unresponsive. Is this a known issue? or am I missing something obvious..Pl. help. It works fine with other tables under MIB-II and I did not make any

Re: COUNTER64 support in SNMPv2 traps

2010-03-25 Thread Malathi Panyam
template PDU But the traps do reach the trap server. Hope this helps. From: Malathi Panyam malathipan...@yahoo.com To: net-snmp-users@lists.sourceforge.net Sent: Sat, March 20, 2010 2:18:40 PM Subject: COUNTER64 support in SNMPv2 traps Hi, Is Counter64

COUNTER64 support in SNMPv2 traps

2010-03-21 Thread Malathi Panyam
Hi, Is Counter64 supported for SNMPv2 traps? I am aware that its supported by SNMPv2 and I am able to use them successfully for my other MIBs, but when I tried to use a counter64 bit value with my traps, I see the following messages in my output send_trap: v1 traps can't carry Counter64

Re: Adding support for DS1 port details

2010-01-26 Thread Malathi Panyam
find the DS1-MIB.. How can we do this? Regards, Malathi From: Mike Ayers mike_ay...@tvworks.com To: Malathi Panyam malathipan...@yahoo.com; net-snmp-users@lists.sourceforge.net Sent: Mon, January 25, 2010 1:01:50 PM Subject: RE: Adding support for DS1 port