Re: snmpwalk output

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 ...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 09-12-2007
Dave Shield
 
Posts: n/a
Default Re: snmpwalk output

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
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:25 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0