Error when creating a trapx filter to forward traps

book

Article ID: 7838

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

The following error is seen in the trapexploder.log file when creating a filter to forward traps:

config file syntax error or unknown host, line 297

 

Checking the specified line in the trapexploder.cf, we see the following filter to forward traps:

filter * * * * * * forward 138\.42\.187\.164:162

 

Cause

The backslash "\" character is not used in the ip address configured to forward traps to. The backslash "\" character is only required in the filter section before each period character "." so that the period character is read correctly and not as a regular expression wildcard operation.

 

 

Environment

Release:
Component:

Resolution

Remove the backslash "\" characters in the ip address configured to forward traps to. For example:

filter * * * * * * forward 10.242.24.138:1162