On 7/6/05, LIMA David <[EMAIL PROTECTED]> wrote:
> Hi all,
> 
> Don't know if it is a code problem because I success to have snmp traps with 
> current JFFNMS stable release.

I'm glad to know that someone made it work! Maybe you could be of some
help... here is how i did it:

1) Created a new Event type, using Event Analyzer->Event Types, Add...
The new Event ID is 10001. I also checked "Event Generates an Alarm?" option.

2) Created a new backend, using Polling&Discovery->Poller Backends, Add...
I set the Poller Command to "event", and Parameters to "10001".
The new Poller Backend ID is also 10001 (it was set automatically).

3) Created a new SNMP Trap Receiver, Interface Type set to
Applications, set OID Match equal to my trap OID, Receiver command to
"mapping", parameters to "info=1" (not so important to me), and
Backend to match my previously created backend. (note: i set this
manually in mysql table trap_receivers, because i found no option to
change this in user interface?!)

Everything seems to be setup fine now, but when i send a test trap,
the following line is shown in Events window:

Type / Host&Zone / Event
Unknown          /  testMachine testZone      /          unknown Trap OID
.1.3.6.1.4.1.9184.1.1.5.0.7 Values: 1: 0.0.0.0, 2: myCommunity, 3:
.1.3.6.1.4.1.9184.1.1.5

This is shown as a warning only... no alarm...

Are you doing something different?

Thanks, 
Petar


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users

Reply via email to