Get Column

 

The getColumn example is used for retrieving the column value from an SNMP table.

 

Source

 

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

 

Usage

 

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

 

getColumn [-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 MIB_files columnName

 

Example Command

 

java getColumn "../../mibs/RFC1213-mib" 10.3.2.120 ifType

 

java getColumn -v v3 -u initial -w initialPass -a MD5 "../../mibs/RFC1213-mib" 10.3.2.120 ifType



Copyright © 2012, ZOHO Corp. All Rights Reserved.