|
Agent Compiler allows you to configure the HTTP parameters from the User Interface (UI) itself. This configuration is done using the Settings panel invoked using any one of the following:
Settings -> Project Settings menu bar option or
Configure Settings icon in the toolbar or
Ctrl+Shift+S hot key.
This chapter describes various settings that are specific to the HTTP protocol. To configure the Agent General Settings, Code Generation Settings, Compiler Settings, and Macros refer to the topic Configuring Agent Settings in Building MultiProtocol Agents section.
Configuring HTTP General Settings
The General Settings for the HTTP Protocol is available under Protocols -> HTTP group. You can configure the following in this settings panel :
Outgoing Packet Size
This is the maximum message length for the outgoing HTTP messages from the agent. The default outgoing packet size is 4096 bytes. Users can configure their own outgoing packet size. But it has to be kept in mind that the outgoing packet size must at least be1500.
Incoming Packet Size
This is the maximum message length for the incoming messages from the agent. The default incoming packet size is 1024 bytes. Users can configure their own incoming packet size.
Web Server Port Number
The HTTP Agent gets started at default port number 8040. Users can provide any other port number from where the HTTP agent should be started.
Request Control
The Request control feature enables the Web server to discard any further request from a client for a specified period and deny the clients access to the server, if the client sends continuous requests to the server. Refer to the topic Request Control Mechanism to know more about the Request control feature.
IP Filtering
The IP Filtering option when selected, enables the server to filter the client IP address. The server will respond only if the client IP address is not in the IP filtering list maintained by the HTTP agent. Refer to the topic IP Filtering to know more about the IP Filtering feature.
General Options
The Agent Compiler allows you to configure the following general options. The links provided will take you to the respective topics which describes in detail the implementation details and the procedure to configure the service from the Agent Compiler.
Configuring HTTP Authentication
The HTTP adapter of WebNMS Agent Toolkit supports the authentication feature. A simple challenge-response authentication mechanism is adopted, where the server may challenge the client and the client responds with the authentication information. When a user connects to the agent through the HTTP adapter, authentication is done based on user name and password.
Refer to the topic HTML Adaptor - Enabling Authentication to know more about the authentication feature.
SSL refers to the Secured Socket Layer protocol which provides authenticated and encrypted communication between clients and servers. Select the SSL Support option in Protocols -> HTTP -> SSL to provide SSL support to the HTTP Agent.
Refer to the topic HTTP Adaptor - SSL Support to know more about SSL.
Configuring HTML Code Generation Settings
The Code Generation Settings for the HTTP is available under Code Generation->HTML group in the settings dialog. It has the following three sub-items which you can configure:
Body
You can configure the following attributes of the HTML browser:
Background Color: Sets the background color of the browser from a color panel that is invoked when you click on the color pallet. This pop-up window has three tabs, namely Swatches, HSB and RGB. You can choose your choice of color from any of these three tabs.
Link Color: Sets the color of the unvisited link on page displayed on your browser.
ALink Color: Sets the color of the active link (the link of the page that is currently displayed on your browser).
VLink Color: Sets the color of the already visited link.
Background Image: Sets the background image for your browser. You need to specify the image file name which should be present in the WebNMS\C-Agent\agent\servlets\images, in the text field for the image to appear as the background image of the browser.
Table
You can set the following table attributes:
Table Header Color: Sets the color of the table header.
Table Index Color: Sets the color of the Table Index column.
Table Alignment: Sets the alignment of the table. The alignment can be center, left, or right.
Table Border: Sets the table border. The value is in pixels.
Cell Padding: Sets the padding value for each cell in the table.
Cell Spacing: Sets the spacing between two or more cells in the table.
Number of Rows: Sets the value for the number of rows in the table.
Others
Other Information and Footer information are two sections available here. The Other Information has the following attributes that can be modified:
Refresh Time: Sets the refresh time of the browser according to the mentioned value. It is recorded in terms of seconds. The default refresh time is 300 seconds.
Footer Logo: Sets the logo that will appear in the footer. (Default image is logo.png)
Footer Information has the text box where you can specify the content that needs to appear in the footer of the Web browser.
|
|
Note: Changes done in HTML code generation settings are reflected only for generated HTML files. |
|