|
This section explains the steps involved in testing the MPA using various adapters. It is assumed that a MPA is created using AGENT-SAMPLE-MIB following the steps given in the topic Creating a Simple Agent using Agent Compiler and the MPA is started at the following port numbers by default:
SNMP Adapter - 8001
HTML Adapter - 8040
TL1 Adapter -9099
CLI Adapter - 2020 (TCP Port)
The Manager applications for various protocols are : MibBrowser for SNMP Protocol, TL1CraftInterface for TL1 Protocol, CLI Browser for CLI Protocol, and Netscape or Internet Explorer for HTTP Protocol.
Testing the Agent in SNMP Browser
This topic is dealt in "Building SNMP Agents" section. Please refer to the topic for more details on Testing SNMP Agents.
Testing the Agent in TL1CraftInterface
This topic is dealt in Basic TLI Operations. Please refer to the topic for more details.
Testing the Agent in CLI Browser
This topic is dealt in Basic CLI Operations. Please refer to the topic for more details.
Testing the Agent in HTTP Browser
To test the HTTP Agent,
Select the Tools -> HTML Browser or the icon in the Agent Compiler, which starts the HTML Browser specified in the HTML Browser path in Edit -> Preferences option of the Agent Compiler. You will be prompted with the user name and password.
Enter the correct user name and password and press OK button. The default user name is root and password is public. You will now find the index.html page loaded in the browser.
Select the link to the AGENT-SAMPLE-MIB, which leads you to the AGENT-SAMPLE-MIB resources. You will now find the AGENT-SAMPLE-MIB table which displays links to all the modules in the MIB.
Select the scalar node agentSystem from the link shown above. You will now find the default values of all the objects defined in agentSystem displayed in the form of a Table. Now, you have successfully tested the Multi-Protocol Agent in HTTP.
Please refer to the topic Basic HTTP Operations to know more about the HTTP operations that can be performed on the HTTP agent.
|