Bluehost.com Web Hosting $6.95

Re: Forwarding trap help

This is a discussion on Re: Forwarding trap help within the SNMP Users forums, part of the Networking and Network Related category; On Wed, 23 Feb 2005 09:16:48 -0600 King, wrote: KJ> Basically I am trying to create a ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Users

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2005
Robert Story
 
Posts: n/a
Default Re: Forwarding trap help

On Wed, 23 Feb 2005 09:16:48 -0600 King, wrote:
KJ> Basically I am trying to create a trapmanager that will listen for the
KJ> traps, log them, then forward traps based on oid to various network
KJ> management systems. The forwarded traps though need to keep the originating
KJ> trap source.
KJ>
KJ> This test is running on windows2k. So far traps are being received and
KJ> logged fine. Trap Forwarding is working as well but only if I use a
KJ> 'forward default <destination>' entry in the config file.
KJ>
KJ> I have tried specifying auth traps to a destination host but nothing is
KJ> ever sent (although when using the default rule the auth traps are
KJ> forwarded).

That sounds like a bug.

KJ> I have tried the following formats:
KJ>
KJ> Forward SNMPv2-SMI::enterprises.311.1.1.3.1.2 x.x.x.x
KJ> forward .1.3.6.1.4.1.311.1.1.3.1.2 x.x.x.x
KJ> forward .1.3.6.1.4.1.9.5.28 x.x.x.x

I would expect all 3 of these to work.

KJ> forward 1.3.6.1.4.1.311.1.1.3.1.2 x.x.x.x
KJ> forward 1.3.6.1.4.1.9.5.28 x.x.x.x

These would probably work too. The others wouldn't.

KJ> Next question is also with trapforwarding and the agent source address.
KJ> Forwarded traps lose the originating source. Is there a flag to have
KJ> forwarded traps keep their origination point?

No, though there probably should be. I seem to recall this being discussed
recently. You might try searching the users and coders archives.

KJ> Third question is also with the forwarding rule and OIDs. Can regex'es be
KJ> used for the oid? Something like ?.?.?.?.4.* ?

I don't think so. Would be nice. Probably shouldn't be too hard, using the
OID/mask code from vacm.

--
Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different.


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/...net-snmp-users
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 08:01 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0