RE: index shown as dot separated ascii values

"Rotem Tzuk" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
had some problems with capital letters
OK now

thanks 

-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Dave Shield
Sent: Wednesday, December 12, 2007 2:23 PM
To: Rotem Tzuk
Cc: [email protected]
Subject: Re: index shown as dot separated ascii values

On 12/12/2007, Rotem Tzuk <[email protected]> wrote:
> I have a table that is is indexed by integer & string:


> When I run snmpget MyMIB::MyVal.1, the indexes of the result items are

> ID = 1, name = "Station1"
> I get a correct result but the string Station1 is displayed as ascii 
> values separated by dot.
>
> I get: MyMIB::MyValue.1.8.83.116.97.116.105.111.110.49  =
> Counter32: 40

What does the MIB file 'MyMIB.txt' look like?

The problem here lies in how the snmpwalk command displays the results,
rather than the information returned by the agent.



> Also running snmpget MyMIB::MyVal.\"Station1\" results in "No Such 
> Instance currently exists at this OID"

That is missing the integer index value.

Dave


-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
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.