Thanks,
But my requirement is I know the key values but I am not aware where
(as in which row ) it will appear.
It is something like MAC address of the CPEs connected to my system.
I know the MAC address but I dont know, rather I don want to take
pains in doing table view and finding out the row.
Is it possible then?
Dave Shield wrote:
> 2009/11/10 [email protected] <[email protected]>:
>
>> I have a standard Mib. It has a read only Table which has a
>> primary key. I am able to retrieve values for the table view.
>> But I want to retrieve only a single row from whole table view.
>> I have the key details for that specific row.
>>
>
>
> If you run 'snmpwalk' on the table, you'll see that the entries
> have the form:
>
> MIB::object1.index1 = someValue
> MIB::object1.index2 = someValue
> :
> MIB::object1.indexN = someValue
> MIB::object2.index1 = someValue
> :
> MIB::objectM.indexN = someValue
>
>
> If you run the command
>
> snmpget .... MIB::object1.indexX MIB::object2.indexX ...
> MIB::objectM.indexX
>
> this will return all of the specified objects - i.e. one row of the table.
> If you don't actually need all of these column values, just specify the
> ones you are interested in.
>
> Dave
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
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