From: Dave S. <D.T...@cs...> - 2007-09-12 13:50:11
|
On 12/09/2007, mac...@gm... <mac...@gm...> 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 |