Here's a simple stupid idea. Instead of capturing the trap and then issuing a
new reformatted snmptrap, why not just redefine that specific trap to NetView in
its trapd.conf file?
For example, go to Options-->Event Configuration-->Trap Customization:
Highlight cisco, highlight the specific trap, select "copy" and then enter a new
event name but keep the same generic and specific numbers. Select your sources
and then in the field for Event Log Message enter the following:
Router $A reports $4
where $A is the hostname issuing the trap and $4 is the datafield you wanted to
display.
Also you might want to add the same line in the data field for Popup
Notification.
Finally, call up the Trap Customization for the original trap, check the button
for "Status Events" and select "Don't Log or Display".
Regards,
ken
kgarst@giantofmaryland.com
|