Resumo do conteúdo contido na página número 1
CHAPTER 6
Java Event List Configuration
This chapter covers how configure the Cisco Info Center Java Event List. You need only read this section
if you have installed Java support for the Java Event List.
This chapter includes the following sections:
• “Introduction”
� “Configuration Procedure”
� “License File”
� “Creating HTML Pages”
� “Running the JELD Process in Background”
Introduction
The Java Event List is used to distribute and manage Cisco Info Center events through the World Wid
Resumo do conteúdo contido na página número 2
Chapter 6 Java Event List Configuration Configuration Procedure Figure 6-1 Java Component Web browsers display the HTML page containing the Java applet Configuration with JACE Web server Cisco Info Server jeld Configuration Procedure The Java support components are, by default, installed in the $OMNIHOME/java directory. The configuration procedure for Java support covers the following steps: 1. Install a Web server and set up the communications to Cisco Info Center. 2. Copy the clas
Resumo do conteúdo contido na página número 3
Chapter 6 Java Event List Configuration Configuration Procedure Publishing Class and Zip Files Before you can create HTML pages for the WWW, you must publish the class and zip files on the Web server. The class files are in the $OMNIHOME/java/jel directory. This directory contains the following subdirectories: � classes containing the Java class files � html containing an example configuration of the applet. Copy these directories to the publication home directory of your Web serve
Resumo do conteúdo contido na página número 4
Chapter 6 Java Event List Configuration Configuration Procedure Info Server Connection Properties The properties file provides three methods of connecting to an Info Server. These are: 1. Connection to a list of Info Servers. JELD tries each Info Server in the list until a connection is made. This is the preferred method. 2. Single connection to an Info Server. This method is provided for backward compatibility with previous versions. 3. Connection to a list of URLs. Each URL speci
Resumo do conteúdo contido na página número 5
Chapter 6 Java Event List Configuration Configuration Procedure Password This entry contains the jeld password for the Cisco Info Server. The password should be encrypted using the nco_crypt command. For example, specify: jeld.Cisco Info Server.password: Where is the encrypted password. To create an encrypted password, specify: nco_crypt Where is the unencrypted form of the password. The nco_crypt command displays an encrypted version of the
Resumo do conteúdo contido na página número 6
Chapter 6 Java Event List Configuration Configuration Procedure JELD Server Properties There are two JELD server properties: listenport and maxconns. Listen Port This entry contains the listen port number. For example, specify: jeld.listenport: 7575 You can override this entry with the jeld command line option -listenport. Maximum Connections This entry contains the maximum number of connections supported by the nco_jeld process. For example, specify: jeld.maxconns: 3 You can contro
Resumo do conteúdo contido na página número 7
Chapter 6 Java Event List Configuration Configuration Procedure Log File Properties There are two log file properties: logdir and logfile. Log Directory This entry contains the name of the directory in which the log file is located. For example, to ensure the log file is located in the /opt/Omnibus directory, specify: jeld.logdir: /opt/Omnibus Log File This entry contain the name of a log file. The log file contains diagnostic information about the background process, jeld. For exa
Resumo do conteúdo contido na página número 8
Chapter 6 Java Event List Configuration Configuration with the JACE Editor There is no limit to the number of Info Servers that you can specify in the properties file or the number of times you can enter the details of the same Info Server. Once a connection has been established, the JELD can respond to requests from the Java applet in the JEL. Info Server Connection Failure If the connection to the Info Server is broken, the JELD shuts down automatically. The JEL detects the shu
Resumo do conteúdo contido na página número 9
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Figure 6-2 JEL Advanced Configuration Editor (JACE) When you first start JACE, you should import the default configuration file $OMNIHOME/java/misc/jel1.jace. The JACE display is in a tree format, made up of sets. A set is a group of property and name value pairs. The display shows a configuration, named jel1, which contains the default values for the sets. This configuration is used by default in the apple
Resumo do conteúdo contido na página número 10
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Copying a Configuration An entire configuration can be copied, including all sets and properties, or just one part of a configuration. To copy a configuration: 1. Click on the configuration you want to copy. For example, click on jel1. 2. Click on the Copy button. The Copy Configuration window is displayed, as shown in Figure 6-4. Figure 6-4 Copy a Configuration in JACE 3. Specify a name for the configuration
Resumo do conteúdo contido na página número 11
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Importing and Exporting Configurations JACE allows you to import and export configurations for use on other machines. Configurations may be exported to ASCII readable files and those files can be imported, allowing for the backup of master configurations. To import a configuration: 1. Select the File menu’s Import option. 2. Select the configuration file to import, then click on the OK button. The configurat
Resumo do conteúdo contido na página número 12
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Adding a Property to a Set To add a new property to a selected set, do one of the following: � Click the Add button (shown in the left margin). � Right click on the list to display the popup menu, then select Add Property to Set. The Add Property window opens. Enter a name for the new property and select OK. The property now appears in its alphabetical position in the set. Deleting a Property To delete a pro
Resumo do conteúdo contido na página número 13
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Configuration Options In this section, there is a table of properties for each setname. The type of each property can be String, Integer or Boolean. All configuration options are included in the JEL template. The Basic Field and Basic Tool sets are provided as models that you can copy and use as the basis of custom fields and tools. Field Extension A set exists for each field plus its extension. Example set
Resumo do conteúdo contido na página número 14
Chapter 6 Java Event List Configuration Configuration with the JACE Editor . Table 6-3 View Set Properties Property Type Description fieldsfromhtml Boolean If set to true the field information for the JEL is taken from the HTML page applet parameter fields in the same format as JEL 1.x. If set to false the field information is taken from the property filter in the view set. fields String The field information is taken from the field data in the configuration (see the “Field Exten
Resumo do conteúdo contido na página número 15
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Table 6-4 Access Set Properties Property Type Description host String Sets the host name to be used for validation. The default is “+*”. ips String Sets the IP address to be used for validation. The default is “+*”. Audio The properties for the audio set are described in Table 6-5 . Table 6-5 Audio Set Properties Property Type Description enabled Boolean If this field is set to true, the alerts sample is pla
Resumo do conteúdo contido na página número 16
Chapter 6 Java Event List Configuration Configuration with the JACE Editor These four properties, when copied to a tool set and completed, provide the minimum requirements for that set. See “Configuring Tools” on page 23 for details of the possible values of the fields. Tool Number A set exists for each tool plus its number. Example set names include: � Tool 1 � Tool 2 � Tool 3 The numbers must form a continuous numeric sequence. If a break occurs in the sequence only tools with nu
Resumo do conteúdo contido na página número 17
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Look The properties for the look set are described in Table 6-9. Table 6-9 Look Set Properties Property Type Description authenticate Boolean If set to true the user must authenticate before each operation that modifies an alert. This property also adds the menu items Authenticate and Deauthenticate to the File menu in the JEL. authenticatefirst Boolean If set to true the user must authenticate themselves b
Resumo do conteúdo contido na página número 18
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Table 6-9 Look Set Properties (continued) Property Type Description refreshrate Integer Sets the refresh rate for the alert list in automatic refresh mode. The default is 10. This set is associated with the refresh utility. refreshtoggle= Boolean If this field is set to true, the menu item Refresh Mode is added to the File menu and the Refresh button is always available. This item contains the buttons Auto
Resumo do conteúdo contido na página número 19
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Table 6-10 Monitor Box Set Properties (continued) Property Type Description style String This property sets the way in which the current status on severity is shown. If it is set to l, the monitor box shows a lava lamp. If it is set to h, the monitor box shows a histogram. When a histogram is selected, the height value must be increased. total Boolean If this field is set to true, the monitor box displays
Resumo do conteúdo contido na página número 20
Chapter 6 Java Event List Configuration Configuration with the JACE Editor Table 6-12 View Permissions Set Properties Property Type Description details Boolean If this field is set to true, a user can view the alert and its details in information or reports. The details for the alert is also shown. fullreport Boolean If this field is set to true, the user can view the full report information. The menu item Report is added to the Alerts menu. info Boolean If this field is set to t