On 12/09/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> When a hex string is longer than what fits into one line
> snmpwalk breaks it into multiple lines...
> This makes the output nontrivial to parse.
Remember that you can control the line length for hex output.
Try
snmpwalk --hexOutputLength=1024 .....
> Another issue is with values printed without a type:
>
> SNMPv2-SMI::enterprises.637.61.1.57.4.0 = ""
Hmmm.... what is the exact type/value being returned by this
request? (A raw packet dump or -Ddump output might be useful).
Trying this with a string-valued object seems to work as expected:
$ snmpset -v 2c -c RWcommunity localhost sysContact.0 s ""
SNMPv2-MIB::sysContact.0 = STRING:
$ snmpget -v 2c -c ROcommunity localhost sysContact.0
SNMPv2-MIB::sysContact.0 = STRING:
Dave
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders