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...@baggesen.net] Inviato: martedì 4 giugno 2013 22:37 A: Diego Campoli; net-snmp-coders@lists.sourceforge.net 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...@baggesen.net Kristtornvej 19, 8200 Aarhus N, Denmark -- 8610 1890 -- 2425 9384 The purpose of computing is insight, not numbers -- R W Hamming ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders