RE: Memory Leak in netsnmp-5.4.2.1

2010-04-23 Thread Mike Ayers
> From: sanjaykumar [mailto:sanjay.ku...@globaledgesoft.com] > Sent: Friday, April 23, 2010 3:21 AM > I am using the netsnmp-5.4.2.1 > I run the valgrind on this, I find lot of Merory Leaks. > Could someone help me out regarding this : > Does any patches are available to fix the memory

RE: send a trap and location the specify column in multiple rows(the sametable)

2010-04-23 Thread Mike Ayers
> From: Alexander King [mailto:chenyapu1...@qq.com] > Sent: Friday, April 23, 2010 3:06 AM > 1.where I can fill with the warning information when the trap send? It depends - see below. > 2.If the trap OBJECTS is a scalar,I can configure snmpd.conf,use DisMan > monitor the value,and send

iostat %util data from snmp

2010-04-23 Thread Peter
Hi, I can get the disk I/O for read/writes from snmpwalk with the oid, but I failed to get the performance data similar as iostat %util (iostat %util means Percentage of CPU time during which I/O requests were issued to the device (bandwidth utilization for the device). Device saturation occu

Re: cache load never gets called

2010-04-23 Thread Kathy McLeod
Hi - I have some new info on this problem. We upgraded to net-snmp 5.4.2.1 and were seeing the same problem (cache reload never called after an unload). I was always using the snmptable as the command (because my fake data show different index values on a reload so easy to verify it worked). How

Re: net-snmp, agent x and c#

2010-04-23 Thread Dave Shield
On 20 April 2010 17:32, Fulko Hew wrote: > Does anyone have any experience in creating Agent X subagents in C#? This project is very much C-based, so I suspect that no-one here has much experience of Network Management using C# A quick Google on "SNMP C#" gave a page on the .NET Framework Develo

Re: Delay in processing get next request for host MIB tree

2010-04-23 Thread Dave Shield
On 20 April 2010 10:38, A Singh wrote: > When I issue getnext command, it takes around 6 sec to process a > request for OIDs under host MIB; for example: > % snmpgetnext -v2c -cpublic -t30 10.0.6.103 > HOST-RESOURCES-MIB::hrSystemMaxProcesses.0 > .. > .. > HOST-RESOURCES-MIB::hrMemorySize.0 = INTE

Re: snmp trap for interface up/down

2010-04-23 Thread Dave Shield
On 17 April 2010 11:17, vaibhav khatavkar wrote: > Here is snapshot of my snmpd.conf : > > __ > createUser -e 0x81020304 traptest SHA mypassword AES > > rouser traptest noauth > agentSecName traptest > iquerySecName traptest

Re: help

2010-04-23 Thread Dave Shield
On 17 April 2010 09:53, jihed lazid wrote: > for i can develop an snmp agent, i have to begin with the file snmpd.c or > sample.c (what is sample.c ?) in the Net-SNMP paquage ? Are you developing an SNMP agent from scratch, or are you wanting to extend the agent to support particular MIB modules?

Re: Hooks for implementation of audit log of system configuration changes?

2010-04-23 Thread Dave Shield
On 16 April 2010 11:13, Omer Zak wrote: > Is there any standard mechanism to implement the functionality we need > for audit logging? Probably the simplest approach would be to insert a custom handler into the handler chain, immediately before the final MIB-specific handler. This could then invo

Re: nsNOTIFYshutdown trap not send

2010-04-23 Thread Dave Shield
On 21 April 2010 13:19, brijesh gautam wrote: > I am using NET-SNMP version:  5.3.1 . SNMP configured ad  version 2c.  When > I brought down SNMP (master and  entity-subagent) > , no  nsNOTIFYshutdown trap is sent . > > Instead I could see "generic-trap: enterpriseSpecific (6) " trap when > shutdo

Re: Unable to mib2c the ALARM-MIB

2010-04-23 Thread Dave Shield
On 20 April 2010 21:00, Mike Ayers wrote: >> From: Kavita Raghunathan [mailto:kavita.raghunat...@skyfiber.com] >> Sent: Tuesday, April 20, 2010 12:40 PM > >> The following line is not liked by mib2c: Any idea why? >> >> IMPORTS >>    MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, >>  Integer32,

Memory Leak in netsnmp-5.4.2.1

2010-04-23 Thread sanjaykumar
Hi All, I am using the netsnmp-5.4.2.1 I run the valgrind on this, I find lot of Merory Leaks. Could someone help me out regarding this : Does any patches are available to fix the memory leak for 5.4.2.1 version ??? Rgds, Sanjay --

send a trap and location the specify column in multiple rows(the same table)

2010-04-23 Thread Alexander King
Hi Dave and All: it is a long time no see. :) 1.where I can fill with the warning information when the trap send? 2.If the trap OBJECTS is a scalar,I can configure snmpd.conf,use DisMan monitor the value,and send trap,The NOTIFICATION-TYPE defination is not necessary,is it right? But

Re: net snmp, Compile error.

2010-04-23 Thread Bart Van Assche
2010/4/22 wangdaobang > I'm new here, would you like to help me about the net snmp compile with > vc6.0? the output is followed: > Compiling... > snmptest.c > C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\winsock.h(49) : error > C2011: 'fd_set' : 'struct' type redefinition > [ ... ] >