|
This is a sample application illustrating how to use the MibOperationsEJB to load MIBs and get the corresponding leaf node details for the LeafNode specified by the user. The following commands runs the application.
|
ejbLeafDetails -m mibs\RFC1213-MIB 1.1 |
The above command loads the RFC 1213 MIB and retrieves the nodes details of sysDesc and prints them. For example, this example prints the following details.
|
VALUE | DATA-TYPE |
To run the ejbLeafDetails application from another host where the application server runs, you can use the following command.
|
java ejbLeafDetails - EJBServer SERVER -m mibs\RFC1213-MIB 1.1 |
It is assumed that the application server runs on a machine SERVER and you want to get the node details on the server itself. The argument "localhost" below specifies that ejbLeafDetails operation is performed on the "localhost" as seen by the application server.
Source
Refer the source code for the ejbLeafDetails example present in <examples/ejbclient/ejbLeafDetails.java> for more information.
|