-----Ursprüngliche Nachricht-----
Von:Stefan Bauer <s...@plzk.de>
Gesendet:Mi 04.02.2015 11:49
Betreff:format trap with REGEX - \n is ignored
An:net-snmp-users@lists.sourceforge.net;
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:
sprintf("%s\n" did the trick.
Mit freundlichen Grüßen
Stefan Bauer
———————————————————————————————
CUBEWERK GmbH
Ihr unabhängiger IT-Dienstleister
IT-SUPPORT - IT-BERATUNG - IT-SICHERHEIT
Herzog-Otto-Str. 32
D-83308 Trostberg
T: 08621 - 99 60 237
F: 03212 - 11 50 047
http://www.cubewerk.de <http://www.cubewerk.de>
HRB 22195 AG Traunstein * Geschäftsführer Stefan Bauer
------------------------------------------------------------------------------
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