Get Row

 

The getRow example is used for retrieving the row value from the SNMP table.

 

Source

 

Refer the source code for the getRowexample present in <examples/applications/getRow.java> for more information.

 

Usage

 

The usage of the getRow example is provided below. The "-d" option enables the debug and prints the packet dumps. The "host", "tableOID", "MIB_files" and the "rowIndex" arguments are mandatory and the rest are optional.

 

getRow [-v version(v1,v2,v3)] [-c community] [ -p port] [-t timeout] [-r retries] [-u user] [-a auth_protocol(MD5/SHA)] [-w auth_password] [-pp privProtocol(DES/AES-128/AES-192/AES-256/3DES)] [-s priv_password] [-n contextname] [-i contextID] [-d debug] host tableOID MIB_files rowIndex

 

Example Command

 

java getRow localhost if Table ../../mibs/RFC1213-mib 1

 

java getRow -v v3 -u initial -w initialPass -a MD5 localhost if Table ../../mibs/RFC1213-mib 1



Copyright © 2012, ZOHO Corp. All Rights Reserved.