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/listinfo/net-snmp-users

Reply via email to