On Fri, 2005-07-01 at 21:22 +1000, Craig Small wrote: > On Thu, Jun 30, 2005 at 11:25:29PM -0500, Joe Wells wrote: > > sending the traps in using raw OIDs, since the docs seem to indicate > > that jffnms requires this. I'd really like to have the traps converted > > to something approaching human-readable via mibs, but I can live without > > it. > I'm not sure there is a simple way of doing that, possibly there is > some PHP function to do it.
Actually, now I wonder if jffnms really does require numeric OIDs. If I set snmptrapd to translate trap OIDs to mib-speak, jffnms accepts the traps and puts 'em into the db just fine. What I haven't tried is using the mibified trap names in the SNMP Trap Receiver OID field. If jffnms is just using that field to hold the text of the OID and doing a text comparison between that field and the OID passed from snmptrapd, it just might work. I'll give it a shot. > > If so can someone give a brief run-down of how this is done now? Any > > help would be most appreciated. > Like most things in JFFNMS, it is best to work forwards in the planning > and backwards in the coding :) <...> > So you would: > Create a new event, note the new event id > Create a new Receiver Backend, command is event, Paramater is the event > it > Create a new trap_receiver to pass and mange any varbinds into event > fields, like the ones in syslog > Create a new SNMP Trap Reciever that uses all of the above Thanks for spelling this out for me. Between this and the updated docs, I now have alerts triggering on traps. Now to see about a receiver command to parse the varbinds and pass them along. Thanks again! Joe Wells ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
