public class get_bulk
extends java.lang.Object
implements java.util.Observer
The get_bulk application shows how to use the SNMPv2 GetBulk request.
The host, port, community, non-repeaters and max-repetitions name can be configured in the properties file. A number of OIDs can be configured in the properties file as well by using any OIDS in the range OID0 to OID9.
The name of the properties file can be passed as first argument to
this application. If there is no such argument, it will look for
get_bulk.properties
. If this file does not exist, the
application will use default parameters.
GetBulkPdu
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ipNetToMediaNetAddress |
static java.lang.String |
ipNetToMediaType |
static java.lang.String |
ipRouteTable |
static java.lang.String |
MAX |
static java.lang.String |
NON |
static java.lang.String |
system |
static java.lang.String |
sysUpTime |
Constructor and Description |
---|
get_bulk(java.lang.String propertiesFilename)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
init() |
static void |
main(java.lang.String[] args) |
void |
update(java.util.Observable obs,
java.lang.Object ov)
Implementing the Observer interface.
|
public static final java.lang.String NON
public static final java.lang.String MAX
public static final java.lang.String system
public static final java.lang.String sysUpTime
public static final java.lang.String ipNetToMediaNetAddress
public static final java.lang.String ipNetToMediaType
public static final java.lang.String ipRouteTable