[EMAIL PROTECTED] wrote:
I am querying a variable which if of type Hex-STRING and the value is 20bytes in size. snmpget command is returning value like this (in 2 lines.). I think its splitting the string for every 16 bytes.

PKTC-MTA-MIB::pktcMtaDevProvConfigHash.0 = Hex-STRING: 65 3A 3F 46 65 7A 0C 7F AF 22 FB 1F 63 D7 38 C7
7D 01 D4 1F

Can you please tell me if I can configure the output in one line like this .. PKTC-MTA-MIB::pktcMtaDevProvConfigHash.0 = Hex-STRING: 65 3A 3F 46 65 7A 0C 7F AF 22 FB 1F 63 D7 38 C7 7D 01 D4 1F

From http://www.net-snmp.org/docs/man/snmp.conf.html :

    hexOutputLength integer
        Specifies  where to break up the output of hexadecimal strings.
        Set to 0 to disable line breaks.  Defaults to 16.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
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

Reply via email to