Preserving original IP address when using snmptrapd forward directive

"John Belamaric" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <479348D61212AC4DB31C9906F8C7028D03AE154D@EXVBE012-5.exch012.intermedia.net>
Hello,

 

I have several machines set up to receive traps. Machine A is set up to
forward traps received to machine B with this directive in
snmptrapd.conf:

 

forward default udp:<machine B IP address>:162

 

When traps are received on both machines, they are also logged to a
file. On machine A, the %a, %A, %b, and %B macros all expand to the
original sending machine. But on machine B, they expand to the IP
address of machine A. Is there anyway to get the *original* trap sender
on machine B?

 

Thanks,

 

John

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.