Eckhard Ruediger wrote:
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 "
A new snmp.conf option has been added to the main branch for v5.2 called 'hexOutputLength' but it will not be available in the 5.1.2 line.
It looks like your options are to use your method, wait for 5.2, or try applying the feature to 5.1.x. You can get Dave's patch from here:
http://sourceforge.net/mailarchive/message.php?msg_id=8111437
Alex
-------------------------------------------------------
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