This is a discussion on Re: snmpwalk output within the SNMP Coders forums, part of the Networking and Network Related category; On 12/09/2007, maciej.grela@gmail.com <maciej.grela@gmail.com> wrote: > When a hex string ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
On 12/09/2007, maciej.grela@gmail.com <maciej.grela@gmail.com> 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 Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/...et-snmp-coders |
![]() |
| Thread Tools | |
| Display Modes | |
|
|