Re: SNMP GET ERROR

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
    [ First - *please* don't mail me privately, without copying
     any responses to the mailing list.  I don't have the time
     or inclination to offer private, unpaid, SNMP consultancy.
     Keep discussions to the list, where others can both learn
     and offer advice.  Thanks.   ]


On 09/02/07, [email protected] <[email protected]> wrote:
> WHAT IS THE MEANING OF THAT SUBINDEX VALUE(2.1)

> snmpget -v 2c -c public localhost 1.3.6.1.2.1.10.184.1.1.6.1.1.1.2.1
> WMAN-IF-MIB::wmanIfBsOfdmBwReqOppSize.1 = INTEGER: 1 PS

If you had given the same numeric OID as previous (but with 2.1 appended):

   snmpget .... .1.3.6.1.2.1.10.184.1.1.1.1.1.6.2.1
  WMAN-IF-MIB::wmanIfBsSfCsSpecification.2.1 = INTEGER 1 = packetIpV4(1)

then I'd have said these were the two index values for that table - the
interface index (2) and the wmanIfBsSfId (1)

But the command above is showing another OID, from a completely different
table altogether.   In this case, '2' is the subidentifier of the MIB
object itself
(wmanIfBsOfdmBwReqOppSize), and '1' is the index value for this table - an
interface index of '1'.


> AND I WANT TO CHANGE MY OID LIKE 1_3_6_1_2_10_THIS...
> IT IS POSSIBLE..HOW TO CHANGE..

We don't provide an API for doing this, no.
You would have to code this yourself.

Dave

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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.