Web PDF API Master
Web PDF API Master
Version 8 Release 1
IBM
SC27-6506-10
Tivoli Netcool/OMNIbus
Version 8 Release 1
IBM
SC27-6506-10
Note
Before using this information and the product it supports, read the information in Notices.
This edition applies to version 8, release 1 of IBM Tivoli Netcool/OMNIbus (product number 5724-S44) and to all
subsequent releases and modifications until otherwise indicated in new editions.
© Copyright IBM Corporation 2011, 2017.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract
with IBM Corp.
Contents
What this publication contains . . . . . v Remove a directory . . . . . . . . . . . 55
Intended audience . . . . . . . . . . . . v Recursively remove a directory . . . . . . . 55
Publications . . . . . . . . . . . . . . v Menu requests . . . . . . . . . . . . . 55
Accessibility . . . . . . . . . . . . . . vii Create a menu . . . . . . . . . . . . 56
Tivoli technical training . . . . . . . . . . vii Create or replace a menu . . . . . . . . . 58
Support information . . . . . . . . . . . vii Delete a menu . . . . . . . . . . . . 58
Conventions used in this publication . . . . . . vii Get a list of menus . . . . . . . . . . . 59
Modify a menu . . . . . . . . . . . . 59
Chapter 1. The Web GUI Administration Tool requests . . . . . . . . . . . . . . 59
Create a tool . . . . . . . . . . . . . 60
API (WAAPI) . . . . . . . . . . . . . 1 Create or replace a tool . . . . . . . . . 67
About WAAPI . . . . . . . . . . . . . . 1 Delete a tool . . . . . . . . . . . . . 68
Comparative procedures for modifying the Web Get a list of tools . . . . . . . . . . . 68
GUI . . . . . . . . . . . . . . . . 2 Modify a tool. . . . . . . . . . . . . 69
Communications between the WAAPI client and the Prompt requests . . . . . . . . . . . . . 70
Web GUI server . . . . . . . . . . . . . 3 Create or replace a prompt . . . . . . . . 70
Security . . . . . . . . . . . . . . . . 4 Delete a prompt . . . . . . . . . . . . 77
Get a list of prompts . . . . . . . . . . 77
Chapter 2. Using WAAPI. . . . . . . . 7 Modify a prompt . . . . . . . . . . . 77
Setting up the WAAPI properties file . . . . . . 7 CGI requests . . . . . . . . . . . . . . 78
Sending WAAPI requests to the server. . . . . . 7 Register a CGI script . . . . . . . . . . 78
Create or replace a CGI script . . . . . . . 79
Chapter 3. WAAPI requests . . . . . . 9 Modify a CGI script . . . . . . . . . . 79
Structure of a WAAPI request . . . . . . . . 9 Unregister a CGI script . . . . . . . . . 79
Characteristics of WAAPI XML documents . . . 11 Filter requests . . . . . . . . . . . . . 80
Sample Requests. . . . . . . . . . . . 13 Add a filter . . . . . . . . . . . . . 80
User requests . . . . . . . . . . . . . . 13 Create or replace a filter . . . . . . . . . 84
Maintain users . . . . . . . . . . . . 13 Delete a filter . . . . . . . . . . . . . 85
Modify a user . . . . . . . . . . . . 13 Get a list of filters . . . . . . . . . . . 85
Get a list of users . . . . . . . . . . . 23 Modify a filter . . . . . . . . . . . . 86
View requests . . . . . . . . . . . . . 23 Set the default view . . . . . . . . . . 86
Create a view. . . . . . . . . . . . . 23 Filter collection requests . . . . . . . . . . 87
Create or replace a view . . . . . . . . . 28 Create a filter collection . . . . . . . . . 87
Modify a view . . . . . . . . . . . . 29 Add a filter to a filter collection . . . . . . 88
Delete a view. . . . . . . . . . . . . 30 Create or replace a filter collection. . . . . . 89
Get a list of views . . . . . . . . . . . 30 Delete a filter collection . . . . . . . . . 89
Map requests . . . . . . . . . . . . . . 30 Delete a filter from a filter collection . . . . . 89
Create a map . . . . . . . . . . . . . 31 Get a list of filter collections . . . . . . . . 90
Create or replace a map . . . . . . . . . 47 Modify a filter collection . . . . . . . . . 90
Delete a map . . . . . . . . . . . . . 47 Set the view for a filter collection . . . . . . 91
Get a list of maps . . . . . . . . . . . 48 Metric requests . . . . . . . . . . . . . 91
Modify a map . . . . . . . . . . . . 48 Create a metric . . . . . . . . . . . . 91
Add a map visual . . . . . . . . . . . 48 Create or replace a metric . . . . . . . . 96
Add or replace a map visual . . . . . . . 49 Delete a metric . . . . . . . . . . . . 97
Delete a map visual . . . . . . . . . . 49 Get a list of metrics. . . . . . . . . . . 97
Modify a map visual . . . . . . . . . . 50 Modify a metric . . . . . . . . . . . . 97
Resource requests . . . . . . . . . . . . 50 Relationship requests . . . . . . . . . . . 98
Add a resource . . . . . . . . . . . . 50 Create a relationship . . . . . . . . . . 98
Create or replace a resource . . . . . . . . 51 Create or replace a relationship . . . . . . 101
Remove a resource . . . . . . . . . . . 52 Delete a relationship . . . . . . . . . . 101
Get a list of resources . . . . . . . . . . 52 Get a list of relationships . . . . . . . . 102
File requests . . . . . . . . . . . . . . 52 Modify a relationship. . . . . . . . . . 102
Add a directory . . . . . . . . . . . . 52 Other requests . . . . . . . . . . . . . 102
Add a file . . . . . . . . . . . . . . 53 Generate a system status report . . . . . . 103
Create or replace a file. . . . . . . . . . 54 Reload filters and views . . . . . . . . . 103
Delete a file . . . . . . . . . . . . . 54 Remove a node from a load balancing cluster 103
iv IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
What this publication contains
The IBM Tivoli Netcool/OMNIbus Web GUI is a Web-based application that
processes network events from one or more data sources and presents the event
data to users in various graphical formats.
The IBM Tivoli Netcool/OMNIbus Web GUI Administration API (WAAPI) User's Guide
shows how to administer the Tivoli Netcool/OMNIbus Web GUI using an XML
application programming interface named WAAPI.
Intended audience
This publication is intended for administrators of the Tivoli Netcool/OMNIbus
Web GUI. The publication provides information on how to administer the Web
GUI using WAAPI.
This publication assumes that the administrator has a reasonable degreee of XML
knowledge. In particular, the publication assumes that the administrator
understands the following concepts:
v The rules, logic, and components that are used by XML
v The concepts of elements, attributes, and markup
v How to create documents that are well-formed, and valid against an XML
document type definition (DTD)
Publications
This section lists publications in the Tivoli Netcool/OMNIbus library and related
documents. The section also describes how to access Tivoli publications online and
how to order Tivoli publications.
The IBM Terminology Web site consolidates the terminology from IBM product
libraries in one convenient location. You can access the Terminology Web site at the
following Web address:
http://www.ibm.com/software/globalization/terminology
ftp://public.dhe.ibm.com/software/tivoli/Netcool/NetcoolOmnibus/library/
Note: If you print PDF documents on other than letter-sized paper, set the option
in the File > Print window that allows Adobe Reader to print letter-sized pages on
your local paper.
vi IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Accessibility
Accessibility features help users with a physical disability, such as restricted
mobility or limited vision, to use software products successfully.
With this product, you can use assistive technologies to hear and navigate the
interface. You can also use the keyboard instead of the mouse to operate most
features of the graphical user interface.
http://www.ibm.com/software/tivoli/education
Support information
If you have a problem with your IBM software, you want to resolve it quickly. IBM
provides the following ways for you to obtain the support you need:
Online
Go to the IBM Software Support site at http://www.ibm.com/software/
support/probsub.html and follow the instructions.
IBM Support Assistant
The IBM Support Assistant (ISA) is a free local software serviceability
workbench that helps you resolve questions and problems with IBM
software products. The ISA provides quick access to support-related
information and serviceability tools for problem determination. To install
the ISA software, go to http://www.ibm.com/software/support/isa
Documentation
If you have a suggestion for improving the content or organization of this
guide, send it to the Tivoli Netcool/OMNIbus Information Development
team at:
mailto://L3MMDOCS@uk.ibm.com
For other Jazz for Service Management installation directories, see the Jazz for
Service Management information center at http://www-01.ibm.com/support/
knowledgecenter/SSEKCU/welcome.
This publication uses the UNIX convention for specifying environment variables
and for directory notation.
When using the Windows command line, replace $variable with %variable% for
environment variables, and replace each forward slash (/) with a backslash (\) in
directory paths. For example, on UNIX systems, the $NCHOME environment
variable specifies the path of the Netcool® home directory. On Windows systems,
the %NCHOME% environment variable specifies the path of the Netcool home
directory. The names of environment variables are not always the same in the
Windows and UNIX environments. For example, %TEMP% in Windows
environments is equivalent to $TMPDIR in UNIX environments.
If you are using the bash shell on a Windows system, you can use the UNIX
conventions.
viii IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Netcool home location
The Netcool home location is the base directory where Tivoli Netcool/OMNIbus is
installed. The Netcool home location is defined by the NCHOME environment
variable. The value of NCHOME is as follows:
v UNIX Linux $NCHOME defaults to /opt/IBM/tivoli/netcool
v Windows %NCHOME% defaults to C:\IBM\Tivoli\Netcool
Where a directory or command path starts with the variable NCHOME, the
information applies to all supported operating systems.
Other products that use the NCHOME environment variable, for example IBM
Tivoli Network Manager IP Edition, can be installed into the Netcool home
location. Each product installs its specific components and files into a dedicated
product subdirectory in the Netcool home location. Files that are common to all
products are installed in shared subdirectories in the Netcool home location.
PureData
Web GUI The text or instruction applies only to the Web GUI component.
UNIX The text or instruction applies only to UNIX operating systems, including
AIX® and Solaris. The following cueing graphics are used for AIX and Solaris
where required:
AIX Solaris
FIPS 140-2 The text or instruction applies only to using or configuring FIPS 140-2
encryption.
Default The text or instruction describes default behavior or applies only to default
configurations.
Fix Pack 1 The text or instruction applies only to the fix pack number indicated by the
graphic. Features or enhancements described in the text are only available
after you install the indicated fix pack.
Note: Fix packs for the server component and the Web GUI component are
released separately. Web GUI fix packs are indicated as follows:
PureData
Web GUI Fix Pack 1
Administrator The text or instruction applies only to Web GUI administrators. That is, users
that have the ncw_user and ncw_admin roles assigned.
Java The text or instruction applies only to the Java™ programing language
Typeface conventions
x IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Chapter 1. The Web GUI Administration API (WAAPI)
Read an introduction to WAAPI and how it communicates with the Web GUI
server. Also read about the security mechanisms that WAAPI provides.
About WAAPI
WAAPI is an XML-based API that enables remote or local administration of the
Web GUI server.
WAAPI enables administration of the server without having to use the graphical
user interface of the Web GUI itself. It is particularly useful for carrying out bulk
updates of information which would take a long time to achieve using the
interactive facilities. For example, adding or modifying a number filters may be
more efficient to do using WAAPI rather than the interactive facilities of the Web
GUI.
The interface is installed with the Web GUI server enabling administration from
the server itself. You can also install the WAAPI client on a remote server and
manage the Web GUI from there.
Types of request
There are also some features that are available only using WAAPI for specialized
administration tasks. For example, you can reload all the system's filters and
views.
WAAPI groups all the available requests into the following types:
v User
Modify the characteristics of any number of users, get a list of users, and
remove Web GUI configuration data from users that no longer have active Web
GUI roles.
v Views
Create, modify, delete, and list views.
v Maps
Create, modify, delete and list maps. In addition, you can add visuals to a map,
modify and delete them.
v Resources
Resources are graphics files that contain items you want to appear on a map.
Resources include background images for maps and graphics you want ot use as
map objects. You can add remove and list resources.
v Files
Add and remove directories and files on the Web GUI server.
v Menus
Create, modify, delete, and list menus to appear on Active Event Lists (AEL).
The following examples describe the comparative procedures for modifying a field
view in an Active Event List (AEL).
The following example procedure describes how to modify a field view in an AEL
through the Web GUI in Dashboard Application Services Hub:
1. Click Administration > Event Management Tools > Views.
2. From the Views list, select the view that you want to modify.
3. In the Available Fields list, select the field that you want to modify.
4. Change the justification values of “Title” and “Data” to Left.
5. Set the column width to 12.
6. Click Save.
The following example procedure describes how to modify a field view in an AEL
through the WAAPI client:
2 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
1. Create an XML command file in accordance with the rules of the WAAPI DTD.
For example:
<methodCall>
<method methodName="view.modifyView">
<view viewName="myview" acl="*">
<columns>
<visualEntry fieldName="myfield"
fieldTitle="myfieldtitle"
dataJustify="left"
titleJustify="left"
columnWidth="12"
/>
</columns>
</view>
</method>
</methodCall>
2. Start the WAAPI client and send the command file to the Web GUI server.
Communications between the WAAPI client and the Web GUI server
How the WAAPI client communicates with the Web GUI server.
Communication between the WAAPI client and the Web GUI server has the
following characteristics:
v Uses a request/response model.
v Is synchronous.
v Requests are in XML format.
v Responses are in text format.
v Uses an HTTP or HTTPS connection between the client and the server.
Communications overview
Whether you use the WAAPI client installed with the Web GUI server or a remote
installation of the client, the way it communicates with the server is exactly the
same:
1. The administrator creates one or more requests in one or more XML files.
2. The administrator runs the WAAPI client and supplies it with the XML files.
3. WAAPI sends the files to the server over a HTTP connection.
This connection can use SSL and can use encryption to help maintain the
security of the data.
4. The server receives the requests and carries them out.
5. The server returns any output from the requests to the client over the same
HTTP connection.
6. The WAAPI client receives the output. How it processes this depends on
whether the administrator specified an output file to use when sending the
requests.
If the administrator specified an output file, WAAPI sends the output to that
file, creating it if necessary. Otherwise WAAPI sends the output to the screen
where the administrator ran the client.
WAAPI provides three ways you can use to protect the data it exchanges with the
server:
v Securing the connection to the server
v Password encryption
v Protecting the WAAPI properties file
You can configure the Web GUI to support the National Institute of Standards and
Technology (NIST) SP800-131a security standard. SP800-131a requires longer key
lengths and stronger cryptography than other standards, for example, FIPS 140-2.
SP800-131a requires Transport Layer Security (TLS) V1.2.
You can run SP800-131a in two modes: transition and strict. Use the transition
mode to move gradually towards a strict enforcement of SP800-131a. The transition
mode allows the use of weaker keys and algorithms than strict enforcement. The
transition mode also allows the use of TLS v1.0 and v1.1. As a consequence,
transition mode is useful for upgrading security settings from FIPS 140-2, because
you can continue to use existing FIPS 140-2 compliant certificates.
Password encryption
Independently of any secure connection you might use, WAAPI provides the
means for encrypting the passwords that it uses. An unprotected HTTP connection
can use AES password encryption. When using a secure connection, you can
specify AES or FIPS 140-2 encryption. When the connection uses FIPS 140-2, only
FIPS 140-2 password encryption is available.
4 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
communication with the Web GUI server.
Procedure
Set the properties in the WAAPI initialization file to match your environment. Set
values for those properties whose value changes rarely such as:
v waapi.host
v waapi.port
v waapi.user
v waapi.password
v The secure connection and encryption properties
This minimizes the number of options that you need to enter on the command
line.
Note: If you set the waapi.user and waapi.password properties, make sure that the
properties file is protected against access for users other than authorized
administrators.
If you manage several Web GUI servers from one location, you can have multiple
properties files, one for each server. This enables you to tailor the properties for
each server.
You can also use the properties file to hold default values for properties. You can
always override any property setting using a command line option.
Related reference:
Appendix A, “WAAPI properties and command-line options,” on page 105
Use this information to learn about the properties and command-line options of
the WAAPI client.
Procedure
1. To prepare the WAAPI command file:
a. Create an 8-bit Unicode Transformation format (UTF) text file with a .xml
suffix.
b. Add the requests to the file
Tip: Use the sample WAAPI files provided with the client as templates for
your command file.
c. Save the file using UTF-8 to a suitable directory.
2. To run the client and send your file to the server:
waapi_command_file
With the name of your WAAPI command file.
8 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Chapter 3. WAAPI requests
A WAAPI request is an XML document that contains instructions to administer the
Web GUI server.
Note: The names of some attributes are long. In the following syntax descriptions,
these long names are divided over 2 or more lines. However, in the XML you
produce, enter each attribute name as a single character sequence without any line
breaks.
Optionally, you can begin a WAAPI request with an XML declaration. For this
release of the Web GUI the declaration is as follows:
<?xml version="1.0" encoding="UTF-8" ?>
The root element holds the content of the request. For tool, prompt, and metric
requests, the root element also defines a namespace.
</methodCall>
</methodCall>
Where type is the type of request (tool, prompt, metric, or relationship) and
namespace-url is the fully qualified URL for the namespace. Only the tool, prompt,
metric, and relationship requests require a namespace URL.
The namespace URLs for prompt, tool, metric, and relationship requests are
described in the following table.
Table 3. Namespace URLs
Type of request Namespace URL
Tool "http://www.ibm.com/tivoli/netcool/webtop/tools/2.1"
Prompt "http://www.ibm.com/tivoli/netcool/webtop/prompts/2.2"
Metric "http://www.ibm.com/tivoli/netcool/webtop/metrics/7.3.1"
Relationship "http://www.ibm.com/tivoli/netcool/webtop/relationships/7.4"
For example, when the methodCall attribute has the value view.createView the
<method> element contains one or more <view> elements each of which defines the
characteristics of a view to add to the collection of Web GUI views.
The root element can contain method calls for any mix of Web GUI data items.
When the element contains any combination of tool, prompt, metric, and
relationship requests, include each of the corresponding xmlns attributes in the
<methodCall> element.
10 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<methodCall xmlns="http://www.ibm.com/tivoli/netcool/webtop/tools/2.1"
xmlns="http://www.ibm.com/tivoli/netcool/webtop/prompts/2.2" >
</methodCall>
Each WAAPI request must be well-formed and is validated against the document
type definition (DTD) by the WAAPI client. The DTD defines a set of rules for the
syntax of elements that appear in the request.
The DTD defines the statements that you can put in the XML request, the order in
which elements must appear, which elements can be nested, which elements have
attributes, and so forth. The WAAPI DTD is in the following location:
WEBGUI_HOME/waapi/etc/waapi.dtd
In general, the WAAPI DTD is order tolerant. Providing that the request files are
well formed, the DTD allows you to parse the majority of child statements.
However, some elements required that you put child elements in a particular order.
On the other hand, the child elements of the <method> and <view> elements must
appear in the correct order. The following table defines the order in which child
elements for the <method> and <view> must appear.
Case sensitivity
In XML documents, element and attribute names are case sensitive. Use the same
case as specified in the method definitions. In addition, the content of some
elements and the value of some attributes are also case sensitive. The descriptions
of element content and attribute values in the method definitions includes
information on case sensitivity. In particular be sure to specify enumerated values
exactly as they appear in the method definition.
There are restrictions on the content of some elements and the value of some
attributes. For example, there may be a limit on the number of characters that an
attribute value can have. The description of elements and attributes in each
method definition define any content restrictions that apply.
Comments
You can include comments in the WAAPI request using the standard XML syntax.
Begin the comment with the syntax <!-- and terminate the comment with the
syntax -->. Put the comment between the beginning and terminating syntax. A
comment can be on a single line or multiple lines.
For example:
<!-- This is a comment -->
<!--
This is a comment that has more
than one line.
-->
12 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Sample Requests
There are a wide range of sample requests supplied with the Web GUI.
The installation of the Web GUI server includes set of example requests. You can
use these as models for your requests. The examples are in the following directory:
WEBGUI_HOME/waapi/etc/samples
Here, WEBGUI_HOME is the installation directory of the Web GUI. For example,
ibm/tivoli/netcool/omnibus_webgui.
User requests
User requests operate on Web GUI users. There are functions to modify a user, get
a list of users, and remove configuration information for users that do not have
Web GUI user privileges. WAAPI provides three methods for working on users
defined in the system: maintaining users, modifying users, and getting a list of
users.
Maintain users
The format of the <method> element for maintaining users is:
<method methodName="user.maintainUsers" />
Use this method to remove Web GUI configuration data from all users that no
longer have the ncw_user or ncw_admin roles. The configuration data includes:
v Preferences
v Filter definitions
v View definitions
Example
<methodCall>
<method methodName="user.maintainUsers" />
</methodCall>
Modify a user
The format of the <method> element for modifying a user is:
<method methodName="user.modifyUser">
Use this method call to change any number of the following characteristics of a
user:
v Default filter
v Home page
v Event Viewer preferences
v AEL characteristics, including:
– Access to the AEL
– Default and minimum refresh time
– Items to display in the AEL
The <method> element contains one or more <user> elements each of which
identifies a user and the characteristics of the user that are to be modified. Include
only attributes of the <user> that correspond to the characteristics you want to
change. When you omit an attribute the corresponding characteristic is unchanged.
The <user> element defines the characteristics of a user and has the following
attributes:
Table 5. Attributes of the <user> element
Required or
Attribute name optional Description
name Required Identifies the user to modify.
Value: The username of a Web GUI user.
Default value: None.
filter Optional Defines the event severity levels that appear in the
user's AEL.
Value: String
Default value: None.
homepage Optional The URL of the user's home page, relative to the
context root of the Web GUI.
Value: The name and location of the home page.
Default value: /index.html
ael_user Optional Specifies whether the user can access the Active
Event List (AEL).
Value: true or false
Default value: true
ael_user_properties Optional Defines the font color for acknowledged events.
_acknowledge_font_color
Value: String
Default value: White
ael_user_properties_allow Optional Specifies whether the user can set their own
_select preferences in the ACL.
Value: true or false
Default value: true
ael_user_properties_allow Optional Specifies whether the user can refresh the AEL
_custom_refresh display. The attribute has one of the following
values:
Value: true or false
Default value: false
ael_user_properties_refresh Optional Specifies the refresh time (in seconds) of the AEL
_time for this user.
Value: Integer
Default value: 60
ael_user_properties Optional Specifies the minimum refresh time (in seconds)
_minimum_refresh_time that the user can specify. The value of this attribute
must be less than or equal to the value of
ael_user_properties_refresh_
time.
Value: Integer.
Default value: 30
14 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 5. Attributes of the <user> element (continued)
Required or
Attribute name optional Description
ael_user_properties_show Optional Specifies whether colors are used in the user's AEL.
_colors
Value: true or false
Default value: true
ael_user_properties_show_info Optional Specifies whether the Alerts menu of the AEL
includes the option to display the Information
window.
Value: true or false
Default value: true
ael_user_properties_show Optional Specifies whether the Information window for an
_journal alert includes the Journal tab.
Value: true or false
Default value: true
ael_user_properties_show Optional Specifies whether the Information window for an
_details alert includes the Details tab.
Value: true or false
Default value: true
ael_user_properties_show Optional Specifies whether the AEL widget includes a menu
_menubar bar.
Value: true or false
Default value: false
ael_user_properties Optional Specifies whether the AEL displays severity icons.
_show_graphicconversions
Value: show, showwithtext, or dontshow.
Default value: show
ael_user_properties_show Optional Specifies whether the user can access the
_preferences Preferences window from the AEL Edit menu or
the Preferences icon on the toolbar.
Value: true or false
Default value: true
ael_user_properties_monitor Optional Specifies whether the total number of events
_show_number appears on monitor boxes in the AEL.
Value: true or false
Default value: true
ael_user-properties_monitor Optional Specifies whether the highest severity level appears
_show_highest on monitor boxes in the AEL.
Value: true or false
Default value: true
ael_user_properties_monitor Optional Specifies whether the color of the highest severity
_show_highest_color level appears on monitor boxes in the AEL.
Value: true or false
Default value: true
16 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 5. Attributes of the <user> element (continued)
Required or
Attribute name optional Description
ael_user_properties_show Optional Specifies whether the toolbar appears above the
_toolbar AEL.
Value: true or false
Default value: true
ael_user_properties_monitor Optional Specifies the name of the font to use for text on
_font_name monitor boxes in the AEL.
Value: String
Default value: Dialog
ael_user_properties_monitor Optional Specifies the size of the font used on monitor boxes
_font_size in the AEL.
Value: Integer
Default value: 12
ael_user_properties_timeformat Optional Specifies the format for the date and time as it
appears on the AEL and Event Viewer.
Value: short, long, or a date and time format.
Default value: short
ael_user_properties_eventlist Optional Specifies the name of the font to use on the AEL.
_font_name
Value: String
Default value: Dialog
ael_user_properties_eventlist Optional Specifies the size of the font to use on the AEL.
_font_size
Value: Integer
Default value: 12
ael_user_properties_eventlist Optional Specifies the total width, in pixels, of the AEL.
_width
Value: Integer
Default value: 600
ael_user_properties_eventlist Optional Specifies the total height, in pixels, of the AEL.
_height
Value: Integer
Default value: 450
ael_user_properties_notify Optional Specifies whether notifications (for example,
_enabled sounds) occur when events are added to or
modified on the AEL.
Value: true or false
Default value: false
ael_user_properties_notify Optional When the user has iconized the AEL, specifies
_when_iconized whether to redisplay it when a new event arrives.
Value: true or false
Default value: true
ael_user_properties_notify Optional Specifies whether the user receives a notification of
_always the arrival of an event irrespective of whether the
AEL is open, closed, or iconized.
Value: true or false
Default value: true
18 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 5. Attributes of the <user> element (continued)
Required or
Attribute name optional Description
ael_user_properties_monitor Optional Specifies the number of columns of monitor box
_num_cols applets to display on the AEL.
Value: Integer
Default value: 4
ael_user_properties_allow Optional Specifies whether the user can edit the journals
_journal_edit associated with the AEL.
Value: true or false
Default value: true
ael_user_properties_allow Optional Specifies whether the user can access the Filter
_filter_builder_access Builder from the AEL.
Value: true or false
Default value: false
ale_user_properties_allow Optional Specifies whether the user can access the View
_view_builder_access Builder from the AEL.
Value: true or false
Default value: true
ael_user_properties_allow Optional Specifies whether the user can select pre-defined
_filters_and_views_use filters and views in the AEL.
Value: true or false
Default value: true
event_dashboard_monitor_show_tooltip Optional This attribute allows the user to turn on or off the
appearance of the extended tooltip on the monitor
boxes of the Event Dashboard.
Value: true or false
Default value: false
event_viewer_allow_column_moving Optional This attribute allows the user to be able to move
columns in the event list by dragging.
Value: true or false
Default value: true
event_viewer_allow_custom_sorting Optional This attribute allows the user to perform custom
sorting in the event list by clicking on the sort
icons in the column headers.
Value: true or false
Default value: true
event_viewer_column_locking Optional Enable or disable column locking in the event list.
If enabled, columns defined as locked in the
current view will always be displayed when
scrolling horizontally.
Value: true or false
Default value: false
20 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 5. Attributes of the <user> element (continued)
Required or
Attribute name optional Description
event_viewer_eventlist_font_name Optional Specifies the name of the font to use in the Event
Viewer.
Value: Free text
Default value: Helvetica
event_viewer_eventlist_font_size Optional Specifies the size of the font to use in the Event
Viewer.
Value: Integer (5 or above)
Default value: 11
event_viewer_eventlist Optional Specifies how to display icon-based values in the
_icon_display Event Viewer.
Value: icon, iconandtext or text
Default value: icon
event_viewer_eventlist_padding Optional Specifies the number of pixels of vertical padding
used around text in the Event Viewer.
Value: Integer (0 or above)
Default value: 7
event_viewer_row_coloring Optional Color rows in the Event Viewer according to event
severity.
Value: true or false
Default value: false
event_viewer_show_toolbar Optional Show or hide the toolbar in the Event Viewer.
Value: true or false
Default value: true
event_viewer_show_toolbar Optional Show or hide the toolbar refresh button in the
_refresh Event Viewer.
Value: true or false
Default value: true
event_viewer_show_toolbar Optional Show or hide the toolbar freeze button in the Event
_freeze Viewer.
Value: true or false
Default value: true
event_viewer_show_toolbar Optional Show or hide filter and view controls on the
_filters_views toolbar in the Event Viewer.
Value: true or false
Default value: true
event_viewer_show_toolbar Optional Show or hide the event summary buttons on the
_summary toolbar in the Event Viewer.
Value: true or false
Default value: true
Example
This example modifies the user named user1, and defines the following
characteristics:
v The default filter shows all severities.
22 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
v The following AEL characteristics are modified:
– Refresh time is 90 seconds
– The minimum refresh is 70 seconds
– The user can access the AEL Preferences window
– The user cannot force a refresh of the AEL
– The user can set their own preferences
– The AEL Information window includes the Details and Journal tabs
– The Alerts menu includes an option to open the Information window.
<methodCall>
<method methodName="user.modifyUser">
<user name="user1"
filter ="Severity>=0"
ael_user_properties_refresh_time="90"
ael_user_properties_minimum_refresh_time="70"
ael_user_properties_show_preferences ="true"
ael_user_properties_allow_custom_refresh = "false"
ael_user_properties_allow_select = "true"
ael_user_properties_show_details ="true"
ael_user_properties_show_info ="false"
ael_user_properties_show_journal = "true">
</user>
</method>
</methodCall>
Use this method to obtain a list containing the login user names of all users
defined in the Web GUI that have either the ncw_user or ncw_admin roles.
Example
<methodCall>
<method methodName="user.getList" />
</methodCall>
View requests
View requests operate on Web GUI views. There are functions to create, modify,
and delete views. In addition you can obtain a list of the views defined on the Web
GUI server. WAAPI provides five methods for working with views: creating views,
creating or replacing views, modifying views, deleting views, and getting a list of
views.
Create a view
The format of the <method> element for creating a view is:
<method methodName="view.create">
Use this method to create a new view for use on the AEL, Event Viewer, LEL,
Table View, and Event Dashboard. The <method> element contains one or more
<view> elements, each of which defines the characteristics of a new view. The
<view> element can contain up to one of each of the <columns>, <sorting>, and
<grouping> elements.
v “<view>” on page 24
v “<columns>” on page 24
<view>
The <view> element defines a view and has the following attributes:
Table 6. Attributes of the <view> element
Required or
Attribute name optional Description
viewName Required Provides a unique name for a view.
Value: String
Default value: None
datasource Optional The name of the data source that
provides events for the view. To specify
multiple data sources use a
comma-separated list.
Value: String
Default value: NCOMS
user Optional For user views, this attribute identifies
the users that the view is associated
with. The value of the attribute is a
comma-separated list of User IDs.
Value: List of User IDs
Default value: None
type Optional The type of view.
Value: global, system, group, or user
Default value: system
relationshipName Optional The name of an event relationship to
use with the view that is applied to the
Event Viewer. An event relationship
organizes the Event Viewer by the
relationships between them. For
example, by their root cause and
symptom.
Value: String
Default value: None
<columns>
The <columns> element is a child the <view> element and can occur once or not at
all. If present, the element contains any number of <visualEntry> elements.
24 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<visualEntry>
<sorting>
The <sorting> element is a child of the <view> element and can occur once or not
at all. If present, the element contains any number of <sortColumn> elements that
define the sorting order for events in the view.
The <sortColumn> element defines a field to use when sorting the list events in a
view. When there are multiple <sortColumn> the entries in the view are sorted in
the order that the <sortColumn> elements appear.
<grouping>
The <grouping> element is a child of the <view> element and can occur once or not
at all. If present, the element contains any number of <groupColumn> elements that
define how events are grouped in the Event Viewer when using this view.
<groupColumn
The <groupColumn> element defines a field to use when grouping the list events in
a view used by the Event Viewer. When there are multiple <groupColumn>
elements, the entries in the view are grouped in the order that the <groupColumn>
elements appear.
Notes:
v The WAAPI DTD allows any number of <groupColumn> elements. However, the
maximum number of levels of grouping that you can use is set by the
26 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
columngrouping.maximum.columns property in the Web GUI initialization file
(server.init). By default, the value of that property is 3 but the administrator
can set a different value.
If you specify more levels than are defined by this property, the server returns
an error.
v The columngrouping.allowedcolumns property in server.init defines the names
of the fields that you can use for grouping. The default value of that property is:
Acknowledged,AlertGroup,Class,Customer,Location,Node,NodeAlias,
NmosCauseType,NmosManagedStatus,Severity,Service
The administrator can change that value. If you specify a column that is not in
the list for that property, the server returns an error.
The following example creates a user view named SeveritySummary that has the
following characteristics:
v The view includes the following fields formatted as shown:
Table 10. Create user view example: Fields and their formatting
Field Field title Data justify Title justify Column width
Severity Sev Center Center 5
Acknowledged Ack Center Center 3
Node Node Left Left 12
AlertGroup Alert Group Left Left 10
Summary Summary Left Left 40
LastOccurrence Last Occurrence Left Left 14
v The columns for the Severity and Acknowledged columns are locked.
v The view uses the default data source.
v The view sorts entries in descending order of Severity.
v The view is available to the ncoadmin and tipadmin users.
v The view groups entries by Node
<methodCall>
<method methodName="createView">
<view viewName="SeveritySummary"
user="ncoadmin,tipadmin"
type="user">
<columns>
<visualEntry fieldName="Severity"
fieldTitle="Sev"
dataJustify="centre"
titleJustify="center"
columnWidth="5"
columnLocked="true" />
<visualEntry fieldname="Acknowledged"
fieldTitle="Ack"
datajustify="centre"
titleJustify="center"
columnWidth="3"
columnLocked="true" />
<visualEntry fieldName="Node"
fieldTitle="Node"
dataJustify="left"
titleJustify="left"
columnWidth="12" />
Use this to replace an existing view or to create a new one if it does not already
exist. The <method> element contains one or more <view> elements, each of which
defines the characteristics of a view. Each <view> element can contain up to one
<columns> element, up to one <sorting> element, and up to one <grouping>
element. If present, the <columns> element contains any number of <visualEntry>
elements and, if present, each <sorting> element contains any number of
<sortColumn> elements. If present, the <grouping> element can contain any number
of <groupColumn> elements.
For more information about the <view> element and its subelements, see “<view>”
on page 24.
28 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
columnWidth="12" />
<visualEntry fieldName="Summary"
fieldTitle="Summary"
dataJustify="left"
titleJustify="left"
columnWidth="40" />
<visualEntry fieldName="LastOccurrence"
fieldTitle="Last Occurrence"
dataJustify="left"
titleJustify="left"
columnWidth="14" />
</columns>
<sorting>
<sortColumn fieldName="LastOccurrence" order="desc" />
</sorting>
</view>
</method>
</methodCall>
Modify a view
The format of the <method> element for modifying a view is:
<method methodName="view.modifyView">
Use this method to modify the characteristics of an existing view. Include any or
all of the <columns>, <sorting>, and <grouping> elements, with their child
elements, as required. For example, to change the sorting method of the view,
include the <sorting> element with the <sortColumn> elements necessary to define
the sorting method.
For more information about the <view> element and its subelements, see “<view>”
on page 24.
Example
This example modifies the view named view1 and makes the following changes:
v The view includes two fields:
Node
Serial
v The view sorts entries on ascending order of the Severity field.
<methodCall>
<method methodName="view.modifyView">
<view viewName="view1">
<columns>
<visualEntry fieldName="Node"
fieldTitle="Node"
dataJustify="left"
titleJustify="left"
columnWidth="18" />
<visualEntry fieldName="Serial"
fieldTitle="Serial"
dataJustify="left"
titleJustify="left"
columnWidth="12" />
</columns>
<sorting>
<sortColumn fieldName="Severity" order="asc" />
</sorting>
</view>
</method>
</methodCall>
The <method> element contains one or more <view> elements each of which
identifies a view to delete. In the view element, include only the viewName
attribute.
For more information about the <view> element and its subelements, see “<view>”
on page 24.
Example
The method returns a list of the names of all views defined in the Web GUI. There
is a separate section in the listing for each type of view.
This method does not return the attributes of the lists, only the names.
Example
<methodCall>
<method methodName="view.getList">
</method>
</methodCall>
Map requests
Maps provide a visual means of viewing events and their locations. There are
functions to create, modify, and delete maps and map visuals. In addition, you can
obtain a list of the maps defined on the server. WAAPI provides five methods for
working with maps: Creating maps, creating or replacing maps, modifying maps,
deleting maps, and getting a list of maps. WAAPI provides four methods for
working with map visuals: Adding map visuals, adding or replacing map visuals,
modifying maps visuals, and deleting map visuals.
30 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Create a map
The format of the <method> element for creating a map is:
<method methodName="map.createMap">
Use this method to create a new map. The <method> element contains one or more
<map> elements each of which defines the characteristics of a new map. The <map>
element contains any number of the <text>, <button>, <monitor>, <line>, and
<icon> elements.
v “<map>”
v “<text>”
v “<button>” on page 34
v “<monitor>” on page 37
v “<icon>” on page 40
v “<line>” on page 43
v “Example” on page 46
<map>
The <map> element defines a map and has the following attributes:
Table 11. Attributes of the <map> element
Required or
Attribute name optional Description
name Required Provides a unique name for a map.
Value: String
Default value: None
bgImage Optional The path of an image to use as the
background for the map.
Value: String
Default value: None
bgColor Optional The name of a color to use as the
background for the map.
Value: String
Default value: None
h Optional The height of the map in pixels.
Value: Integer
Default value: None
w Optional The width of the map in pixels.
Value: Integer
Default value: None
<text>
The <text> element is a child of the <map> element and defines the characteristics
of a text label on a map. The element can occur any number of times and, if
present, has the following attributes:
32 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 12. Attributes of the <text> element (continued)
Required or
Attribute name optional Description
font Optional The name of the font to use for the
label.
Value: String
Default value: None
size Optional The point size of the font to use for the
label.
Value: Integer
Default value: None
justify Optional Defines alignment of the text in the
label.
Value: center, left, or right
Default value: None
style Optional The text style (for example, bold) for
the label.
Value: String
Default value: None
color Optional The name of the color to use for the
text.
Value: String
Default value: None
action Optional The action that takes place when the
user clicks on the text label.
Value: String. Possible values for
opening event lists are as follows:
v "Open URL" or "go" to open a URL.
The URL is specified by the url
attribute.
v "Active Event List (AEL)" or "ael"
to open an Active Event List.
v "Lightweight Event List (LEL)" to
open a Lightweight Event List.
v "Event Table (Table View)" to open
a Table View.
v "Event Viewer" to open an Event
Viewer.
v "Update Event List (using wires)"
to send a NodeClickedOn event
using Dashboard Application Services
Hub wires. For this option, ensure
that a system or custom wire to an
Event Viewer or AEL is configured.
Default value: None
url Optional The uniform resource locator that is the
action target for the text label.
Value: String
Default value: None
<button>
The <button> element is a child of the <map> element and defines the characteristics
of a button on a map. The element can occur any number of times and, if present,
has the following attributes:
Table 13. Attributes of the <button> element
Required or
Attribute name optional Description
filter Optional Defines a filter to associate with the
button.
Value: String
Default value: None
filterType Optional The type of the filter defined in the
filter attribute.
Value: global or system
Default value: None
name Required The name of the button.
Value: String
Default value: None
label Optional The text to appear on the button.
Value: String
Default value: None
datasource Optional The name of the data source to
associate with the button. To specify
more than one data source, use a
comma-separated list.
Value: String
Default value: NCOMS
x Optional The horizontal position of the button in
pixels from the left of the map
Value: Integer
Default value: None
34 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 13. Attributes of the <button> element (continued)
Required or
Attribute name optional Description
y Optional The vertical position of the button in
pixels from the bottom of the map.
Value: Integer
Default value: None
translucency Optional The level of translucency for the button.
Value: Integer between 0 and 100
(inclusive).
Default value: None
show_shadow Optional Specifies whether the button appears on
the map with a shadow.
Value: true or false
Default value: false
font Optional The name of the font to use for the
button text.
Value: String
Default value: None
size Optional The point size of the font to use for the
button text.
Value: Integer
Default value: None
font_color Optional The name of the color to use for the
button text.
Value: String
Default value: None
style Optional The text style (for example, bold) for
the button text.
Value: String
Default value: None
color Optional The name of the color to use for the
button.
Value: String
Default value: None
36 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 13. Attributes of the <button> element (continued)
Required or
Attribute name optional Description
arc_diameter Optional The arc diameter of the button, in
degrees.
Value: Integer
Default value: None
transparent Optional Defines whether the button is
transparent.
Value: true or false
Default value: false
legend Optional The legend for the button.
Value: String
Default value: None
<monitor>
The <monitor> element is a child of the <map> element and defines the
characteristics of a monitor box on a map. The element can occur any number of
times and, if present, has the following attributes:
Table 14. Attributes of the <monitor> element
Required or
Attribute name optional Description
filter Optional Defines a filter to associate with the
monitor box.
Value: String
Default value: None
filterType Optional The type of the filter defined in the
filter attribute.
Value: global or system
Default value: None
name Required The name of the monitor box.
Value: String
Default value: None
label Optional The text to appear on the monitor box.
Value: String
Default value: None
datasource Optional The name of the data source to
associate with the monitor box. To
specify more than one data source, use
a comma-separated list.
Value: String
Default value: NCOMS
38 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 14. Attributes of the <monitor> element (continued)
Required or
Attribute name optional Description
action Optional The action that takes place when the
user clicks on the monitor box.
Value: String. Possible values for
opening event lists are as follows:
v "Open URL" or "go" to open a URL.
The URL is specified by the url
attribute.
v "Active Event List (AEL)" or "ael"
to open an Active Event List.
v "Lightweight Event List (LEL)" to
open a Lightweight Event List.
v "Event Table (Table View)" to open
a Table View.
v "Event Viewer" to open an Event
Viewer.
v "Update Event List (using wires)"
to send a NodeClickedOn event
using Dashboard Application Services
Hub wires. For this option, ensure
that a system or custom wire to an
Event Viewer or AEL is configured.
Default value: None
url Optional The uniform resource locator that is the
action target for the monitor box.
Value: String
Default value: None
target Optional The target window in the browser for
output from the value of the url
attribute. When the attribute is not
present, output replaces the content of
the current browser window.
Value: String
Default value: _blank
flash Optional Defines whether the button flashes.
Value: true or false
Default value: false
w Optional The width of the monitor box in pixels.
Value: Integer
Default value: None
h Optional The height of the monitor box in pixels.
Value: Integer
Default value: None
type Optional The type of monitor box, for example a
histogram.
Value: lavalamp or histogram
Default value: histogram
<icon>
The <icon> element is a child of the <map> element and defines the characteristics
of an icon on a map. The element can occur any number of times and, if present,
has the following attributes:
40 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 15. Attributes of the <icon> element
Required or
Attribute name optional Description
filter Optional Defines a filter to associate with the
icon.
Value: String
Default value: None
filterType Optional The type of the filter defined in the
filter attribute.
Value: global or system
Default value: None
name Required The name of the icon.
Value: String
Default value: None
label Optional The text to appear on the icon.
Value: String
Default value: None
datasource Optional The name of the data source to
associate with the icon. To specify more
than one data source, use a
comma-separated list.
Value: String
Default value: NCOMS
x Optional The horizontal position of the icon in
pixels from the left of the map
Value: Integer
Default value: None
y Optional The vertical position of the icon in
pixels from the bottom of the map.
Value: Integer
Default value: None
translucency Optional The level of translucency for the icon.
Value: Integer between 0 and 100
(inclusive).
Default value: None
show_shadow Optional Specifies whether the icon appears on
the map with a shadow.
Value: true or false
Default value: false
font Optional The name of the font to use for the icon
text.
Value: String
Default value: None
42 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 15. Attributes of the <icon> element (continued)
Required or
Attribute name optional Description
flash Optional Defines whether the icon flashes.
Value: true or false
Default value: false
w Optional The width of the icon in pixels.
Value: Integer
Default value: None
h Optional The height of the icon in pixels.
Value: Integer
Default value: None
arc_diameter Optional The arc diameter of the icon, in degrees.
Value: Integer
Default value: None
legend Optional The legend for the icon.
Value: String
Default value: None
image Optional The name of an image file to use for the
icon.
Value: String
Default value: None
entity_status_indicator Optional Defines the feedback property for the
icon.
Value: Highlight Bar, Fill Background,
or Glow Background.
Default value: None
<line>
The <line> is a child of the <map> element and defines the characteristics of a line
on a map. The element can occur any number of times and, if present, has the
following attributes:
Table 16. Attributes of the <line> element
Required or
Attribute name optional Description
filter Optional Defines a filter to associate with the
line.
Value: String
Default value: None
filterType Optional The type of the filter defined in the
filter attribute.
Value: global or system
Default value: None
44 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 16. Attributes of the <line> element (continued)
Required or
Attribute name optional Description
action Optional The action that takes place when the
user clicks on the line.
Value: String. Possible values for
opening event lists are as follows:
v "Open URL" or "go" to open a URL.
The URL is specified by the url
attribute.
v "Active Event List (AEL)" or "ael"
to open an Active Event List.
v "Lightweight Event List (LEL)" to
open a Lightweight Event List.
v "Event Table (Table View)" to open
a Table View.
v "Event Viewer" to open an Event
Viewer.
v "Update Event List (using wires)"
to send a NodeClickedOn event
using Dashboard Application Services
Hub wires. For this option, ensure
that a system or custom wire to an
Event Viewer or AEL is configured.
Default value: None
url Optional The uniform resource locator that is the
action target for the line.
Value: String
Default value: None
target Optional The target window in the browser for
output from the value of the url
attribute. When the attribute is not
present, output replaces the content of
the current browser window.
Value: String
Default value: _blank
flash Optional Defines whether the line flashes.
Value: true or false
Default value: false
thickness Optional The thickness of the line in pixels.
Value: Integer
Default value: None
x2 Optional The ending, horizontal position of the
line in pixels from the left of the map.
Value: Integer
Default value: None
Example
The following example creates a map named map1 that contains two text labels,
three buttons, and three monitor boxes.
<methodCall>
<method methodName="map.createMap">
<map name="map1">
<text name="map1" label="map1" x="547" y="30" font="Helvetica" size="22"
justify="center" style="bi" color="black" rotate="315" />
46 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
size="10" style="p" show_highest_severity_as_border="false" />
Use this method to replace an existing map or create one if it does not already
exist. The <method> element contains one or more <map> elements each of which
define the characteristics of a map. Each <map> element contains any number of the
<text>, <button>, <monitor>, <icon>, and <line> elements. For more information,
see “<map>” on page 31.
This example creates or replaces a map named map3 that has two monitor boxes
and a text label.
<methodCall>
<method methodName="map.createOrReplaceMap">
<map name="map3">
<text name="ael_instructions" label="Click Monitor Box for Tableview"
x="550" y="141" font="Helvetica" size="10" justify="center"
style="b" color="black" />
Delete a map
The format of the <method> element when deleting a map is:
<method methodName="map.deleteMap">
Use this method to delete an existing map. The <method> element contains one or
more <map> elements each of which identifies a map to delete. In the <map> element
include only the name attribute. For more information, see “<map>” on page 31.
The method returns a list of all the maps defined in the Web GUI.
<methodCall>
<method methodName="map.getList">
</method>
</methodCall>
Modify a map
The format of the <method> element when modifying a map is:
<method methodName="map.modifyMap">
Use this method to modify an existing map. The <method> element contains one or
more <map> elements each of which identifies the map and the characteristics to
change. Each <map> element contains any number of the <text>, <button>,
<monitor>, <icon>, and <line> elements. For more information, see “<map>” on
page 31.
Use this method to add one or more objects to an existing map. The <method>
element contains one or more <map> elements that identify maps to add new
objects to. Each <map> element contains any number of <text>, <button>,
<monitor>, <icon>, and <line> elements each of which define a new object to add
to the map. For more information, see “<map>” on page 31.
This example adds a text label and a monitor box to the map named map2.
<methodCall>
<method methodName="map.addMapVisual">
<map name="map2">
<text name="map2" label="map2" x="147" y="30" font="Helvetica" size="22"
justify="center" style="bi" color="black" />
48 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
url="" target="_blank" filter="ExampleLastDay" filtertype="system"
w="100" h="126" type="histogram" show_label="true" show_total="true"
show_highest="false" show_lowest="false" show_metric="true"
foreground_color="red" background_color="lightGray" font="Helvetica"
size="10" style="p" show_highest_severity_as_border="false" />
</map>
</method>
</methodCall>
Use this method to add a new object to a map, or replace the object if it already
exists. The <method> element contains one or more <map> elements whose contents
are to be modified. Each <map> element contains any number of <text>, <button>,
<monitor>, <icon>, and <line> elements each of which defines an object to add or
replace. in the <map> element include only the name attribute. For more information,
see “<map>” on page 31.
Use this method to remove one or more objects from a map. The <method> element
contains one or more <map> elements each of which identify a map to modify. Each
<map> element can contains one or more <text>, <button>, <monitor>, <icon>, or
<line> elements that identify the object to remove. In all of these elements, include
only the name attribute. For more information, see “<map>” on page 31.
This example removes a text label name visual_4 from a map named map1.
<methodCall>
<method methodName="map.deleteMapVisual">
<map name="map1">
<text name="visual_4" />
</map>
</method>
</methodCall>
Use this method to change the characteristics of an object on a map. The <method>
element contains one or more <map> elements that identify the maps to modify.
Each <map> element contains one or more <text>, <button>, <monitor>, <icon>, and
<line> elements which define the objects to modify. In the <map> element include
only the name attribute. For more information, see “<map>” on page 31.
This example makes the following changes to a text label named visual_1 on a
map named map1:
v Set the label to My Active Button
v Change the horizontal position of the button to 230 pixels
v Change the vertical position of the button to 188 pixels
<methodCall>
<method methodName="map.modifyMapVisual">
<map name="map1">
<button name="visual_1" label="My Active Button" x="230" y="188" />
</map>
</method>
</methodCall>
Resource requests
Resources are images that can appear on Web GUI maps. There are functions to
add and remove resources as well as obtain a list of the resources defined on the
Web GUI server. WAAPI provides four methods for working with map resources:
Adding resources, creating or replacing resources, removing resources, and getting
a list of resources.
Add a resource
The format of the <method> element for adding a resource is:
<method methodName="resource.addResource">
Use this method to add a resource to the system. The <method> element contains
one or more <resources> elements each of which defines a map to add the
resource to. The <resources> element contains one or more <resource> elements
each of which identifies a resource.
<resources>
The <resources> element defines a set of resources for a map and has the
following attribute:
Table 17. Attributes of the <resources> element
Required or
Attribute name optional Description
mapName Required The name of a map to add the resource
to.
Value: String
Default value: None
50 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<resource>
Example
Use this method to add a resource to a map, if the map does not contain the
resource, or to replace the existing instance of the resource on the map. The
<method> element contains any number of <resources> elements that identify the
maps to modify. For more information, see “<resources>” on page 50. Each
<resources> element contains one or more <resource> elements that each identify
the resources to add or replace. For more information, see “<resource>.”
Example
This example adds or replaces an image named ny.gif to a map named map1.
<methodCall>
<method methodName="resource.creatOrReplaceResource">
<resources mapName="map1">
<resource name="ny.gif" />
</resources>
</method>
</methodCall>
Use this method to remove a resource from a map. The <method> element contains
any number of <resources> elements that identify the maps to modify. For more
information, see “<resources>” on page 50. Each <resources> element contains one
or more <resource> elements that each identify the resources to add or replace. For
more information, see “<resource>” on page 51.
Example
This example removes the resource ny.gif from a map named map1.
<methodCall>
<method methodName="resource.removeResource">
<resources mapName="map1">
<resource name="ny.gif" />
</resources>
</method>
</methodCall>
This method returns a list of all the resources defined on the Web GUI server and
has no child elements. Each map has its own section in the listing.
Example
<methodCall>
<method methodName="resource.getList">
</method>
</methodCall>
File requests
File requests enable you to work on files and directories on the Web GUI server.
You can create and delete files and directories. WAAPI provides six methods for
working with files: Adding directories, adding files, creating or replacing files,
deleting files, removing directories, and recursively removing directories.
Add a directory
The format of the <method> element for adding a directory to the Web GUI server
is:
<method methodName="file.addDir">
Use this method to create a new directory on the Web GUI server. The <method>
element contains one or more <file> elements each of which defines a directory to
create on the system. In each <file> element include the dirName attribute to
define the directory to create.
v “<file>” on page 53
v “Example” on page 53
52 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<file>
The <file> element defines the characteristics of a file or directory to work with.
The element has the following attributes:
Table 19. Attributes of the <file> element
Required or
Attribute name optional Description
fileName Optional The name of a file to work with.
Value: String
Default value: None
dirName Optional The specification of a directory to work
with.
Value: String
Default value: None
toDir Optional The destination directory for a
command.
Value: String
Default value: None
fromDir Optional The source directory for a command.
Value: String
Default value: None
Example
Add a file
The format of the <method> element for adding a file to the Web GUI server is:
<method methodName="file.addFile">
Use this method to create a file on the Web GUI server. The <method> element
contains one or more <file> elements that each define the name and location of a
file to create. The content of the <file> element becomes the content of the new
file. For more information, see “<file>.”
Example
Use this method to replace an existing file with the same name or to create the file,
if it does not exist. The <method> element contains one or more <file> elements
each of which identifies a file to create or replace. The content of the <file>
element becomes the content of the new file. For more information, see “<file>” on
page 53.
Example
Delete a file
The format of the <method> element for deleting a file is:
<method methodName="file.deleteFile">
Use this method to delete a file from the Web GUI server. The <method> element
contains one or more <file> elements each of which defines the name and location
of a file to delete. For more information, see “<file>” on page 53.
Example
This example deletes the file hello.txt from the OMNIbusWebGUI.war directory.
<methodCall>
<method methodName="file.deleteFile">
<file fileName="hello.txt" fromDir="data">
</file>
</method>
</methodCall>
54 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Remove a directory
The format of the <method> element for removing a directory is:
<method methodName="deleteDir">
Use this method to remove a directory from the Web GUI server. The <method>
element contains one or more <file> elements each of which defines a directory to
remove. Each directory must be empty. For more information, see “<file>” on page
53.
Example
Use this method to remove a directory and all its contents. This method is useful
for deleting directory trees. The <method> element contains one or more <file>
elements each of which defines a directory to delete, along with all its contents.
For more information, see “<file>” on page 53.
Example
Menu requests
Menus provide users with access to Web GUI functions. There are functions to
create, modify, and delete menus. You can also get a list of all the menus on the
system. WAAPI provides five methods for working with menus: Creating a menu,
creating or replacing a menu, modifying a menu, deleting a menu, and getting a
list of menus.
Use this method to create a new menu that can contain tools, submenus, and
separators. The <method> element contains one or more <supermenu> elements. Each
<supermenu> element contains any number of <separator>, <menu>, and <tool>
elements that define the content of the menu.
v “<supermenu>”
– “<separator>”
– “<menu>”
– “<tool>” on page 57
v “Example” on page 57
<supermenu>
The <supermenu> element is the container for a menu and has the following
attributes:
Table 20. Attributes of the <supermenu> element
Required or
Attribute name optional Description
name Required Provides a unique name for a menu.
Value: String
Default value: None
label Optional The title of the menu as it appears in
the AEL.
Value: String
Default value: The value of the name
attribute.
mnemonic Optional A single character that allows the user
to select the menu using the Alt key.
Value: A single alphabetic character
Default value: None
<separator>
The <separator> element is a child of the <supermenu> element and defines the
location of a separator line in a menu and can occur any number of times. The
element has no content and no attributes.
<menu>
The <menu> element is a child of the <supermenu> element and defines the location
of a submenu. The element can occur any number of times and has the following
attributes:
56 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 21. Attributes of the <menu> element
Required or
Attribute name optional Description
name Required Provides a unique name for a menu.
Value: String
Default value: None
label Required The title of the menu as it appears in
the AEL.
Value: String
Default value: None.
mnemonic Optional A single character that allows the user
to select the menu using the Alt key.
Value: A single alphabetic character
Default value: None
<tool>
The <tool> element is a child of the <supermenu> element that defines a tool to
appear as an option on the menu. The element can appear any number of times
and has the following attributes:
Table 22. Attributes of the <tool> element
Required or
Attribute name optional Description
name Required Provides a unique name for a tool.
Value: String
Default value: None
label Required The title of the tool as it appears on the
menu in the AEL.
Value: String
Default value: None.
mnemonic Optional A single character that allows the user
to select the menu that holds the tool
using the Alt key.
Value: A single alphabetic character
Default value: None
shortcut Optional A single character that allows the user
to select the tool using the Ctrl key.
Value: A single alphabetic character
Default value: None
Example
This example creates empty menus named mentu1 and toolMenu1 that other
functions add items to.
<methodCall>
<method methodName="menu.createMenu">
<supermenu name="menu1" >
Use this method to create a new menu or replace an existing one that can contain
tools, submenus, and separators. The <method> element contains one or more
<supermenu> elements. Each <supermenu> element contains any number of
<separator>, <menu>, and <tool> elements that define the content of the menu. For
more information, see “<supermenu>” on page 56.
Example
This example creates or replaces a menu named toolMenu2 and adds two tools to
it.
<methodCall>
<method methodName="menu.createOrReplaceMenu">
<supermenu name="toolMenu2">
<tool shortcut="" label="Ping" name="Ping" mnemonic="" />
<tool shortcut="" label="commandTool1" name="commandTool1" mnemonic="" />
</supermenu>
<method>
</methodCall>
Delete a menu
The format of the <method> element for deleting a menu is:
<method methodName="menu.deleteMenu">
Use this method to delete an existing menu. The <method> element contains one or
more <supermenu> elements each of which identifies a menu to delete. In the
<supermenu> element include only the name attribute.
Example
58 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Get a list of menus
The format of the <method> element for getting a list of menus is:
<method methodName="menu.getList">
The method returns a list of all the menus defined in the Web GUI.
Example
<methodCall>
<method methodName="menu.getList">
</method>
</methodCall>
Modify a menu
The format of the <method> element for modifying a menu is:
<method methodName="menu.modifyMenu">
Use this method to modify an existing menu. The <method> element contains one
or more <supermenu> elements. Each <supermenu> element contains any number of
<separator>, <menu>, and <tool> elements that define the content of the menu.
Example
This example adds a menu and two tools to menu1 and then adds that menu,
together with further tools, to toolMenu2.
<methodCall>
<method methodName="menu.modifyMenu">
<supermenu name="toolMenu1">
<tool shortcut="" label="Ping" name="Ping" mnemonic="" />
<separator />
<menu name="menu1" label="menu1"/>
<separator />
<tool shortcut="" label="commandTool1" name="commandTool1" mnemonic="" />
</supermenu>
</method>
</methodCall>
Tool requests
Tools provide enhanced abilities for user to manage events in the AEL. There are
functions to create, modify, and delete menus. You can also get a list of all the tools
defined on the system. WAAPI provides five methods for working with tools:
Creating a tool, creating or replacing a tool, modifying a tool, deleting a tool, and
getting a list of tools.
<tool:tool>
The <tool:tool> element is the container for a tool and can occur any number of
times. The element has the following attributes:
Table 23. Attributes of the <tool:tool> element
Required or
Attribute name optional Description
name Required Provides a unique name for a tool.
Value: String
Default value: None
datasource Optional The data sources that a tool uses. To
specify more than one data source use a
comma-separated list.
Value: String
Default value: The default data source
<tool:access>
The <tool:access> element is a child of the <tool:tool> element and defines the
access criteria for a tool. The element has no attributes but contains the following
child elements in this order:
60 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
v <tool:osfield>
v <tool:security>
<tool:osfield>
The <tool:osfield> element contains the ObjectServer fields that a tool uses. The
element contains any number of <tool:criterion> elements. Fix Pack 3
Table 24. Attributes of the <tool:osfield> element
Required or
Attribute name optional Description
operator Optional Dictates how the criterion matching is
done. Operator=all means ALL of the
listed criterions must be matched for a
tool to be enabled. Operator=any means
ANY one of the listed criterions
matched is enough for a tool to be
enabled.
Value: any or all
Default value: all
<tool:criterion>
<tool:equals>
Fix Pack 3
<tool:notequals>
<tool:security>
The <tool:security> element defines the access criteria for an AEL tool. The tool
contains any number of <tool:criterion> elements that define the access criteria.
The element has no attributes. For more information about the <tool:criterion>
element, see “<tool:criterion>” on page 61.
<tool:sql>
The <tool:sql> element contains the SQL command and associated options for an
SQL AEL tool. The element is empty but has the following attributes:
62 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 28. Attributes of the <tool:sql> element
Required or
Attribute name optional Description
foreach Optional Defines whether a tool acts on each of
the selected rows in the AEL.
Value: true or false
Default value: false
command Required The SQL command for the tool.
Value: String
Default value: None
<tool:journal>
The <tool:journal> element contains the journal entry made when an AEL tool is
run. The element is empty but has the following attributes:
Table 29. Attributes of the <tool:journal> element
Required or
Attribute name optional Description
foreach Optional Defines whether a tool acts on each of
the selected rows in the AEL.
Value: true or false
Default value: false
entry Required The text for the journal entry.
Value: String
Default value: None
<tool:cgiurl>
The <tool:cgiurl> element defines a CGI/URL tool. The element contains the
<tool:fieldlist> element and has the following attributes:
Table 30. Attributes of the <tool:cgiurl> element
Required or
Attribute name optional Description
foreach Optional Defines whether a tool acts on each of
the selected rows in the AEL.
Value: true or false
Default value: false
windowforeach Optional Defines whether to display an output
window for each row when the tool is
run against the AEL.
Value: true or false
Default value: false
<tool:fieldlist>
<tool:field>
The <tool:field> element is a child of <tool:fieldlist> and defines the name of
an ObjectServer field to use in the tool. the element is empty but has the following
attribute:
Table 31. Attributes of the <tool:field> element
Required or
Attribute name optional Description
name Required The name of an ObjectServer field.
Value: String
Default value: None
<tool:cmdline>
The <tool:cmdline> element defines a command line tool. The element contains
one or more <tool:command> elements and has no attributes.
<tool:command>
64 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 32. Attributes of the <tool:command> element
Required or
Attribute name optional Description
enabled Optional Defines if the tool is enabled or
disabled. It operates in conjunction with
the platform attribute to determine if a
tool is available on a specific platform
Value: true or false
Default value: false
platform Required Identifies the platform that the tool
applies to. It operates in conjunction
with the enabled attribute to determine
if a tool is available on a specific
platform.
Value: Windows, Solaris, Linux, HPUX, or
AIX
Default value: None
executable Required The command that executes when the
tool is run.
Value: String
Default value: None
foreach Optional Defines whether a tool acts on each of
the selected rows in the AEL.
Value: true or false
Default value: false
<tool:script>
The <tool:script> element defines a script tool. The element is empty but has the
following attributes:
Table 33. Attributes of the <tool:script> element
Required or
Attribute name optional Description
foreach Optional Defines whether a tool acts on each of
the selected rows in the AEL.
Value: true or false
Default value: false
command Required The script for the tool.
Value: String
Default value: None
Usage notes
The <tool:journal> element is typically used in conjunction with other tools to
create journal entries recording what the tools have done. For example, you can
use the <tool:journal> element to record the action taken by a <tool:sql>
element.
66 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
executable="xterm -e /bin/sh -c ’/tmp/sample.sh {@Class} {@Node}; read a’"
/>
<tool:command foreach="true" enabled="false" platform="AIX"
executable="xterm -e /bin/sh -c ’/tmp/sample.sh {@Class} {@Node}; read a’"
/>
</tool:cmdline>
</tool:tool>
</method>
</methodCall>
Script tool
Use this method to create a new tool or replace an existing tool. The <method>
element contains one or more <tool:tool> elements. Each <tool:tool> element
contains a <tool:access> element followed by any number of one of the following
elements:
v <tool:sql>
v <tool:journal>
v <tool:cgiurl>
v <tool:cmdline>
v <tool:script>
Each of those elements defines a particular tool. For more information, see
“<tool:tool>” on page 60.
Example
This example creates or replaces a tool named cmdSample.
<methodCall xmlns:tool="http://www.ibm.com/tivoli/netcool/webtop/tools/2.1">
<method methodName="tool.createOrReplaceTool">
<!-- Create or replace a tool called cmdSample. -->
<tool:tool name="cmdSample">
Delete a tool
The format of the <method> element when deleting a tool is:
<method methodName="tool.deleteTool">
Use this method to delete an existing tool. The <method> element contains one or
more <tool:tool> elements each of which identifies a tool to delete. In the
<tool:tool> element include only the name attribute.
Example
The following example deletes the tools named sqlSample1, sqlSample2, cgiSample,
cmdSample, scriptSample, and scriptSample2.
<methodCall xmlns:tool="http://www.ibm.com/tivoli/netcool/webtop/tools/2.1">
The method returns a list of all the tools defined in the Web GUI.
Example
<methodCall xmlns:tool="http://www.ibm.com/tivoli/netcool/webtop/tools/2.1">
68 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Modify a tool
The format of the <method> element for modifying a tool is:
<method methodName="modifyTool">
Use this method to modify an existing tool. The <method> element contains one or
more <tool:tool> elements. Each <tool:tool> element contains a <tool:access>
element followed by any number of one of the following elements:
v <tool:sql>
v <tool:journal>
v <tool:cgiurl>
v <tool:cmdline>
v <tool:script>
Example
<tool:tool name="cgiSample">
<tool:access>
<tool:osfield>
<tool:criterion name="Class">
<tool:equals value="7500"/>
</tool:criterion>
</tool:osfield>
<tool:security/>
</tool:access>
<tool:cgiurl foreach="true" windowforeach="true" target="_blank"
method="GET" url="$(SERVER)/cgi-bin/sample.cgi">
<tool:fieldlist>
<tool:field name="Class"/>
<tool:field name="Node"/>
</tool:fieldlist>
</tool:cgiurl>
</tool:tool>
</method>
</methodCall>
The WAAPI prompts file contains several example prompts and is located in
webgui-home/waapi/etc/samples/samplerequest_prompt.xml.
Use this method to create a new prompt or replace an existing one. The <method>
elements contains one or more <prompt:prompt> elements each of which defines the
characteristics of a new prompt. The <prompt:prompt> element contains an optional
<prompt:parameters> element followed by an optional <prompt:choice> element.
For more information, see“<prompt:prompt>”, and for more information about
how to use the <prompt:prompt> element and its subelements, see “Usage notes”
on page 72.
v “<prompt:prompt>”
v “<prompt:parameters>” on page 71
v “<prompt:additionalParams>” on page 71
v “<prompt:param>” on page 72
v “<prompt:choice>” on page 72
v “<prompt:item>” on page 72
v “Usage notes” on page 72
v “Examples: Creating prompts” on page 75
v “Example: Replacing a prompt” on page 76
<prompt:prompt>
The <prompt:prompt> element defines a prompt and has the following attributes:
Table 34. Attributes of the <prompt:prompt> element
Required or
Attribute name optional Description
name Required Provides a unique name for a prompt.
Value: String
Default value: None
type Required The type of prompt.
Value: One of the following values:
String, Integer, Float, Password, Time,
Lookup, FixedChoice, DynamicChoice,
MultiLlineString, FormattedString,
RealTimeDynamicChoice
Default value: None
70 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<prompt:parameters>
<prompt:additionalParams>
<prompt:choice>
The <prompt:choice> element is a child of <prompt:prompt> and defines the choices
for a menu in a fixed-choice prompt. It has no attributes but contains one or more
<prompt:item> entries, each defining a choice on the menu.
<prompt:item>
Usage notes
The following notes show how to use the child elements of <prompt:prompt> for
each type of prompt.
String
72 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
the localized indicator, and the default value. Omit all other child elements.
Integer
Float
Password
Time
Lookup
Fixed choice
Dynamic choice
Multiline string
Formatted string
Include a single <prompt:parameters> element that contains the string of the
prompt to display, its order in relation to other prompts, an error message, the
localized indicator, and the default value. In addition, supply a
<prompt:additonalParams> element containing a single <prompt:param> item with
the following values for its attributes:
Table 40. Values for the <prompt:param> element in a formatted string prompt
Attribute Value
name format
value A regular expression that the string the user enters must match. For
example:
^[a-zA-Z]{3}\d{3}$
74 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
The real-time dynamic choice prompt creates a scrollable list containing the results
of the ObjectServer query generated when the tool executes. This prompt is meant
to be used for data from an ObjectServer table that is frequently changeable. As
this prompt type is executed in real time, use it sparingly to reduce the load on the
Web GUI server.
<!-- Multiline String prompt - useful for forced Journal entry -->
<prompt:prompt type="MultilineString" name="testMultilineString">
<prompt:parameters label="Type in a journal entry" order="0"
errorMessage="Journal entry cannot be empty" localized="false"
defaultValue="Journal entry"/>
</prompt:prompt>
76 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Delete a prompt
The format of the <method> element for deleting a prompt is:
<method methodName="prompt.deletePrompt">
Use this method to delete an existing prompt. The <method> element contains one
or more <prompt:prompt> elements each of which identifies a prompt to delete. In
the <prompt:prompt> element include only the name attribute.
Example
Use this method to obtain a list containing the names of the defined prompts.
Example
<methodCall xmlns:prompt="http://www.ibm.com/tivoli/netcool/webtop/prompts/2.2">
Modify a prompt
The format of the <method> element for modifying a prompt is:
<method methodName="prompt.modifyPrompt">
Use this method to modify an existing prompt. The <method> elements contains
one or more <prompt:prompt> elements each of which defines the characteristics of
a new prompt. The <prompt:prompt> element contains an optional
<prompt:parameters> element followed by an optional <prompt:choice> element.
For more information, see “<prompt:prompt>” on page 70, and for more
information about how to use the <prompt:prompt> element and its subelements,
see “Usage notes” on page 72.
Example
CGI requests
CGI requests operate on CGI scripts used as tools in the Web GUI. There are
functions to register, modify, and unregister a script. WAAPI provides four
methods for working with CGI scripts: Registering a CGI script, creating or
replacing a CGI script, modifying a CGI script, and unregistering a CGI script.
Use this method to register a CGI script with the Web GUI server. The <method>
element contains one or more <cgi> elements each defining a script to register.
v “<cgi>”
v “Example”
<cgi>
The <cgi> element defines the characteristics of a CGI script and has the following
attributes:
Table 42. Attributes of the <cgi> element
Required or
Attribute name optional Description
name Required Provides a unique name for a CGI
script.
Value: String
Default value: None
useSmartPageCommands Optional Defines whether to use SmartPage
commands when running the script.
Value: true or false
Default value: false
fileName Optional The path name of the file that contains
the script.
Value: String
Default value: If this attribute is
omitted, the content of the <cgi>
element contains the script.
Example
78 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
fileName="/home/nco_myping.cgi">
</cgi>
</method>
</methodCall>
Use this method to register a new CGI script with the Web GUI server or replacing
the existing definition if it already exists. The <method> element contains one or
more <cgi> elements each defining a script to register. For more information, see
“<cgi>” on page 78.
Use this method to modify a previously registered CGI script. The <method>
element contains one or more <cgi> elements each modifying the characteristics of
a CGI script. For more information, see “<cgi>” on page 78.
Example
This example changes the value of the useSmarypage attribute for the script named
myping.
<methodCall>
<method methodName="cgi.modifyCGI">
<cgi name="myping" acl="example" useSmartPageCommands="false" >
</cgi>
</method>
</methodCall>
Use this method to unregister a previously registered CGI script. The <method>
element contains one or more <cgi> elements each identifying a CGI script to
unregister. In the <cgi> element, include only the name attribute.
Example
Filter requests
Filter requests operate on filters used to display events in the Active Event List
(AEL), the Event Viewer, Lightweight Event List (LEL), Table View, and on monitor
boxes in the Event Dashboard. There are functions to create, modify, remove, and
list filters. you can also set the default view. WAAPI provides six methods for
operating on filters: adding a filter, creating or replacing a filter, modifying a filter,
deleting a filter, getting a list of filters, and setting the default view for a filter.
Add a filter
The format of the <method> element for adding a filter is:
<method methodCall="filter.addFilter">
Use this method to define a new filter for use on the AEL, Event Viewer, LEL,
Table View, and the Event Dashboard. The <method> element contains one or more
<filter> elements, each of which defines the characteristics of a new filter.
For a dependent filter, the <filter> element contains one or more instances of the
<dependentlist> element.
v “<filter>”
v “<dependentlist>” on page 82
v “Rules for dependent filters” on page 82
v “Example: Event filter” on page 83
v “Example: Group filter” on page 83
v “Example: Dependent filter” on page 84
<filter>
The <filter> element defines the characteristics of a filter and has the following
attributes:
Table 43. Attributes of the <filter> element
Required or
Attribute name optional Description
name Required Provides a unique name for a filter.
Value: String
Default value: None
user Optional For user filters, this attribute identifies
the users that the filter is associated
with. The value of the attribute is a
comma-separated list of User IDs.
Value: List of User IDs
Default value: None
80 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 43. Attributes of the <filter> element (continued)
Required or
Attribute name optional Description
group Optional For group filters, this attribute identifies
the groups that the filter is associated
with. The value of the attribute is a
comma-separated list of Group IDs.
Value: List of Group IDs
Default value: None
sql Optional The value of the SQL WHERE clause
that defines the fields to use and their
values when filtering events.
Value: A SQL WHERE clause
Default value: None
mode Optional Defines whether the filter is a
dependent filter. Include this attribute
for dependent filters only.
Value: dependent
Default value: None
description Optional Defines a textual description of the
filter.
Value: String
Default value: None
filtercollection Optional Specifies the name of a filter collection
that the filter is a member of.
Value: String
Default value: None
type Optional Identifies the type of the filter.
Value: global, system, user, or group
Default value: System
view Optional Identifies the view associated with the
filter.
Value: String
Default value: None
viewtype Optional Identifies the type of view.
Value: global, system, or user
Default value: System
datasource Optional Identifies the data source that supplies
events for filtering. To specify more
than one data source use a
comma-separated list. This attribute is
required when adding a filter.
Value: String
Default value: None
<dependentlist>
The <dependentlist> element identifies the list of filters that a dependent filter
uses and has the following attributes.
Table 44. Attributes of the <dependentList> element
Required or
Attribute name optional Description
type Required Identifies the type of filters in this list
of dependent filters.
Value: global, system, group, or user
Default value: None
list Required Defines the filters associated with a
dependent filter. The attribute's value
contains a comma-separated list of one
or more filter names.
Value: List of filter names
Default value: None
Each type of dependent filter, as determined by the value of the type attribute in
the <dependentList> element, can depend on certain types of filter only:
82 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 45. Rules for the types of filter that a dependent filter can depend on
Type of
dependent filter Rules
Global A global or system dependent filter:
System v Can depend on system and global filters
v Cannot depend on any user filter
User A user dependent filter:
v Can depend on global and system filters
v Can depend on other user filters for the same user
Group A group dependent filter:
v Can depend on global and system filters
v Can depend on other group filters for the same user group
v Cannot depend on any user filter
This example adds a filter named exampleFilter1 that has the following
characteristics:
v The SQL WHERE clause is Severity>=0
v The metric label is Metric:
v The name of the view associated with the filter is advanced
v The filter is a global filter
v The name of the data source is NCOMS
<methodCall>
<method methodName="filter.addFilter">
<filter name="exampleFilter1"
sql="Severity >=0"
metriclabel="Metric : "
view="advanced"
type="global"
datasource="NCOMS"
/>
</method>
</methodCall>
This example adds a group filter named exampleGroupFilter that has the following
characteristics:
v The SQL WHERE clause is Severity>=0
v The metric label is Metric:
v The name of the view associated with the filter is advanced and that is a global
view
v The filter is available to users in the groups Netcool_OMNIbus_Admin and
Netcool_OMNIbus_User
v The name of the data source is NCOMS
<methodCall>
<method methodName="filter.addFilter">
<filter name="exampleGroupFilter"
sql="Severity >=0"
metriclabel="Metric : "
view="advanced"
Use this method to create a new filter or replace one that already exists. The
<method> element contains one or more <filter> elements each of which defines
the characteristics of a filter. For more information, see “<filter>” on page 80.
For a dependent filter, the <filter> element contains one or more instances of the
<dependentlist> element. For more information, see “<dependentlist>” on page 82.
This example creates or replaces a filter named exampleFilter2 that has the
following characteristics:
v The SQL WHERE clause is Severity>=1
v The metric label is My Metric:
v The name of the view associated with the filter is advanced
v The filter is a global filter
v The name of the data source is NCOMS
<methodCall>
<method methodName="filter.createOrReplaceFilter">
<filter name="exampleFilter2"
sql="Severity >=1"
metriclabel="My Metric : "
view="advanced"
type="global"
84 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
datasource="NCOMS"
/>
</method>
</methodCall>
Delete a filter
The format of the <method> element for deleting a filter is:
<method methodName="filter.deleteFilter">
Use this method to delete an existing filter. The <method> element contains one or
more <filter> elements, each of which identifies a filter to delete. In the <filter>
element, include the name and type attributes. In addition, for user filters, include
the user attribute to define the users from whom the filter is to be removed.
Similarly for group filters, use the group attribute to define the groups from which
the filter is to be removed. For more information, see “<filter>” on page 80.
Example
This example deletes the global filters name exampleFilter1, exampleFilter3, the
user filter named exampleFilter2, and the global, dependent filters named
dependentFilter1 and dependentFilter2. The user filter is removed from the User
IDs webtopadminuser and root.
<methodCall>
<method methodName="filter.deleteFilter">
<filter name="exampleFilter1" type="global"/>
<filter name="exampleFilter2" type="user" user="webtopadminuser,root"/>
<filter name="exampleFilter3" type="global"/>
<filter name="dependentFilter1" type="global"/>
<filter name="dependentFilter2" type="global"/>
</method>
</methodCall>
Use this method to obtain a list containing the names of the defined filters. The list
contains a separate section for each type of filter (global, system, user, and group).
This method does not return the attributes of the filters, only the names.
Example
<methodCall>
<method methodName="filter.getList" />
</methodCall>
Use this method to modify the characteristics of an existing filter. The <method>
element contains one or more <filter> elements each of which defines the new
characteristics of an existing filter. Include only attributes of the <filter> that
correspond to the characteristics you want to change. When you omit an attribute
the corresponding characteristic is unchanged. For more information, see “<filter>”
on page 80.
For a dependent filter, the <filter> element contains one or more instances of the
<dependentlist> element. For more information, see “<dependentlist>” on page 82.
Example
This example modifies the filter named exampleFilter1 and makes the following
changes to the filter's characteristics:
v The SQL WHERE clause becomes lastOccurrence >= getdate-1800
v The metric label becomes MyMetric:
Use this method to determine the default view associated with a filter. The
<method> element contains one or more <filter> elements each of which identifies
a filter to associate a default view with. In the <filter> element, include the name
to identify the filter and the view and viewtype attributes to identify default view
for the filter. For more information, see “<filter>” on page 80.
Example
This example associates the global view named Default with the filter named
exampleFilter1:
86 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
<methodCall>
<method methodName="filter.setDefaultView">
<filter name="exampleFilter1" view="Default" viewtype="global"/>
</method>
</methodCall>
WAAPI provides eight methods for operating on filter collections: creating a filter
collection, creating or replacing a filter collection, modifying a filter collection,
deleting a filter collection, adding a filter to a filter collection, deleting a filter from
a filter collection, getting a list of filter collections, and setting the view for a filter
collection.
Use this method to define a new collection of filters. The <method> element
contains one or more <filterCollection> elements each of which defines the
characteristics of a new collection. Each of these elements contains one or more
<filter> elements that identify filters to be part of the collection. You can specify
only system and global filters that already exist in the system. The <filter>
elements contain use only the name and type attributes to identify the filter. For
more information, see “<filter>” on page 80.
v “<filterCollection>”
v “Example” on page 88
<filterCollection>
Example
The following example creates a filter collection named testcollection that
contains two filters named Example_Critical and AllEvents.
<methodCall>
<method methodName="filtercollection.createFilterCollection">
<filterCollection name="testcollection" viewName="Default"
viewType="global" description="A collection of filters for testing">
<filter name="Example_Critical" type="system"/>
<filter name="AllEvents" type="global"/>
</filterCollection>
</method>
</methodCall>
Use this method to add a filter to an existing collection of filters. The <method>
element contains one or more <filterCollection> elements each of which
identifies a collection. For more information, see “<filterCollection>” on page 87.
Each of these elements contains one or more <filter> elements that identify filters
to add to the collection. You can specify only system and global filters that already
exist in the system. The <filter> elements contain use only the name and type
attributes to identify the filter. For more information, see “<filter>” on page 80.
Example
The following example adds filters named Last10Mins and Information to the
collection named testcollection2.
<methodCall>
<method methodName="filtercollection.addFilter">
<filterCollection name="testcollection2">
<filter name="Last10Mins" type="global"/>
<filter name="Information" type="global"/>
</filterCollection>
</method>
</methodCall>
88 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Create or replace a filter collection
The format of the <method> element for creating or replacing a filter collection is:
<method methodCall="filtercollection.createOrReplaceFilterCollection">
Use this method to define a new collection of filters or replace one that already
exists. The <method> element contains one or more <filterCollection> elements
each of which defines the characteristics of a collection. For more information, see
“<filterCollection>” on page 87. Each of these elements contains one or more
<filter> elements that identify filters to be part of the collection. You can specify
only system and global filters that already exist in the system. The <filter>
elements contain use only the name and type attributes to identify the filter. For
more information, see “<filter>” on page 80.
Example
Use this method to delete an existing collection of filters. The <method> element
contains one or more <filterCollection> elements each of which identifies a
collection to delete. In the <filterCollection> element include only the name
attribute. For more information, see “<filterCollection>” on page 87.
Example
Use this method to delete a filter to an existing collection of filters. The <method>
element contains one or more <filterCollection> elements each of which
identifies a collection. For more information, see “<filterCollection>” on page 87.
Each of these elements contains one or more <filter> elements that identify filters
to delete from the collection. The <filter> elements contain use only the name and
type attributes to identify the filters. For more information, see “<filter>” on page
80.
The following example removes the filter named Information from the collection
named testcollection2
<methodCall>
<method methodName="filtercollection.deleteFilter">
<filterCollection name="testcollection2">
<filter name="Information" type="global"/>
</filterCollection>
</method>
</methodCall>
Example
<methodCall>
<method methodName="filtercollection.getList />
</methodCall>
Example
90 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Set the view for a filter collection
The format of the <method> element for setting the default view of a collection is:
<method methodName="filtercollection.setView">
Use this method to set the view associated with a filter. The <method> element
contains one or more <filterCollection> elements each of which identifies a
collection to associate a default view with. In the <filterCollection> element,
include the name to identify the filter and the viewName and viewType attributes to
identify the view for the filter. For more information, see “<filterCollection>” on
page 87.
Example
The following example sets the view for the filter collection named
testcollection2.
<methodCall>
<method methodName="filtercollection.setView">
<filterCollection name="testcollection2" viewName="DefaultTable"
viewType="global"/>
</method>
</methodCall>
Metric requests
Metric requests operate on performance metrics that the Web GUI displays in the
form of gauges. There are functions to create, modify, replace, and delete metrics.
You can also obtain a list of the currently defined metrics. WAAPI provides five
methods for working on metrics: Creating a metric, creating or replacing a metric,
modifying a metric, deleting a metric, and getting a list of metrics.
Create a metric
The format of the <method> element for creating a metric is:
<method methodName="metric.create">
Use this method to define a new metric for use on a gauge. The <method> element
contains one or more <metric:metric> elements each defining the characteristics of
a new metric.
<metric:metric>
The <metric:metric> element defines the characteristics of a metric and has the
following attributes:
92 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 47. Attributes of the <metric:metric> element (continued)
Required or
Attribute name optional Description
maxValue Optional Defines the maximum value that the
metric can have, expressed in terms of
the metric's units.
Value: Integer
Default value: None
minValue Optional Defines the minimum value that the
metric can have, expressed in terms of
the metric's units.
Value: Integer
Default value: None
threshold1 Optional Defines the threshold between the low
and medium ranges of the metric. The
attribute defines the threshold as a
percentage of the metrics value range
and its value must be lower than
threshold2.
Value: Integer
Default value: None
threshold2 Optional Defines the threshold between the
medium and high ranges of the metric.
The attribute defines the threshold as a
percentage of the metric's value range
and its value must be higher than
threshold1.
Value: Integer
Default value: None
<metric:command>
The <metric:command> element defines the command that generates values for the
metric. Typically this is a SQL command that queries the ObjectServer database.
The element can have the following attribute:
Table 48. Attributes of the <metric:command> element
Required or
Attribute name optional Description
type Optional Defines the type of command that
generates values for the metric.
Currently the only valid value for this
attribute is sql.
Value: String
Default value: sql
<metric:text>
The <metric:text> element contains the command that generates values for the
metric. The element has the following attribute:
Table 49. Attributes of the <metric:text> element
Required or
Attribute name optional Description
data See Description Contains the text of the command used
to generate values for the metric. This
attribute is required when the mode
attribute of the <metric:command>
element is omitted or has a value of
advanced.
Value: String
Default value: None
selectField See Description Contains the table field or an aggregate
function of the SELECT clause of the
command used to generate values for
the metric. This attribute is required
when the mode attribute of the
<metric:command> element has a value
of basic.
Value: String
Default value: None
whereClause See Description Contains the WHERE clause of the
command used to generate values for
the metric. This attribute is required
when the mode attribute of the
<metric:command> element has a value
of basic.
Value: String
Default value: None
94 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 49. Attributes of the <metric:text> element (continued)
Required or
Attribute name optional Description
databaseName See Description Contains the database name clause of
the command used to generate values
for the metric. This attribute is required
when the mode attribute of the
<metric:command> element has a value
of basic.
Value: String
Default value: None
tableName See Description Contains the table name clause of the
command used to generate values for
the metric. This attribute is required
when the mode attribute of the
<metric:command> element has a value
of basic.
Value: String
Default value: None
Examples
The following example creates a metric named metricsample1 in advanced mode.
The metric measures the number of critical events outstanding and has the
following characteristics:
v A minimum value of 0 and a maximum of 10000
v A low to medium threshold of 30%
v A medium to high threshold of 70%
<methodCall xmlns:metric="http://www.ibm.com/tivoli/netcool/webtop/metrics/7.4.0">
<method methodName="metric.createMetric">
<metric:metric name="metricsample1"
displayName="MetricSample1"
description="Critical events. Current value: {0}"
units="events"
maxValue="10000"
minValue="0"
threshold1="30"
threshold2="70">
<metric:command type="sql">
<metric:text data="select sum(Tally) from alerts.status where Severity=5;"/>
</metric:command>
</metric:metric>
</method>
</methodCall>
The following example creates a similar metric in basic mode. So any restriction
filters that are active when the user accesses the metric are applied.
<methodCall>
<method methodName="metric.createMetric">
<metric:metric name="metricsample1"
displayName="MetricSample1"
description="Critical events. Current value {0}"
units="events"
maxValue="10000"
minValue="0"
threshold1="30"
Use this method to replace an existing metric or create a new one if it does not
already exist. The <method> element contains one or more <metric:metric>
elements each of which defines the characteristics of a new metric. Each
<metric:metric> element contains a <metric:command> element which, in turn,
contains a <metric:text> element. For more information, see the following
descriptions of these elements:
v “<metric:metric>” on page 91
v “<metric:command>” on page 93
v “<metric:text>” on page 94
Example
To create or replace a metric in basic mode, use the same format of the
<metric:command> and <metric:text> elements shown in the example of creating a
metric in basic mode.
96 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Delete a metric
The format of the <method> element for deleting a metric is:
<method methodName="metric.deleteMetric">
Use this method to delete an existing metric. The <method> element contains one or
more <metric:metric> elements each of which identifies a metric to delete. In the
<metric:metric> element include only the name attribute. For more information, see
“<metric:metric>” on page 91.
Example
Use this method to obtain a list containing the names of the defined metrics.
Example
<methodCall xmlns:metric="http://www.ibm.com/tivoli/netcool/webtop/metrics/7.4.0">
<method methodName="metric.getList" />
</methodCall>
Modify a metric
The format of the <method> element for modifying a metric is:
<method methodName="metric.modifyMetric">
Use this method to modify the characteristics of an existing metric. The <method>
element contains one or more <metric:metric> elements each of which defines the
new characteristics of an existing metric. Include only attributes of the
<metric:metric> that correspond to the characteristics you want to change. When
you omit an attribute the corresponding characteristic is unchanged.
Example
This example modifies the metric named metricsample1 and makes the following
changes to the metric's characteristics:
v The text of the description is enhanced
v The maximum value changes from 10000 to 250
To modify a metric in basic mode, use the same format of the <metric:command>
and <metric:text> elements shown in the example of creating a metric in basic
mode.
Relationship requests
Relationship requests operate on event relationships that can enhance the display
of events in the Event Viewer. There are functions to create, modify, replace and
delete relationships. You can also obtain a list of the currently defined
relationships. WAAPI provides five methods for working on relationships: Creating
a relationship, creating or replacing a relationship, modifying a relationship,
deleting a relationship, and getting a list of relationships.
Create a relationship
The format of the <method> element for creating a relationship is:
<method methodName="relationship.createRelationship">
Use this method to create a new relationship for use in the Event Viewer. The
<method> element contains one or more <relationship:relationship> elements,
each defining the characteristics of a new relationship.
<relationship:relationship>
98 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 50. Attributes of the <relationship:relationship> element
Required or
Attribute name optional Description
name Required Provides a unique name for a
relationship.
Value: String
Default value: None
description Optional Defines a textual description of the
relationship. This appears in the
Relationship Editor in the Web GUI.
Value: String
Default value: None
descriptionKey Optional A key for the description attribute that
uniquely identifies it among all defined
relationships. Omit this attribute to
allow the system to automatically
generate a unique key for you.
Value: String
Default value: A system-generated
value.
displayName Required The name of the metric as it appears in
the Relationship Editor.
Value: String
Default value: None
displayNameKey Optional A key for the displayName attribute that
uniquely identifies it among all defined
relationships. You can omit this
attribute to allow the system to
automatically generate a unique key for
you. However, including this attribute
helps to implement globalization of
your application, where this value
identifies the localized version of the
display name in various languages.
Value: String
Default value: A system-generated
value
dataSources Optional The name of the data source that
provides events to be grouped
according to this relationship. To
specify more than one data source, use
a comma-separated list.
Value: String
Default value: None
<relationship:relationshipColumn>
The <relationship:relationshipColumn> element defines two ObjectServer
columns that make up an event relationship and has the following attributes:
Table 52. Attributes of the <relationship:relationshipColumn> element
Required or
Attribute name optional Description
column Required Defines the column that defines the
relationship.
Value: String
Default value: None
keyColumn Required Defines the name of the column that is
the key for the column defined in the
column attribute.
Value: String
Default value: None
Example
v This example adds a relationship named SummaryRelationship1 that has the
following characteristics:
– Uses the column named NmosSerial
– Is keyed off the Summary column
<methodCall xmlns:relationship="http://www.ibm.com/tivoli/netcool/
webtop/relationships/8.1">
<method methodName="relationship.createRelationship">
<relationship:relationship name="SummaryRelationship1"
displayName="RelationshipSample1"
description="An example relationship created with WAAPI.">
<relationship:definition type="relationshipColumn">
<relationship:relationshipColumn column="NmosSerial" keyColumn="Summary"/>
</relationship:definition>
</relationship:relationship>
</method>
</methodCall>
100 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Create or replace a relationship
The format of the <method> element for creating or replacing a relationship is:
<method methodName="relationship.createOrReplaceRelationship">
Use this method to replace an existing relationship or to create a new one if it does
not already exist. The <method> element contains one or more
<relationship:relationship> elements, each of which defines the characteristics of
a relationship. Each <relationship:relationship> contains one
<relationship:definition> element which in turn contains a
<relationship:relationshipColumn> element. For more information about the
<relationship:relationship> element and its subelements, see
“<relationship:relationship>” on page 98.
Delete a relationship
The format of the <method> element for deleting a relationship is:
<method methodName="relationship.deleteRelationship">
Use this method to delete an existing relationship. The <method> element contains
one or more <relationship:relationship> elements, each of which identifies a
relationship to delete. In the <relationship:relationship> element, include only
the name attribute. For more information about the <relationship:relationship>
element and its subelements, see “<relationship:relationship>” on page 98.
Use this method to obtain a list containing the names of the defined relationships.
<methodCall xmlns:relationship="http://www.ibm.com/tivoli/netcool/
webtop/relationships/8.1">
<method methodName="relationship.getList" />
</methodCall>
Modify a relationship
The format of the <method> element for modifying a relationship is:
<method methodName="relationship.modifyRelationship">
Other requests
There are miscellaneous functions to resynchronize the Web GUI cache, to remove
a node from a cluster, to generate a status report, and to reload the server's filters
and views.
102 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Generate a system status report
The format of the <method> element for generating a system status report is:
<method methodName="webtopprobe.generateReport">
Use this method to generate a status report for the Web GUI. The generated report
contains the same information as the Troubleshooting and support > System
Information for Tivoli Netcool/OMNIbus Web GUI function of the Web GUI
generates and contains the following sections:
v Version numbers of the Web GUI, the Dashboard Common Infrastructure (DCI),
and Java Runtime Environment
v Memory usage statistics
v Runtime platform information
v Protocols in use
v ObjectServer properties and configuration data, including information about the
cache
v All system properties, including those internal to the Web GUI
Example
<methodCall>
<method methodName="webtopprobe.generateReport" />
</methodCall>
Use this method to force the Web GUI to reload all currently active filters and
views. In addition, this method forces AEL clients to update their filters and views
during the next refresh.
Example
<methodCall>
<method methodName="xmldao.reloadFiltersAndViews" />
</methodCall>
Use this method to remove a node from a load balancing cluster. The method
removes the node that you send this request to. If this is the last node in the
cluster, the method also removes all the load balancing configuration data.
Note: This method is used in conjunction with other steps as part of a longer
process. This command only temporarily removes a node from a load balancing
cluster. If the appserver is restarted, the node rejoins the cluster.
For more information, see Administering a load balancing cluster in the Web GUI
Administration and User's Guide.
Use this method to force the Web GUI to resynchronize its cache with the
ObjectServer's database. This function is especially useful when a user's
ObjectServer permissions have changed and it ensures that the Web GUI has the
latest information and so can manage the user correctly.
Example
<methodCall>
<method methodName="osresync.refreshOSCache" />
</methodCall>
104 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Appendix A. WAAPI properties and command-line options
Use this information to learn about the properties and command-line options of
the WAAPI client.
Tip: To specify a different properties file, use the -props option, for example:
runwaapi -props WEBGUI_HOME/waapi/etc/test/waapi.init
Use the WAAPI properties file for property values that are not likely to change
when the WAAPI client runs. For example, because the host name and port of the
WAAPI client do not tend to change, set the following properties in the waapi.init
file:
v waapi.host
v waapi.port
When you run the WAAPI client, to override a setting from the value in the
waapi.init file, use the command-line option for that setting. For example, to
specify a different XML command file for the WAAPI client to use, use the -file
option:
runwaapi -file path_to_file
Where path_to_file overrides the value of the waapi.file property in the waapi.init
file.
The default properties and corresponding command-line options for the WAAPI
client are shown in the following table.
Table 53. WAAPI properties and command-line options
Command-line
Property option Description
N/A -help Displays WAAPI command line help text.
N/A -outfile string The path of the output file.
N/A -props string Specifies a WAAPI properties file. The default
is waapi.init.
Connection properties:
waapi.host -host string The host name of the Web GUI server.
waapi.port -port integer The TCP/IP port on which the Web GUI
server is running.
waapi.contextpath N/A The context that contains servlet's view of
Web GUI within which the servlet is running.
waapi.secureport -secureport integer The TCP/IP port the Web GUI server listens
on when in secure mode.
106 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Table 53. WAAPI properties and command-line options (continued)
Command-line
Property option Description
waapi.ssl.keyStore -keyStoreType The key store type:
Type string v Set this property to PKCS12 if you are using
the JRE bundled with the Web GUI or an
AIX JRE.
v Set this property to JKS if you are not using
the bundled JRE or an AIX JRE.
The default is PKCS12.
waapi.ssl.trustStore -trustStore The location of the SSL trust store.
string
waapi.ssl. -trustStore The trust store password.
trustStorePassword Passwordstring
waapi.ssl.trust -trustManager The key manager type:
ManagerType Typestring v Set this property to IbmX509 if you are
using the JRE bundled with the Web GUI
or an AIX JRE.
v Set this property to SunX509 if you are not
using the bundled JRE or an AIX JRE.
The default is IbmX509.
waapi.ssl.trust -trustStoreType The trust store type:
StoreType string v Set this property to PKCS12 if you are using
the JRE bundled with the Web GUI or an
AIX JRE.
v Set this property to JKS if you are not using
the bundled JRE or an AIX JRE.
The default is PKCS12.
waapi.fips.security. -fipsSecurityKey Points to the location where the security key
key string is stored. The default is %%/etc/encrypt/
vault.key.
waapi.ssl.protocol. -protocolHandler The SSL protocol handler package. The
handler.pkgs string default is com.ibm.net.ssl.www2.protocol.
108 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Appendix B. Installing the WAAPI client on a remote host
Additionally to the WAAPI client on the Web GUI server, you can install the
WAAPI client on a remote host.
Procedure
1. Log in to the Web GUI using any suitable user ID.
2. On the navigation pane, click Welcome and then click WAAPI Client
Information in the work area.
3. Download the WAAPI client:
v UNIX Linux Click waapi.tar.gz
v Windows Click waapi.zip
Save the file to the directory where you want to install the client.
4. Change to the directory in which you want the files to be installed.
5. Uncompress the file.
Tip: UNIX Use the gtar xzvf waapi.tar.gz command or the gunzip
waapi.tar.gz and tar -xvf waapi.tar commands.
The files are installed in a subdirectory called waapi with the following
structure:
v waapi/
v waapi/bin
v waapi/etc/
v waapi/etc/default
v waapi/etc/docs
v waapi/etc/samples/
v waapi/log/
v waapi/platform/java/bin
v waapi/platform/java/lib
6. UNIX Set the execute-permissions on the runwaapi command:
chmod +x waapi/bin/runwaapi
Results
You can now use the WAAPI client on the remote host.
Procedure
1. Using the Dashboard Application Services Hub GUI, extract the default
truststore signer certificate.
a. Click Console Settings > WebSphere Admin Console, and click Launch
WebSphere Admin Console.
b. Click Security > SSL certificate and key management > Key stores and
certificates > NodeDefaultKeyStore > Personal certificates.
c. Select the default (Alias) truststore certificate and click Extract.
d. Type a name, for example, /example/tipcert.arm.
e. Select Base64-encoded ASCII data and click Ok.
2. Using the Dashboard Application Services Hub Ikeyman utility, add the new
certificate to the WAAPI truststore.
a. Go to JazzSM_WAS_Profile/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Type a truststore name, for example /example/waapiTruststore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Signer Certificates from the dropdown list and click Add.
f. Point to the signer certificate, in this example /example/tipcert.arm, and click
Ok. Make a note of the signer certificate CN (common name) value.
3. Edit the waapi.init file.
a. Open WEBGUI_HOME/waapi/etc/waapi.init and go to the WAAPI Secure
Modes section.
b. Set waapi.secure:on.
c. Ensure that the host name in waapi.host is the same as the CN (common
name) value in the signer certificate.
d. Provide the truststore name, in this example /example/waapiTruststore.p12.
e. Enter the password WebAS.
What to do next
To test if you have successfully set up the WAAPI SSL connection, execute a
WAAPI example.
112 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Creating a WAAPI SSL connection (client-server
authentication)
To create a secure, client- and server-authenticated connection between WAAPI and
the Web GUI deployed within Dashboard Application Services Hub (without FIPS
140–2), you reference Dashboard Application Services Hub in the WAAPI truststore
and WAAPI in the Dashboard Application Services Hub truststore. You then enable
SSL authentication in WAAPI and add the WAAPI keystore certificate to your
browser's truststore. Lastly, you enable client authentication in Dashboard
Application Services Hub.
Procedure
1. Using the Dashboard Application Services Hub GUI, extract the default
truststore signer certificate.
a. Click Console Settings > WebSphere Admin Console, and click Launch
WebSphere Admin Console.
b. Click Security > SSL certificate and key management > Key stores and
certificates > NodeDefaultKeyStore > Personal certificates.
c. Select the default (Alias) truststore certificate and click Extract.
d. Type a name, for example, /example/tipcert.arm.
e. Select Base64-encoded ASCII data and click Ok.
2. Using the Dashboard Application Services Hub Ikeyman utility, add the new
certificate to the WAAPI truststore.
a. Go to JazzSM_WAS_Profile/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Provide a truststore name, for example /example/waapiTruststore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Signer Certificates from the dropdown list and click Add.
f. Point to the signer certificate, in this example /example/tipcert.arm, and click
Ok. Make a note of the signer certificate CN (common name) value.
3. Using the Dashboard Application Services Hub Ikeyman utility, extract a
self-signed personal keystore certificate from the WAAPI keystore.
a. Go to JazzSM_Home/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Provide a keystore name, for example waapiKeystore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Personal Certificates from the dropdown list and click New
Self-Signed.
f. Enter a key label, for example WAAPI_cert, complete the other fields as
required, then click Ok.
g. Select the new keystore certificate, in this example WAAPI_cert, and click
Extract Certificate.
h. Select Base64-encoded ASCII data.
i. Enter a certificate file name, for example WAAPI_cert.arm, and define a
location, in this example /example/, then click Ok.
4. Using the Dashboard Application Services Hub GUI, add the new WAAPI
keystore certificate to the Dashboard Application Services Hub truststore.
a. Click Settings > WebSphere Admin Console, and click Launch WebSphere
Admin Console.
What to do next
To test if you have successfully set up the WAAPI SSL connection, execute a
WAAPI example.
114 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
About this task
If you have already enabled FIPS 140–2 in Dashboard Application Services Hub
while setting up FIPS 140–2 for the Web GUI, you do not need to complete step
four.
Procedure
1. Using the Dashboard Application Services Hub GUI, extract the default
truststore signer certificate.
a. Click Console Settings > WebSphere Admin Console, and click Launch
WebSphere Admin Console.
b. Click Security > SSL certificate and key management > Key stores and
certificates > NodeDefaultKeyStore > Personal certificates.
c. Select the default (Alias) truststore certificate and click Extract.
d. Give it a name, for example, /example/tipcert.arm.
e. Select Base64-encoded ASCII data and click Ok.
2. Using Dashboard Application Services Hub's Ikeyman utility, add the new
certificate to the WAAPI truststore.
a. Go to JazzSM_WAS_Profile/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Provide a truststore name, for example /example/waapiTruststore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Signer Certificates from the dropdown list and click Add.
f. Point to the signer certificate, in this example /example/tipcert.arm, and click
Ok. Make a note of the signer certificate CN (common name) value.
3. Edit the waapi.init file.
a. Open WEBGUI_HOME/waapi/etc/waapi.init and go to the WAAPI Secure
Modes section.
b. Set waapi.secure:fips.
c. Ensure that the host name in waapi.host is the same as the CN (common
name) value in the signer certificate.
d. Provide the truststore name, in this example /example/waapiTruststore.p12.
e. Enter the password of WebAS.
4. Enable FIPS 140–2 in the Dashboard Application Services Hub server.
a. Open WEBGUI_HOME/java/jre/lib/security/java.security.
b. In the list of providers and their order of preference, uncomment
security.provider:<x>=com.ibm.crypto.fips.provider.IBMJCEFIPS
c. Replace the <x> variable with 1 and re-number the subsequent security
providers.
d. Using the Dashboard Application Services Hub GUI, enable FIPS 140–2.
Click Security > SSL Certificate and key management and select the FIPS
checkbox under Configuration Settings, then click Apply.
e. Restart the Dashboard Application Services Hub server.
Example
What to do next
To test if you have successfully set up the WAAPI SSL connection, execute a
WAAPI example.
If you have already enabled FIPS 140–2 in Dashboard Application Services Hub
while setting up FIPS 140–2 for the Web GUI, you do not need to complete step
eight.
Procedure
1. Using the Dashboard Application Services Hub GUI, extract the default
truststore signer certificate.
a. Click Console Settings > WebSphere Admin Console, and click Launch
WebSphere Admin Console.
b. Click Security > SSL certificate and key management > Key stores and
certificates > NodeDefaultKeyStore > Personal certificates.
c. Select the default (Alias) truststore certificate and click Extract.
d. Give it a name, for example, /example/tipcert.arm.
e. Select Base64-encoded ASCII data and click Ok.
2. Using the Dashboard Application Services Hub Ikeyman utility, add the new
certificate to the WAAPI truststore.
a. Go to JazzSM_Home/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Provide a truststore name, for example /example/waapiTruststore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Signer Certificates from the dropdown list and click Add.
f. Point to the signer certificate, in this example /example/tipcert.arm, and click
Ok. Make a note of the signer certificate CN (common name) value.
3. Using Dashboard Application Services Hub's Ikeyman utility, extract a
self-signed personal keystore certificate from the WAAPI keystore.
a. Go to JazzSM_WAS_Profile/bin and start Ikeyman.
b. Click KeyDatabaseFile > New and select PKCS as the key database type.
c. Provide a keystore name, for example waapiKeystore.p12.
d. Enter the default password WebAS and click Ok.
e. Select Personal Certificates from the dropdown list and click New
Self-Signed.
f. Enter a key label, for example WAAPI_cert, complete the other fields as
required, then click Ok.
g. Select the new keystore certificate, in this example WAAPI_cert, and click
Extract Certificate.
h. Select Base64-encoded ASCII data.
116 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
i. Enter a certificate file name, for example WAAPI_cert.arm, and define a
location, in this example /example/, then click Ok.
4. Using the Dashboard Application Services Hub GUI, add the new keystore
certificate to the Dashboard Application Services Hub truststore.
a. Click Security > SSL certificate and key management > Key stores and
certificates > NodeDefaultTrustStore > Signer certificates.
b. Click Add and enter an alias of WAAPI_cert (for this example).
c. Point to the previously generated WAAPI_cert, click Ok, then Save.
5. Using your browser's security management functionality, add the new keystore
certificate to the browser's truststore.
Warning: If you do not complete this step, you will no longer be able to access
Dashboard Application Services Hub after you enable client authentication in
the next step.
6. Using the Dashboard Application Services Hub GUI, enable client
authentication.
a. Click Security > SSL certificate and key management > SSL
Configurations > NodeDefaultSSLSettings > Quality of protection (QoP)
settings.
b. Select Required from the General Properties > Client authentication
drop-down list.
c. Click Ok, then Save.
7. Edit the waapi.init file.
a. Open WEBGUI_HOME/waapi/etc/waapi.init and go to the WAAPI Secure
Modes section.
b. Set waapi.secure:fips.
c. Ensure that the host name in waapi.host is the same as the CN (common
name) value in the signer certificate.
d. Provide the truststore name, in this example /example/waapiTruststore.p12.
e. Enter the password of WebAS.
8. Enable FIPS 140–2 in the Dashboard Application Services Hub server.
a. Open WEBGUI_HOME/java/jre/lib/security/java.security.
b. In the list of providers and their order of preference, uncomment
security.provider:<x>=com.ibm.crypto.fips.provider.IBMJCEFIPS
c. Replace the <x> variable with 1 and re-number the subsequent security
providers.
d. Using the Dashboard Application Services Hub GUI, enable FIPS 140–2.
Click Security > SSL Certificate and key management and select the FIPS
checkbox under Configuration Settings, then click Apply.
e. Restart the Dashboard Application Services Hub server.
What to do next
To test if you have successfully set up the WAAPI SSL connection, execute a
WAAPI example.
If you are moving from FIPS 140-2 levels of encryption and consequently already
have a WAAPI trust store then the only configuration that is required is to enforce
SP800-131 in the WAAPI initialization file. If you do not yet have a WAAPI trust
store, for example if you are not currently using FIPS 140-2 levels of encryption,
you need to update the certificates. Then, create a WAAPI trust store and update it
with the new certificate.
Procedure
If you already have a WAAPI trust store with the existing certificate, perform only
the following step. Skip the remaining steps.
1. On the WAAPI host, edit the waapi.init file as follows:
a. Change the value of the waapi.secure property to "transition".
b. Ensure that waapi.host property has the same value as the CN attribute in
step 5g.
If you need to create update certificates, create a WAAPI trust store and update the
trust store, also perform the following steps:
2. Log in to the administrative console and click Security > SSL certificate and
key management. Then, under Related items, click Key stores and certificates.
3. Click NodeDefaultKeyStore and click Personal certificates and select default.
4. Click Extract. On the Extract certificate page, type WEBGUI_HOME/etc/encrypt/
tipcert.arm in the Certificate file name field. Then, save your changes and log
out of Dashboard Application Services Hub.
5. Remove the WAAPI trust store that was previously used for FIPS 140-2
encryption. For example, webgui_home/etc/encrypt/waapiTruststore.p12.
6. Change to JazzSM_HOME/bin, run the ikeyman command for your operating
system. Create a trust store and load the signer certificate from Dashboard
Application Services Hub, so that the WAAPI client trusts the Dashboard
Application Services Hub certificates.
a. Click KeyDatabaseFile > New and select PKSC12 as the key database type.
b. Enter the file name WEBGUI_HOME/etc/encrypt/waapiTruststore.p12.
c. Specify a password.
d. Click Signer certificates and then click Add.
e. Type the path WEBGUI_HOME/etc/encrypt and the file tipcert.arm.
f. Type tipcert as the label.
g. View the certificate and ensure that the CN attribute is the same as the
extracted signer certificate.
What to do next
To test that the WAAPI client runs, change to the WAAPI bin directory and run a
sample command, for example:
runwaapi -props ../etc/waapi.init -file ../etc/samples/list_filter.xml
Verify that the command runs and gives the expected output.
118 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Setting SP800-131 strict mode on the WAAPI client
To apply SP800-131 encryption on the WAAPI client, edit the waapi.init file and
change the value of the waapi.secure property to "sp800-131".
Procedure
1. Log in to the administrative console and click Security > SSL certificate and
key management. Then, under Related items, click Key stores and certificates.
2. Click NodeDefaultKeyStore and click Personal certificates and select default.
3. Click Extract. On the Extract certificate page, type WEBGUI_HOME/etc/encrypt/
tipcert.arm in the Certificate file name field. Then, save your changes and log
out of Dashboard Application Services Hub.
4. Remove the WAAPI trust store that was previously used for FIPS 140-2
encryption. For example, WEBGUI_HOME/etc/encrypt/waapiTruststore.p12.
5. Change to JazzSM_HOME/bin, run the ikeyman command for your operating
system. Create a trust store and load the signer certificate from Dashboard
Application Services Hub, so that the WAAPI client trusts the Dashboard
Application Services Hub certificates.
a. Click KeyDatabaseFile > New and select PKSC12 as the key database type.
b. Enter the file name WEBGUI_HOME/etc/encrypt/waapiTruststore.p12.
c. Specify a password.
d. Click Signer certificates and then click Add.
e. Type the path WEBGUI_HOME/etc/encrypt and the file tipcert.arm.
f. Type tipcert as the label.
g. View the certificate and ensure that the CN attribute is the same as the
extracted signer certificate.
6. On the WAAPI host, edit the waapi.init file as follows:
a. Change the value of the waapi.secure property to "sp800-131".
b. Ensure that waapi.host property has the same value as the CN attribute in
step 5g.
For password encryption for non-SSL and SSL connections, you use AES
encryption, while for FIPS 140-2 connections, you use FIPS 140–2 mode encryption.
The encryption types, and the tools required to enable them, are as follows:
Non-SSL (HTTP) connections
Passwords can be AES encrypted using the ncw_aes_crypt tool.
SSL (HTTPS) connections
Passwords can be AES encrypted using the ncw_aes_crypt tool.
SSL (HTTPS) connections with FIPS 140–2 enabled
Passwords can be encrypted using the ncw_fips_crypt tool.
WAAPI passwords must be encrypted using the ncw_fips_crypt script in
WEBGUI_HOME/waapi/bin. This script uses the vault key in
waapi_install_dir/etc/encrypt. If it does not already exist, the vault.key
file is automatically generated on the first execution of the script.
The location of the waap.init file, in which you must enter the encrypted
password, differs depending on where the WAAPI client is installed. If the WAAPI
client is installed on the same server as Dashboard Application Services Hub, the
file is located at WEBGUI_HOME/waapi/etc/waapi.init. If the WAAPI client is
installed on a different server than Dashboard Application Services Hub, the file is
located at waapi_install_dir/etc/waapi.init.
Procedure
1. Encrypt the WAAPI password:
a. Run WEBGUI_HOME/waapi/bin/ncw_aes_crypt.
b. Enter the default Dashboard Application Services Hub truststore password
WebAS.
An encrypted password is generated.
c. Copy the encrypted password.
2. Add the encrypted password:
a. Open the waapi.init file.
b. Set the waapi.password.encryption property to aes.
c. Set the waapi.ssl.trustStorePassword property to the password encrypted
in step 1.
3. Repeat steps 2b and 2c for the following properties:
v waapi.password
v waapi.ssl.keyStorePassword
If FIPS 140–2 mode has been enabled, you can use only FIPS 140–2 mode password
encryption. You must have IBM® JRE installed to use the ncw_fips_crypt tool.
120 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
About this task
The location of the waap.init file, in which you must enter the encrypted
password, differs depending on where the WAAPI client is installed. If the WAAPI
client is installed on the same server as Dashboard Application Services Hub, the
file is located at WEBGUI_HOME/waapi/etc/waapi.init. If the WAAPI client is
installed on a different server than Dashboard Application Services Hub, the file is
located at waapi_install_dir/etc/waapi.init.
Procedure
1. Encrypt the WAAPI password:
a. Enter the following command:
WEBGUI_HOME/waapi/bin/ncw_fips_crypt –password WebAS -key
WEBGUI_HOME/waapi/etc/encrypt/vault.key
If you use the default vault key, omit the key parameter. An encrypted
password is generated
b. Copy the encrypted password.
2. Add the encrypted password:
a. Open the waapi.init file.
b. Set the waapi.password.encryption property to fips
c. Set the waapi.ssl.trustStorePassword property to the password generated
in step 1.
3. Repeat steps 2b and 2c for the following properties:
v waapi.password
v waapi.ssl.keyStorePassword
What to do next
To generate a new vault key, use the -genkey parameter. Enter the following
command: WEBGUI_HOME/waapi/bin/ncw_fips_crypt –genkey
<locationofvaultkeyfile>. After the command has run, copy the new vault key
file to the waapi_install_dir/etc/encrypt/ directory.
Procedure
Use the facilities of the operating system to set the access permissions to the
waapi.init file. Ensure that the file is accessible only to authorized administrators
of the Web GUI server. This is especially important when the file contains the
username and password of the Web GUI administrator.
IBM may not offer the products, services, or features discussed in this document in
other countries. Consult your local IBM representative for information on the
products and services currently available in your area. Any reference to an IBM
product, program, or service is not intended to state or imply that only that IBM
product, program, or service may be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right may
be used instead. However, it is the user's responsibility to evaluate and verify the
operation of any non-IBM product, program, or service.
IBM may have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not grant you
any license to these patents. You can send license inquiries, in writing, to:
For license inquiries regarding double-byte (DBCS) information, contact the IBM
Intellectual Property Department in your country or send inquiries, in writing, to:
The following paragraph does not apply to the United Kingdom or any other
country where such provisions are inconsistent with local law: INTERNATIONAL
BUSINESS MACHINES CORPORATION PROVIDES THIS PUBLICATION "AS IS"
WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR
PURPOSE. Some states do not allow disclaimer of express or implied warranties in
certain transactions, therefore, this statement may not apply to you.
Any references in this information to non-IBM Web sites are provided for
convenience only and do not in any manner serve as an endorsement of those Web
sites. The materials at those Web sites are not part of the materials for this IBM
product and use of those Web sites is at your own risk.
Licensees of this program who wish to have information about it for the purpose
of enabling: (i) the exchange of information between independently created
programs and other programs (including this one) and (ii) the mutual use of the
information which has been exchanged, should contact:
IBM Corporation
958/NH04
IBM Centre, St Leonards
601 Pacific Hwy
St Leonards, NSW, 2069
Australia
IBM Corporation
896471/H128B
76 Upper Ground
London SE1 9PZ
United Kingdom
IBM Corporation
JBFA/SOM1
294 Route 100
Somers, NY, 10589-0100
United States of America
The licensed program described in this document and all licensed material
available for it are provided by IBM under terms of the IBM Customer Agreement,
IBM International Program License Agreement or any equivalent agreement
between us.
All statements regarding IBM's future direction or intent are subject to change or
withdrawal without notice, and represent goals and objectives only.
All IBM prices shown are IBM's suggested retail prices, are current and are subject
to change without notice. Dealer prices may vary.
124 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
This information is for planning purposes only. The information herein is subject to
change before the products described become available.
This information contains examples of data and reports used in daily business
operations. To illustrate them as completely as possible, the examples include the
names of individuals, companies, brands, and products. All of these names are
fictitious and any similarity to the names and addresses used by an actual business
enterprise is entirely coincidental.
COPYRIGHT LICENSE:
If you are viewing this information softcopy, the photographs and color
illustrations may not appear.
Notices 125
Trademarks
IBM, the IBM logo, ibm.com®, Netcool, Netcool/OMNIbus, Tivoli®, and
WebSphere® are trademarks or registered trademarks of International Business
Machines Corporation in the United States, other countries, or both
Adobe, Acrobat, Portable Document Format (PDF), PostScript, and all Adobe-based
trademarks are either registered trademarks or trademarks of Adobe Systems
Incorporated in the United States, other countries, or both.
Microsoft, Windows, Windows NT, and the Windows logo are trademarks of
Microsoft Corporation in the United States, other countries, or both.
UNIX is a registered trademark of The Open Group in the United States and other
countries.
126 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
Index
Special characters E L
<filterCollection> 87 education load balancing
<icon> 40 see Tivoli technical training vii remove node 103
<menu> 56 element
<metric:metric> 91 <filterCollection> 87
<relationship:relationship>
<resource> 50
98 <icon> 40
<menu> 56
M
manuals v
<resources> 50 <metric:metric> 91
map request 30
<separator> 56 <relationship:relationship> 98
create 31
<supermenu> 56 <resource> 50
create or replace 47
<tool:access> 60 <resources> 50
delete 47
<tool:cgiurl> 60 <separator> 56
list 48
<tool:cmdline> 60 <supermenu> 56
modify 48
<tool:criterion> 60 <tool:access> 60
map visual request
<tool:equals> 60 <tool:cgiurl> 60
add 48
<tool:fieldlist> 60 <tool:cmdline> 60
add or replace 49
<tool:journal> 60 <tool:criterion> 60
delete 49
<tool:osfield> 60 <tool:equals> 60
modify 50
<tool:script> 60 <tool:fieldlist> 60
menu request 55
<tool:security> 60 <tool:journal> 60
create 56
<tool:sql> 60 <tool:osfield> 60
create or replace 58
<tool:tool> 60 <tool:script> 60
delete 58
<user> 14 <tool:security> 60
list 59
<tool:sql> 60
modify 59
<tool:tool> 60
metric request 91
A <user> 14
environment variables, notation vii
create 91, 98
accessibility vii create or replace 96
audience v delete 97
authentication list 97
client-server 113 F modify 97
FIPS 140-2 116 file request 52
server-only 112 add a directory 52
FIPS 140-2 115 add a file 53
create or replace a file 54
O
online publications v
delete a file 54
ordering publications v
C recursively remove a directory 55
remove a directory 55
other request 102
CGI request 78 reload filters and views 103
files
create or replace 79 remove a node from a cluster 103
waapi.init 105, 112, 113, 115, 116, 120,
modify 79 resynchronize the cache 104
121
register 78 system status report 103
filter collection request 87
unregister 79
add filter 88
client-server
create 87
security 113
FIPS 140-2 116
create or replace 89 P
delete 89 password
commands
delete filter 89 encryption
runwaapi
list 90 AES 120
command-line options 105
modify 90 FIPS 140–2 120
communications 3
set view 91 passwords
comparison
filter request 80 encryption 4, 119
WAAPI and Web GUI procedure 2
add 80 prompt request 70
conventions, typeface vii
create or replace 84 create or replace 70
delete 85 delete 77
list 85 list 77
D modify 86 modify 77
Document Type Definition 11 set default view 86 publications v
DTD FIPS 140-2
See Document Type Definition client-server 116
server-only 115
relationship request 98
create or replace 101
delete 101 U
list 102 user request 13
modify 102 list 23
remote host maintain 13
installation modify 13
WAAPI client 109 utilities
request 9 ncw_aes_crypt 120
CGI 78 ncw_fips_crypt 120
file 52
filter 80
filter collection 87 V
map 30 variables, notation for vii
menu 55 view request 23
metric 91 create 23
other 102 create or replace 28
prompt 70 delete 30
relationship 98 list 30
resource 50 modify 29
structure 9
tool 59
user 13
view 23 W
resource request 50 WAAPI
add 50 command-line options 105
create or replace 51 communication with the server 3
list 52 comparison with Web GUI 2
remove 52 installation
remote host 109
password encryption 4, 119
S AES 120
FIPS 140–2 120
security 111 properties 105, 121
FIPS 140-2 security 111
client-server 116 overview 4, 111
server-side 115 truststore
password encryption 4, 119 signer certificate 112, 113, 115, 116
AES 120 using 7
FIPS 140-2 120 WAAPI request 9
WAAPI case senstitivity 11
client-server 113 CGI 78
overview 4, 111 characteristics 11
server-side 112 comments 11
server content and value restrictions 11
security 112 Document Type Definition 11
FIPS 140-2 115 file 52
SSL filter 80
password encryption filter collection 87
AES 120 map 30
support information vii menu 55
metric 91
order of elements 11
T other 102
Tivoli software information center v prompt 70
Tivoli technical training vii relationship 98
tool request 59 resource 50
create 60 root element 9
create or replace 67 structure 9
delete 68 tool 59
list 68 user 13
modify 69 view 23
training, Tivoli technical vii XML declaration 9
truststore
WAAPI
signer certificate 112, 113, 115, 116
128 IBM Tivoli Netcool/OMNIbus: Web GUI Administration API (WAAPI) User's Guide
IBM®
SC27-6506-10