Hello, is there a possibility to format the output of snmptrapd for Hex strings in such a way, that they are not broken up after 16 bytes? I'd like to see the complete variable in one line. Example: snmptrap -OnQ results into 2004-07-08 13:50:16 localhost.localdomain [127.0.0.1] (via 127.0.0.1) TRAP, SNMP v1, community public .1.3.6.1.4.1.3183.1.1 Enterprise Specific Trap (37) Uptime: 113:8:49:12.32 .1.3.6.1.4.1.3183.1.1.1 = "32 87 F0 E8 40 1D D2 20 B2 80 C0 00 50 C2 25 53 72 00 A0 11 E9 61 3A 00 00 58 56 00 12 10 00 00 59 07 F5 00 00 00 00 00 19 00 00 00 00 00 00 "
and this is the best that I could achieve so far. At least with the option -OQ I can get an indication, that the variable is not at its end so far. During parsing of the output I can wait for the closing quotation marks '"' to appear, but I'd rather have it in one line like .1.3.6.1.4.1.3183.1.1 Enterprise Specific Trap (37) Uptime: 113:8:49:12.32 .1.3.6.1.4.1.3183.1.1.1 = "32 87 F0 E8 40 1D D2 20 B2 80 C0 00 50 C2 25 53 72 00 A0 11 E9 61 3A 00 00 58 56 00 12 10 00 00 59 07 F5 00 00 00 00 00 19 00 00 00 00 00 00 " Thanks for any advise, Rüdiger Eckhard -- Siemens Information and Communication mobile Internet: http://www.siemens-mobile.com Phone +49 89 636 76294 e-mail [EMAIL PROTECTED] Sankt-Martinstraße 76 D-81541 Munich ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com _______________________________________________ Net-snmp-users mailing list [EMAIL PROTECTED] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users