Re: sending trap

2010-03-15 Thread Dave Shield
On 15 March 2010 09:29, maxim maxim wrote: > The mib SNMP-NOTIFICATION-MIB is not found in my installed snmp mib > tree (the mib tree attached to this mail). Please check the output more closely. It contains the following subtree: +--snmpNotificationMIB(13) |

Re: sending trap

2010-03-09 Thread Robert Story
On Tue, 9 Mar 2010 15:17:23 +0200 maxim wrote: MM> Hi to all, MM> Somebody can to explain me how i can to populate MIB tables to specify MM> the destination address of trap from subagent? Check out these new wiki pages I just created: http://www.net-snmp.org/wiki/index.php/SNMP_notification_proce

Re: sending trap

2010-03-09 Thread maxim maxim
Dave Shield : >> On 7 March 2010 16:18, maxim maxim wrote: >>> Whether does exist net-snmp api for sending trap from sub agent, where >>> i can to add a destination ip address and port? >> >> No. >> >> The agent trap APIs do *not* specify the dest

Re: sending trap

2010-03-08 Thread maxim maxim
Hi Dave, Can you describe in details the second option with SNMP SET requests. Thanks, Maxim 2010/3/8 Dave Shield : > On 7 March 2010 16:18, maxim maxim wrote: >> Whether does exist net-snmp api for sending trap from sub agent, where >> i can to add a destination ip address a

Fwd: sending trap

2010-03-08 Thread maxim maxim
Thanks to all, Can i use functions like in snmptrap.c for sending traps, and what are the differences , that i need to do for sending trap from the subagent? Maxim 2010/3/8 Dave Shield : > On 8 March 2010 10:41, Alexander King wrote: >> YES > > Short, to the point, and wrong.

Re: sending trap

2010-03-08 Thread Dave Shield
On 7 March 2010 16:18, maxim maxim wrote: > Whether does exist net-snmp api for sending trap from sub agent, where > i can to add a destination ip address and port? No. The agent trap APIs do *not* specify the destination for the notification. As fas as a subagent is concerned, all tra

sending trap

2010-03-07 Thread maxim maxim
Hi to all, Whether does exist net-snmp api for sending trap from sub agent, where i can to add a destination ip address and port? like snmp_trap_api, but i won't to work with configuration file. Thanks -- Dow

Re: memory problem after sending trap

2008-01-03 Thread Robert Story
On Tue, 25 Dec 2007 18:19:22 +0100 slah wrote: SK> while using send_v2trap() api in net-snmp 5.3.0.1- memory size increased by SK> 40K for each SK> trap sent till it reaches 21 MB and no increase after that. SK> snmp_free_varbind is called in our code after send_v2trap(). This is the retention of

Re: memory problem after sending trap

2007-12-27 Thread Wes Hardaker
> "sk" == slah klifi <[EMAIL PROTECTED]> writes: sk> while using send_v2trap() api in net-snmp 5.3.0.1- memory size increased by sk> 40K for each sk> trap sent till it reaches 21 MB and no increase after that. sk> snmp_free_varbind is called in our code after send_v2trap(). Can you try using

memory problem after sending trap

2007-12-25 Thread slah klifi
while using send_v2trap() api in net-snmp 5.3.0.1- memory size increased by 40K for each trap sent till it reaches 21 MB and no increase after that. snmp_free_varbind is called in our code after send_v2trap(). when we comment send_v2trap() the memory don't increase i think that the pdu isn't free

Re: Required Information about sending TRAP.

2005-10-07 Thread Robert Story
On Tue, 4 Oct 2005 14:21:42 +0530 Shakeel_Ahamed wrote: S> I want to send a hard coded text message as TRAP information using S> snmptrap, which can be received using snmptrapd. Please tell me in which S> file i need to hard code that text message and what are the steps i need S> to follow to that.

Required Information about sending TRAP.

2005-10-04 Thread Shakeel_Ahamed
Hi,   I want to send a hard coded text message as TRAP information using snmptrap, which can be received using snmptrapd. Please tell me in which file i need to hard code that text message and what are the steps i need to follow to that.       Expecting your replay,   Thanking You

RE: Problem sending trap in own sub-agent

2004-09-24 Thread Ponticiello Vincenzo
Title: RE: Problem sending trap in own sub-agent Hi Dave, Hi Bernhard, I have installed latest version of net-snmp (5.1.2) and all works correctly. Thanks a lot for yours help. Bye,     Vincenzo -Original Message- From: Dave Shield [mailto:[EMAIL PROTECTED]] Sent: giovedì

RE: Problem sending trap in own sub-agent

2004-09-24 Thread Penz, Bernhard
Title: Problem sending trap in own sub-agent There was a problem with traps and 5.1. Check the link below to see if your version has this already fixed.   http://groups.google.at/groups?q=snmpd:+send_trap:+Unknown+PDU+type&hl=de&lr=&ie=UTF-8&selm=bpl0qo%242848%241%40FreeBSD.

Re: Problem sending trap in own sub-agent

2004-09-23 Thread Dave Shield
> I'm writing a sub-agent for a proprietary system. I am using the snmpd > demon as master agent. The snmp library release used is net-snmp-5.1 > with OS Linux RedHat 7.2. Can you please try with the latest 5.1.x release - i.e. 5.1.2 There was a problem with some earlier releases that affected se

Problem sending trap in own sub-agent

2004-09-23 Thread Ponticiello Vincenzo
Title: Problem sending trap in own sub-agent Hi all, I am a new SNMP developer. I have a "little" problem related to e-mail subject. I know that other developers done the same question but until now, in the e-mails of the mailing list, I haven't found the answer. So, I will