Re: Retrieval of a single row from read-only Table
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
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