how to prevent memory leak in the sub agent

2005-01-24 Thread sharath ramegowda
hi all.. i have written a sub-agent which handles 6 mib variables. if i bring up my agent and kill it immediately, the valgrind report says 44 bytes lost. ==13825== LEAK SUMMARY: ==13825==definitely lost: 44 bytes in 5 blocks. if i send requests to my agent the the loss goes up: ==13095=

Re: Perl module Installation problem on Linux 2.6.9-1.667

2005-01-24 Thread Wes Hardaker
> On Wed, 12 Jan 2005 10:38:33 -0500, "sasson, shuki" <[EMAIL PROTECTED]> > said: shuki> make test ... shuki> Can't load '../blib/arch/auto/SNMP/SNMP.so' for module SNMP: shuki> ../blib/arch/auto/SNMP/SNMP.so: undefined symbol: usmAESPrivProtocol at shuki> /usr/lib/perl5/5.8.5/i386-linux-

Re: Fedora Data Storage

2005-01-24 Thread Wes Hardaker
> On Fri, 14 Jan 2005 16:37:59 -0500, "Mark Riehl" <[EMAIL PROTECTED]> said: Mark> When I set a particular variable to a value, where is that data Mark> physically stored? Is it in memory, somewhere on the Mark> filesystem? What is the format? It *totally* depends on the variable being set.

Re: prTable problem

2005-01-24 Thread Wes Hardaker
> On Wed, 05 Jan 2005 19:33:30 -0300, Jose Dragone <[EMAIL PROTECTED]> said: Jose> UCD-SNMP-MIB::prErrMessage.1 = STRING: No mountd process running. ... Jose> The process name "mountd" should have been detected and an snmptrap Jose> should have been received by the agent. traps are only sent

Re: WRB - Questions regarding the function init_snmp().

2005-01-24 Thread Wes Hardaker
> On Mon, 17 Jan 2005 22:18:49 -0800, [EMAIL PROTECTED] (William R. > Buckley) said: William> /* William> * make the type available everywhere else William> */ William> if (type && !netsnmp_ds_get_string(NETSNMP_DS_LIBRARY_ID, William> NETSNMP_DS_LIB_APPTYPE)) { William> netsnmp_ds_set_st

Re: genetrating traps using agent

2005-01-24 Thread Wes Hardaker
> On 19 Jan 2005 12:24:31 -, "nithya venkatachalam" <[EMAIL > PROTECTED]> said: nithya> I would like to know how the traps are generated by the agent nithya> code. The mib modules that send traps call an API which tells the agent to send it to all its configured trap destinations.

Re: Diffie-Helman kickstart values

2005-01-24 Thread Wes Hardaker
> On Thu, 20 Jan 2005 09:40:37 +0100, Hendrik Robbel <[EMAIL PROTECTED]> > said: Hendrik> in Net-SNMP 5.2 pre x, Diffie-Helman has been implemented. Mostly. It's not entirely complete but most of it is functional. Hendrik> Unfortunately, I didn't find some information how I have to Hen

Re: make & startup undefined errors w/ net-snmp-5.2.1.rc3 on Linux

2005-01-24 Thread Wes Hardaker
> On Thu, 20 Jan 2005 16:12:50 -0500, Rob Kudyba <[EMAIL PROTECTED]> said: Rob> './configure --with-openssl=/usr/bin/openssl' Rob> Then with 'make' got the same: Rob> ../snmplib/.libs/libnetsnmp.so: undefined reference to `des_cbc_encrypt' Rob> ../snmplib/.libs/libnetsnmp.so: undefined refer

Re: Problems with snmpdemoapp.c and net-snmp-5.2

2005-01-24 Thread Wes Hardaker
> On Wed, 19 Jan 2005 09:16:14 -0800, "Helding, Stephen" <[EMAIL > PROTECTED]> said: Stephen> I don't really understand why but it appears that the Stephen> alignment gets thrown off. Anyway, I just comment out that Stephen> line and everything works fine with my extended MIB. Sounds li

Re: Help on MIB

2005-01-24 Thread Wes Hardaker
> On 19 Jan 2005 16:30:32 -, "Jude Amal Anand .P" <[EMAIL PROTECTED]> > said: Jude> Tutorials on MIB will be helpful. we have many tutorials that you should read through. http://www.net-snmp.org/tutorial/ -- Wes Hardaker Sparta

Re: API observations.

2005-01-24 Thread wrb
Robert: With regard to my (constant) protestation of limited documentation, the result of our correspondence is the establishment of some new documentation. After all, the discussion of the SNMP_ENUM code has resulted in the inclusion of your words regarding the meaning of DNE. I do know that my

Re: API observations.

2005-01-24 Thread Robert Story
On Sun, 16 Jan 2005 21:39:44 -0800 [EMAIL PROTECTED] wrote: WC> The immediate issue concerns the initialisation of the enumeration WC> in which interfaces are described. The ifTable code will make WC> calls to SE routines, such as when the ifTable is initialised. WC> [...] WC> What concerns me mos

Re: missing status & errors from HR table

2005-01-24 Thread Carlos Cantu
> I'm afraid I can't be of much more help with this problem. That's more than enough help. Thanks a bunch. --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports.

how to prevent "Connection from callback: 1 on fd 10" from appearing on console??

2005-01-24 Thread sharath ramegowda
hi team .. can any one tell me how i can redirect "Connection from callback: 1 on fd 10" message which appears on the screen for each request my subagent processes ??? where is this message coming from?? is there any way to turn them off or to redirect them to a log file or something like that ??

Re:new user

2005-01-24 Thread Sridhar S
Sam, I doubt your configuration file entries. 1. Save the attached 'snmpd.conf' file at '/tmp/' directory. It can be under any directory, this is for the convinience sake. Once you dig into the tool kit you can explore available options. 2. Kill the 'snmpd', if you already have running one. 3. c

Re: missing status & errors from HR table

2005-01-24 Thread Dave Shield
On Thu, 2005-01-20 at 23:35, Carlos Cantu wrote: > > Because the hrDeviceTable contains entries for a wide variety > > of different types of device, the code for reporting the status > > and error count is very device-specific. > > So the code will look for a device-specific hook routine, > > and

table with not-accessible index

2005-01-24 Thread Amit Singh CHANDEL
Hello All, I am working on setting data in to tables, and found in ucd-snmp-4.1.2 code that SNMP-TARGET_MIB has quite detail implementation of setting data in to table with the help RowStatus object, but i am not clear with table index snmpTargetAddrName kept not-accessible, when all we have to