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
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.
Remove the backslash "\" characters in the ip address configured to forward traps to. For example:
filter * * * * * * forward 10.242.24.138:1162