Re: STRING v/s Hex-STRING

<[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hey guys, thanks for suggestions ...

-Ox option don't help me.

Changed syntax of MIB to OCTET-STRING; now it seems to smartly understand
binary and display strings and outputs appropriately

But I would like to know anything better way of fixing.

If this can help, i am just putting the binary string how net-snmp
interprets it

binary
2E 31 2E 33 2E 36 2E 31 2E 34 2E 31 2E 34 34 39 31 2E 32 2E 32 2E 31 2E 31
2E 32 2E 37 2E 30 20 53 54 52 49 4E 47 20 FF 60 4D 68 AB 65 83 56 24 87 30
18 0C 7C 45 D4 BA 67 F4 B0

interpreted value
∩┐``Mh∩┐`e∩┐`V∩┐`0↑♀|E\Ug∩┐`


thanks in advance
chinmaya


On 2/2/06, Dave Shield <[email protected]> wrote:
>
> On Tue, 2006-01-31 at 16:09 -0700, [email protected] wrote:
> > I tried configuring following in snmp.conf - but no luck.
> > printHexText 1
> > noDisplayHint 1
>
> printHexText is something different.
> (it controls whether you get *just* hex output, or hex+printable)
>
> Try using the command-line option -Ox
>
> Dave
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.