SNMP CORBA

 

This is a sample GUI application to show the usage of the CORBA API. This example uses the SnmpTarget interface for GET, GETNEXT, GETBULK, and SET and a supplementary class CorbaTableUi with SnmpTable interface for retrieving the table values. The application supports all the three versions of SNMP. This is a user-friendly application and can be viewed by executing the following command.

 

java CorbaDemo

 

The screenshot of this applet example is given below.

 

corba_demo.jpg

 

Source

 

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

 

Usage

 

The usage of the CorbaDemo is provided below.

 

java CorbaDemo [-ORBInitialPort orbPort] [-ORBInitialHost orbHost]

 

note.jpg

Note:

  • The 'mib path' and 'host' are relative to the server.

  • If the WebNMS SNMP CORBA server runs in a different host, the examples should use the '-ORBInitialHost' and '-ORBInitialPort' as follows.
    java CorbaDemo -ORBInitialHost <ORBHost> -ORBInitialPort <ORBPort>
    where
    '<ORBHost>' is the host name of transient name server
    '<ORBPort>' is the port on which transient name server is running.

  • The MIB is loaded only on clicking the 'Load MIBs' button. By default, the MIB path is visible but not loaded

 



Copyright © 2012, ZOHO Corp. All Rights Reserved.