Cisco Systems 78-5664-05 manual Base URL, Tool Type, Tools Parameters, Tools of Type Go

Page 24

Chapter 6 Java Event List Configuration

Configuring Tools

Base URL

You must specify a base URL that forms the stem of the URL for each tool. The rest of the tool’s URL is derived from the parameters in a way that depends on the tool’s type. See the “Tool Type” section on page 6-24and the “Tools Parameters” section on page 6-24for details.

In a tool defined in JACE, the base URL is defined in the second (url) property of the tool. In a tool defined in an applet, it is defined in the second (BaseURL) tag.

Tool Type

The tool can be one of the following types:

go to pass no parameters and open a browser window with the BaseURL page

one to work on only one selected alert, open a browser window and call the BaseURL page with the appropriate expanded parameters

curl to construct a URL and open a browser window with the constructed URL

all to work on one or more selected alerts. A browser window opens for each alert, calling the BaseURL and appropriate expanded parameters.

In a tool defined in JACE, the tool type is defined in the url property of the tool. In a tool defined in an applet, it is defined in the third (type) tag.

Tools Parameters

A tool can have no parameters, or any number. In a tool defined in JACE, the parameters are defined as a single string in the params property of the tool. In a tool defined in an applet, they are defined in the fourth tag.

Tools of Type Go

Tools of type go have no parameters. In a tool defined in JACE, the params property should be empty. In a tool defined in an applet, the fourth parameter should be null:

Show Home Page(go)(http://armagnac/)()

Tools of Type One

Tools of type one have one or more parameters, each of which that consists of the name of a parameter used by the tool, and its value. The list of parameters is itself a single parameter in the tool definition:

Ping a single host(one)(http://armagnac/cgi-bin/ncping)(Node,Node,Serial,Serial)

The contents of the final parentheses in these examples are the same as the value of the params parameter in a tool defined in JACE.

The name/value pair is passed to the script at the URL. The value of each named parameter is taken from the specified field in the alert. In this example, the script expects a Node parameter, and runs with the value of the Node field in the first alert. The value of the Serial field in each alert is similarly passed to the script as the value of a Serial parameter. The name of the parameter does not have to be the same as the name of the field from which it takes its value, although this helps in tracking values.

Cisco Info Center Administrator Reference

6-24

78-5664-05

 

 

Image 24
Contents Java Event List Configuration IntroductionConfiguration Procedure Web ServersSetting the Properties File Publishing Class and Zip FilesInfo Server Connection Properties Connection to List of Info ServersHost Name PortPassword Single Connection to an Info ServerInfo Server URL List Jdbc Driver PropertiesJeld Server Properties Jeld Global Security PropertiesListen Port Maximum ConnectionsLog File Properties License FileInfo Server Connection and Reconnection Configuration with the Jace Editor Starting JaceInfo Server Connection Failure Fail Over SupportRenaming a Configuration Specify the new name for the configurationCopying a Configuration Deleting a ConfigurationAdding a Set to the Configuration Deleting a SetImporting and Exporting Configurations Using Multiple ConfigurationsSet and Property Management Copying a SetSaving and Restoring Modifications Adding a Property to a SetDeleting a Property Renaming a PropertyConfiguration Options Field ExtensionView Access Audio Basic ToolTool Number HelpAuthenticate and Deauthenticate to the File menu LookMonitor Box Update Permissions View PermissionsAdmin Configuration Parameter Creating Html PagesApplet Tag Host ParameterViewName Parameter Order ParameterViewFields Parameter Configuring Tools Filter ParameterTools Parameter Tool NameBase URL Tool TypeTools Parameters Tools of Type GoRunning the Jeld Process in Background Tools of Type AllTools of Type Curl Example Html