Re: Send TRAP

2011-02-15 Thread Wes Hardaker
> On Mon, 14 Feb 2011 18:27:07 +0100, Luis QuaggaSnmp > said: LQ> I only want to send a IP-address variable, and I don´t know what values I LQ> have to put in enterprise, generic and specific. The enterprise/generic/specific attributes refer to the trap you want to send. If you're tryi

Send TRAP

2011-02-14 Thread Luis QuaggaSnmp
Hello. I have a easy question but it´s important. I have a program with a specific function, I need my function sends a TRAP, and I´m using the code of apps/snmptrap.c, and I added the snmp libraries. The function can send a TRAP very good because I tried with a simple TRAP, with enterprise=0, gen

Re: need help to send trap to a specific port using snmptrap command line utility

2010-07-27 Thread Dave Shield
On 27 July 2010 13:29, Nisha Thomas wrote: >  Could you please help me to send trap to a specific port using snmptrap > command line utility. > > I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is > there any way to specify the port in that command?

need help to send trap to a specific port using snmptrap command line utility

2010-07-27 Thread Nisha Thomas
Hi, Could you please help me to send trap to a specific port using snmptrap command line utility. I couldn’t find the argument to specify port in the ‘snmptrap’ command. Is there any way to specify the port in that command? Thanks in Advance,Nisha

Re: about send trap

2008-07-01 Thread Paul
ot;Paul" <[EMAIL PROTECTED]> Cc: Sent: Tuesday, July 01, 2008 7:57 PM Subject: Re: about send trap > 2008/7/1 Paul <[EMAIL PROTECTED]>: >> question 1: >> I add this sample code into my existed module and built it as a dynamic >> module (.so file). Doe

Re: about send trap

2008-07-01 Thread Dave Shield
2008/7/1 Paul <[EMAIL PROTECTED]>: > question 1: > I add this sample code into my existed module and built it as a dynamic > module (.so file). Does this code also work fine in a dynamic module? It should do, yes. There is no difference in operation between a dynamic and a static MIB module. Onc

about send trap

2008-07-01 Thread Paul
Hi all, I want to try how to send a trap. So I download the example code "notification.c" from http://www.net-snmp.org/dev/agent/notification_8c-example.html. I have following questions: question 1: I add this sample code into my existed module and built it as a dynamic module (.so file). Does

Re: Send trap in multicast or broadcast

2008-05-28 Thread Wes Hardaker
>>>>> On Sun, 25 May 2008 22:06:50 +0200, Bruno Vétel <[EMAIL PROTECTED]> said: BV> I would like to know if I can send trap to a broadcast or multicast BV> address. There has been work to do stuff like that by other packages, but Net-SNMP doesn't support it by

Send trap in multicast or broadcast

2008-05-25 Thread Bruno Vétel
Hello I would like to know if I can send trap to a broadcast or multicast address. I can send them to a destination host but I get permission denied when I try to send trap to multicast or broadcast address ( sendmsg returns EACCESS. I generated the snmpd in minimal agent. Is the a configuration

Re: how to let the agent send trap by event

2004-08-17 Thread Dave Shield
[ Sorry for the delay in responding to this ] > In agent/example/notification.c > The example make the agent send notification every 30 seconds. > But if I want the agent send notification by some event,(the other process > tell the agent to send notification, through IPC or something els