Hi folks,

 
as we pass the snmp traps to our monitoring software - pre-processing of traps 
is what i want.

 
I tried 

 
REGEX ((.1.3.6))(\n $1)g

 
but the result is just a plain \n in the text:

 
 \n .1.3.6.1.4.1.111.15.3.1.1.29.1: \n .1.3.6.1.4.1.111.15.3.1.1.30.1: \n 
.1.3.6.1.4.1.111.15.3.1.1.31.1: \n .1.3.6.1.4.1.111.15.3.1.1.32.1: \n 
.1.3.6.1.4.1.111.15.3.1.1.33.1: \n .1.3.6.1.4.1.111.15.3.1.1.34.1: \n 
.1.3.6.1.4.1.111.15.3.1.1.35.1: \n .1.3.6.1.4.1.111.15.3.1.1.36.1: \n 
.1.3.6.1.4.1.111.15.3.1.1.37.1: \n .1.3.6.1.4.1.111.15.3.1.1.38.1: \n 
.1.3.6.1.4.1.111.15.3.1.1.39.1:sample_rule_set_name \n 
.1.3.6.1.4.1.111.15.3.1.1.40.1:sample_rule_set_name,dummy_rule_name

Any idea on that?

 
best greetings

 
Stefan

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to