RE: Can we update the table value in subaget?

2010-05-13 Thread Prakash
Thanks Robert, Any reference please -Original Message- From: Robert Story [mailto:[email protected]] Sent: Thursday, May 13, 2010 11:04 PM To: PrakashRaju Meka Cc: [email protected] Subject: Re: Can we update the table value in subaget? On Thu, 13 May 2010 17:37:31

Re: Can we update the table value in subaget?

2010-05-13 Thread Robert Story
On Thu, 13 May 2010 17:37:31 +0530 Prakash wrote: P> I need to update the table values on every second through a external P> application(which is in shared memory). P> P> For that I have written a application(manager) to send the "SNMP_MSG_SET" P> messages using snmp_synch_response().. P> P> My

reading snmpd.conf file

2010-05-13 Thread Brad Lira
Hello, How can i read the snmpd.conf file when my custom modules loads in net-snmp? thanks for your help. brad. -- ___ Net-snmp-coders mailing list [email protected]

Re: SF.net SVN: net-snmp:[18714]

2010-05-13 Thread Jan Safranek
On 05/13/2010 03:12 PM, Bart Van Assche wrote: > Hello Jan, > > This patch breaks the build on the 5.5 branch because it referes to a > non-existing macro NETSNMP_LOGONCE() . > > Bart. Ouch, sorry, I've just fixed it. Thanks for heads up! Jan -

Re: SF.net SVN: net-snmp:[18714]

2010-05-13 Thread Bart Van Assche
Hello Jan, This patch breaks the build on the 5.5 branch because it referes to a non-existing macro NETSNMP_LOGONCE() . Bart. On Wed, May 12, 2010 at 4:14 PM, wrote: > Revision: 18714 > http://net-snmp.svn.sourceforge.net/net-snmp/?rev=18714&view=rev > Author: jsafranek > Date:

Can we update the table value in subaget?

2010-05-13 Thread Prakash
Hi All, I have written a subagent(agentx) and registered a table using the mib2c.create-dataset.conf. I need to update the table values on every second through a external application(which is in shared memory). For that I have written a application(manager) to send the "SNMP_MSG_SET" message

Re: Clarification about run_alarms() function

2010-05-13 Thread Manjit
Hi Robert/All, The issue was because of some changes made by myself as per my requirements. So there is not such leak. Sorry for this. Robert, as you said that netsnmp allocates memory that isn't explicitly removed until shutdown. What happens when the snmpd goes for a reconfig not shutdown. Plea

Re: SF.net SVN: net-snmp:[18711] trunk/net-snmp/configure.d

2010-05-13 Thread Jan Safranek
On 05/13/2010 11:27 AM, Bart Van Assche wrote: > Hello Jan, > > Is there a particular reason why you have used AC_CHECK_DECLS() instead > of AC_CHECK_FUNC() ? Even if AC_CHECK_DECLS() finds the specified > declaration, linking can still fail. AC_CHECK_FUNC() verifies whether > linking succeeds. Th

Re: SF.net SVN: net-snmp:[18711] trunk/net-snmp/configure.d

2010-05-13 Thread Bart Van Assche
Hello Jan, Is there a particular reason why you have used AC_CHECK_DECLS() instead of AC_CHECK_FUNC() ? Even if AC_CHECK_DECLS() finds the specified declaration, linking can still fail. AC_CHECK_FUNC() verifies whether linking succeeds. Also, please run autoreconf -iv before committing configure

Why my traphandle doesn´t works?

2010-05-13 Thread Bufalo
Hi, again, i´m new with NetSNMP and i have some problems. I have this in my snmptrapd.conf: traphandle default "/bin/sh /home/javier/copia.sh" And that script contains this: #!/bin/sh cp -p /home/javier/datos.txt /home/javier/salida.txt It´s so simple but it doesn´t works and i don´t know wh

can NetSNMP receive traps and write the output of the legible data?

2010-05-13 Thread Bufalo
Hi everyone!, i´m new with NetSNMP and i want to know if it´s possible receive traps and extract the legible data with a existing client MIB and write it (just the legible coming data) to a text file or an Oracle DB. At this moment, i receive the raw data of the trap in a log, but i would like to