walk on column - SNMP

This is a discussion on walk on column - SNMP ; Hi One question on snmp walk on table's column I have one Table oid ...1.2.3.4 ....1.2.3.4.1 is integer ( index ).. say i ....1.2.3.4.2 is octect string name .. say name ....1.2.3.4.3 is octect string name .. say age Now ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: walk on column

  1. walk on column



    Hi


    One question on snmp walk on table's column

    I have one Table oid ...1.2.3.4


    ....1.2.3.4.1 is integer ( index ).. say i
    ....1.2.3.4.2 is octect string name .. say name
    ....1.2.3.4.3 is octect string name .. say age



    Now Question ..
    How do i find out all the indexes in the table.

    From my understanding i have to do snmpgetnext on ...1.2.3.4.1 &
    get it till oid crosses (1.2.3.4.1) and becomes 1.2.3.4.2.

    Is there any other way .. specially ( in programing ) when we get the
    response and dont remember the the previous oid




    Thanks in advance
    Paras







  2. Re: walk on column

    You got that right. That is one of the two ways that you discover all
    indexes in a table.

    The other method is to use GET-BULK. You can make a guess, of how many
    conceptual rows are there. However some agents, internally implement
    GET-BULK as successive GET-NEXTS.

    Ankur



    Paras wrote in message news:<3F39E17A.8010004@netscape.net>...
    > Hi
    >
    >
    > One question on snmp walk on table's column
    >
    > I have one Table oid ...1.2.3.4
    >
    >
    > ...1.2.3.4.1 is integer ( index ).. say i
    > ...1.2.3.4.2 is octect string name .. say name
    > ...1.2.3.4.3 is octect string name .. say age
    >
    >
    >
    > Now Question ..
    > How do i find out all the indexes in the table.
    >
    > From my understanding i have to do snmpgetnext on ...1.2.3.4.1 &
    > get it till oid crosses (1.2.3.4.1) and becomes 1.2.3.4.2.
    >
    > Is there any other way .. specially ( in programing ) when we get the
    > response and dont remember the the previous oid
    >
    >
    >
    >
    > Thanks in advance
    > Paras


+ Reply to Thread