From: Diego C. <Die...@de...> - 2013-06-06 08:50:33
|
Hello Niels, I was expecting an Ouptut Option able to remove embedded newlines. There are a lot of Output Options that handle traps text, for example the -OE "Modifies index strings to escape the quote characters" or -OU "Do not print the UNITS suffix at the end of the value", etc. Why cannot exist an Output Option that remove embedded newlines inside text string? But I just resolved with SNMPTT, looking in the SNMPTT ticket repository I found that this problem was already solved on 2010-05-22 "#5 Fix multi-line traps from NET-SNMP 5.4" (see http://sourceforge.net/p/snmptt/patches/5/ ) The patch is available for download and is present in snmptt_1.4beta2 So I'm going to uninstall snmptt_1.3 replacing with snmptt_1.4beta2 Thanks Diego -----Messaggio originale----- Da: Niels Baggesen [mailto:ni...@ba...] Inviato: martedì 4 giugno 2013 22:37 A: Diego Campoli; net...@li... Oggetto: Re: snmptrapd snmptt carriage return line feed inside trap text string Den 04-06-2013 13:02, Diego Campoli skrev: > So as you can see Hex strings variables are correctly handled. > > Thank you for your time, I wait you for a feedback :) What would you expect snmptrapd should do about strings with embedded newlines? /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@ba... Kristtornvej 19, 8200 Aarhus N, Denmark -- 8610 1890 -- 2425 9384 The purpose of computing is insight, not numbers -- R W Hamming |