Error when creating a trapx filter to forward traps

Document ID : KB000007838
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

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.

 

 

Resolution:

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

filter * * * * * * forward 10.242.24.138:1162