IBM Tivoli Monitoring User's Guide
IBM Tivoli Monitoring User's Guide
Version 6.1.0
User’s Guide
Version 6.1.0
User’s Guide
Note!
Before using this information and the product it supports, read the information in Appendix F, “Notices,” on page 241.
Contents
Figures . . . . . . . . . . . . . . vii About monitoring agents . . . . . . . . . . 10
Navigator Physical view . . . . . . . . . 11
Tables . . . . . . . . . . . . . . . ix Managed system status . . . . . . . . . 11
IBM Tivoli Monitoring alert manager . . . . . 11
Attributes . . . . . . . . . . . . . . 11
About this guide . . . . . . . . . . . xi Conclusion . . . . . . . . . . . . . . 13
Who should read this guide . . . . .. xi . . .
Publications . . . . . . . . . .. xi . . .
Chapter 3. Getting started . . . . . . 15
IBM Tivoli Monitoring library . . .. xi . . .
Starting theTivoli Enterprise Portal client . . . . 15
Accessing terminology online . . . . . . . xii
Starting the client as a desktop application . . . 15
Accessing publications online . . . . . . . xii
Starting the client from Internet Explorer . . . 15
Ordering publications. . . . . . . . . . xiii
Tivoli Enterprise Portal window . . . . . . . 15
Accessibility . . . . . . . . . . . . . . xiii
Your User ID and Access to Features . . . . . . 16
Tivoli technical training . . . . . . . . . . xiii
Who are the users? . . . . . . . . . . . 16
Support information . . . . . . . . . . . xiii
Access to features, applications, and Navigator
Conventions used in this guide . . . . . . . xiv
views . . . . . . . . . . . . . . . 16
Typeface conventions . . . . . . . . . . xiv
Completing the lessons . . . . . . . . . . 20
Tivoli command syntax . . . . . . . . . xiv
Notes to the system administrator . . . . . . 20
Conclusion . . . . . . . . . . . . . . 21
Chapter 1. Tivoli Distributed Monitoring
users and Candle OMEGAMON users . . 1 Chapter 4. Monitoring: real-time and
For Tivoli Distributed Monitoring users . . . . . 1
event-based . . . . . . . . . . . . 23
For CandleNet Portal users . . . . . . . . . 1
Overview . . . . . . . . . . . . . . . 23
Tivoli Enterprise Console view . . . . . . . 1
Navigator . . . . . . . . . . . . . . 23
Launch application . . . . . . . . . . . 1
Workspace . . . . . . . . . . . . . . 23
Embedding situations . . . . . . . . . . 1
What’s Next? . . . . . . . . . . . . . 23
Correlating situations . . . . . . . . . . 1
Lesson: Navigating through workspaces . . . . . 24
Manage situation status . . . . . . . . . . 1
Expanding and collapsing the tree . . . . . . 24
Universal message console . . . . . . . . . 2
Opening workspaces . . . . . . . . . . 26
Specify data ranges for gauge charts . . . . . 2
Multiple workspaces . . . . . . . . . . 26
Tivoli Enterprise Monitoring Server predefined
Linking to a workspace . . . . . . . . . 26
queries . . . . . . . . . . . . . . . 2
Going back and forward . . . . . . . . . 27
Export a data view . . . . . . . . . . . 2
Lesson: Using workspaces . . . . . . . . . 27
Manage policy status . . . . . . . . . . 2
What the enterprise workspace shows . . . . 28
Workflow editor activities . . . . . . . . . 2
Refreshing a workspace . . . . . . . . . 28
Telnet support for terminal view . . . . . . . 2
Stop loading a workspace . . . . . . . . 29
Formula functions: change in value and percent
Creating multiple windows . . . . . . . . 29
change in value . . . . . . . . . . . . 2
Lesson: Using views . . . . . . . . . . . 29
Local Time and Universal Time selectable day and
Viewing full screen . . . . . . . . . . . 29
month attributes . . . . . . . . . . . . 3
Minimizing the Navigator . . . . . . . . 29
Hexadecimal support in formula editors . . . . 3
Information on mouseover . . . . . . . . 30
Expand Navigator branches in increments . . . 3
Lesson: Responding to alerts . . . . . . . . 30
Remove an offline managed system. . . . . . 3
Lights in the Navigator . . . . . . . . . 30
New user ID authorities . . . . . . . . . 3
Opening the situation event workspace . . . . 31
Agent deployment from a single point of control . 3
Acknowledging a situation event . . . . . . 32
New terms . . . . . . . . . . . . . . . 3
Closing the situation event workspace . . . . 33
Conclusion . . . . . . . . . . . . . . 33
Chapter 2. Introduction . . . . . . . . 5
IBM Tivoli Monitoring components . . . . . . . 5
Chapter 5. Custom workspaces . . . . 35
Client . . . . . . . . . . . . . . . . 5
Workspace Views . . . . . . . . . . . . 35
Server . . . . . . . . . . . . . . . 5
Data views . . . . . . . . . . . . . 35
Agent . . . . . . . . . . . . . . . . 6
Situation event views . . . . . . . . . . 35
Tivoli Enterprise Portal features . . . . . . . . 6
Other views . . . . . . . . . . . . . 36
Application window . . . . . . . . . . . 6
Lesson: Customizing a workspace . . . . . . . 36
Features and functions . . . . . . . . . . 7
Saving a new workspace . . . . . . . . . 37
Contents v
IBM Confidential
Figures
1. IBM Tivoli Monitoring data flow . . . . . . 6 10. Setting threshold colors for a data view 50
2. Default Enterprise workspace . . . . . . . 7 11. Table view with threshold coloring . . . . . 50
3. Managed System Status table view . . . . . 11 12. Queries used in a workspace . . . . . . . 67
4. Enterprise Status Workspace . . . . . . . 24 13. Workspace with situation event console and
5. Sources of workspace links . . . . . . . 27 message log views . . . . . . . . . . 91
6. Situation event workspace . . . . . . . 32 14. Tivoli Enterprise Console event viewer 107
7. Table view of a multiple-row attribute group 45 15. Tivoli Enterprise Console and Tivoli
8. Filters tab showing expressions with an AND Monitoring Services . . . . . . . . . 112
relationship . . . . . . . . . . . . 49 16. Show ruler option for a terminal session 178
9. Filters tab showing expressions with an OR
relationship . . . . . . . . . . . . 49
Tables
1. New terminology for CandleNet Portal users 3 7. Relational Operators . . . . . . . . . 184
2. Graphic View Toolbar . . . . . . . . . 100 8. If Statement . . . . . . . . . . . . 185
3. Event filter options in the Tivoli Enterprise 9. For Statement . . . . . . . . . . . 186
Console - Configuration window . . . . . 109 10. Return Statement . . . . . . . . . . 187
4. Criteria for Combining Situations in One Data 11. While Statement . . . . . . . . . . 187
Sampling . . . . . . . . . . . . . 141 12. User-defined Functions . . . . . . . . 188
5. Binary Arithmetic Operators . . . . . . 183 13. Return Codes for tacmd CLI commands 228
6. Logical Operators . . . . . . . . . . 184
Publications
This section lists publications in the IBM Tivoli Monitoring library. It also describes
how to access Tivoli publications online and how to order Tivoli publications.
http://publib.boulder.ibm.com/tividd/glossary/tivoliglossarymst.htm
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/ibm/terminology
http://www.ibm.com/software/tivoli/library/
Click the Tivoli product manuals link. In the Tivoli Technical Product Documents
Alphabetical Listing window, click M to access all of the IBM Tivoli Monitoring
product manuals.
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.
The IBM Software Support Web site provides the latest information about known
product limitations and workarounds in the form of technotes for your product.
You can view this information at the following Web site:
http://www.ibm.com/software/support
Ordering publications
You can order many Tivoli publications online at the following Web site:
http://www.elink.ibmlink.ibm.com/public/applications/
publications/cgibin/pbi.cgi
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.
For additional information, see the Accessibility Appendix in the user’s guide for
this product.
http://www.ibm.com/software/tivoli/education/
Support information
Appendix E, “Support information,” on page 237 describes the following options
for obtaining support for IBM products:
v “Searching knowledge bases” on page 237
v “Obtaining fixes” on page 237
v “Contacting IBM Software Support” on page 238
Typeface conventions
This guide uses the following typeface conventions:
Bold
v Lowercase commands and mixed case commands that are otherwise
difficult to distinguish from surrounding text
v Interface controls (check boxes, push buttons, radio buttons, spin
buttons, fields, folders, icons, list boxes, items inside list boxes,
multicolumn lists, containers, menu choices, menu names, tabs, property
sheets), labels (such as Tip:, and Operating system considerations:)
v Keywords and parameters in text
Italic
v Words defined in text
v Emphasis of words (for example, ″Use the word that to introduce a
restrictive clause.″)
v New terms in text (except in a definition list)
v Variables and values you must provide
Monospace
v Code and other examples
v File names, programming keywords, and other elements that are difficult
to distinguish from surrounding text
v Message text and prompts addressed to the user
v Text that the user must type
v Values for arguments or command options
In addition to the special characters, Tivoli command syntax uses the typeface
conventions described in “Typeface conventions” on page xiv. The following
example illustrates the typeface conventions used in Tivoli command syntax:
The start|stop and {pc|all} parameters are the only required parameters for the
itmcmd agent command. The brackets around the -l, -h, -o, -p, -c, and -s
parameters indicate that they are optional. The braces around {pc|all} indicate that
you must either specify a product code (pc) or choose to start or stop all
components.
See also IBM Tivoli Monitoring: Upgrading from Tivoli Distributed Monitoring for
administrators upgrading to IBM Tivoli Monitoring.
Launch application
Launch Application enables you to start programs and open web pages using
definitions you have created. Applications can be launched from Navigator items,
the table view, chart views and the situation event console view. See “Launch
application” on page 165.
Embedding situations
You can now embed one or more situations within another situation in place of
one or more logical statements. This facility enables you to use situations as
building blocks for new situations. See “Embedding a situation” on page 122.
Correlating situations
You can now create a situation that contains other situations and targets a small
subset of the managed systems they normally monitor. When the situations on
these managed systems meet the comparison, the correlated situation becomes
true. See “Creating a correlated situation” on page 124.
starting, stopping, and editing situations. See “Start or stop a situation from the
Manage Situations at Managed System window” on page 135.
New terms
Table 1. New terminology for CandleNet Portal users
CandleNet Portal IBM Tivoli Monitoring
Candle Customer Support IBM Software Support
Candle Management Server Tivoli Enterprise Monitoring Server;
monitoring server
Chapter 2. Introduction
IBM Tivoli Monitoring is a family of products that helps you find, isolate, and fix
performance and availability problems more quickly at the system, subsystem,
database, or application level. IBM Tivoli Monitoring provides reports you can use
to track trends and troubleshoot problems.
This chapter describes the components of IBM Tivoli Monitoring V6.1 and
introduces the major features of the Tivoli Enterprise Portal user interface.
Client
The IBM Tivoli Monitoring client, Tivoli Enterprise Portal ( in Figure 1), is a Java
based user interface for viewing and monitoring your enterprise network.
Depending on how it was installed, you can start Tivoli Enterprise Portal as a
desktop application (desktop mode) or through your browser (browser mode).
Server
The Tivoli Enterprise Portal client connects to the Tivoli Enterprise Portal Server (
in Figure 1). The Tivoli Enterprise Portal Server is a collection of software
services for the client that enables retrieval, manipulation and analysis of data from
the monitoring agents on your enterprise.
The Tivoli Enterprise Portal Server connects to the main, or hub, Tivoli Enterprise
Monitoring Server ( in Figure 1), The monitoring server acts as a collection and
control point for alerts received from the monitoring agents, and collects
performance and availability data from them. The hub monitoring server correlates
the monitoring data collected by monitoring agents and remote monitoring servers
and passes it to the portal server for presentation in the portal user interface and
your evaluation.
Agent
Tivoli Enterprise Monitoring Agents ( ) are installed on the systems or
subsystems whose applications and resources you want to monitor. The agent
collects monitoring data from the managed system and passes it to the monitoring
server to which it is connected. The client gathers the current values of the
attributes and produces reports formatted into tables and charts. It can also test the
values against a threshold and display an alert icon when that threshold is
exceeded or a value is matched. These tests are called situations.
Application window
Tivoli Enterprise Portal is the interface for your IBM Tivoli Monitoring products.
Much like you use your browser home page as a starting point for navigating the
Internet, you can use Tivoli Enterprise Portal to get a high level overview of your
network environment.
The application window shows a tree-like view of your monitored network on the
left, with alert icons that appear when problems arise. The rest of the window is
filled with views pertinent to the chosen item in the tree.
To illustrate IBM Tivoli Monitoring with the Tivoli Enterprise Portal interface,
consider a web-based business and how it is monitored.
AlphaPet is a fictitious online retail pet supply store. Its IT configuration comprises
several Windows systems and includes
v Microsoft IIS web server
v IBM DB2 Universal Database server and relational databases
The company installed Tivoli Enterprise Monitoring Agents to monitor their two
databases, the Web server and Windows. When AlphaPet logged on to Tivoli
Enterprise Portal for the first time, they saw this:
From the moment they logged on, the AlphaPet users got feedback about their
Windows systems. They went on to create workspaces that consolidate information
from different monitoring agents, gathering reports on their Web server and
databases.
Chapter 2. Introduction 7
IBM Confidential
Chapter 2. Introduction 9
IBM Confidential
Tivoli Enterprise Monitoring Agents are available for monitoring different types of
platforms and applications, including mainframe, middleware, distributed, and
database.
The Navigator indicates when an agent is offline by dimming the agent and
attribute items of that managed system. When an agent is offline, the monitoring
server cannot collect data from it nor can you display any of its workspaces. The
agent needs to be restarted on the managed system before data samplings can be
taken.
Attributes
Attributes are the application properties being measured and reported, such as the
amount of memory usage or the message ID. Some monitoring agents have fewer
than 100 attributes, while others have over 1000.
Attribute groups
Attributes are organized into groups according to their purpose. The attributes in a
group can be displayed in a table view or chart view. And they can be used to
specify a condition for testing in a situation.
The data samplings from an attribute group return either a single row of data or
multiple rows. For example, the Windows Memory attributes retrieve a single data
row about real and virtual memory on the managed system; and the Windows
Processes attributes retrieve multiple rows, one for each process running on the
managed system.
Chapter 2. Introduction 11
IBM Confidential
Attribute characteristics
The situation, filter and threshold functions available for a particular attribute
depend on its characteristics. The three main types of attributes are:
v Numeric
Numeric attributes represent a count, percentage, seconds or some other
measurement.
v Text
Names, such as the host name or a process name, are text attributes. Usually
timestamp and enumerated (see below) attributes are treated as text attributes.
v Timestamp
Most attribute groups have a timestamp attribute. Some have different names,
such as Start Date & Time. You can tell which attributes are timestamp attributes
by their format in a table view, which is mm/dd/yy hh:mm:ss.
Conclusion
This chapter introduced IBM Tivoli Monitoring, its Tivoli Enterprise Portal user
interface, and how the data from your managed systems can be displayed and
manipulated with the portal.
It also introduced the major features, which are described in the remainder of this
guide with usage instructions given in tutorial format.
Continue to the next chapter for a lesson on using the Navigator and opening
workspaces.
Chapter 2. Introduction 13
IBM Confidential
On Linux, use the following steps to start the portal client in desktop mode:
1. Change to the <itm_installdir>/bin subdirectory.
2. Run the following command:
./itmcmd agent start cj
Framing the working area (the Navigator and workspace) of the window are these
components:
v title bar with the name of the workspace. In desktop mode it also shows the
Tivoli Enterprise Portal Server name and the user name.
v banner (browser mode only), which may be customized for your organization
logo and Web URL.
v menu bar with File, Edit, View and Help menus. Also available are pop-up
menus when you right-click a Navigator item or a view in the workspace.
v toolbar with tools for moving among and updating workspaces, accessing the
editors, and adding new views. Also, each view has a toolbar.
v status bar showing the data retrieval status of the active workspace, connection
status to the portal server, its name and port number, and the user name.
If your user ID does not have View or Modify permission for a feature or does
not have Workspace Author Mode permission you will not see certain items in the
menus, pop-up menus or toolbar.
In some managed enterprises one person may assume all of these roles. In larger
enterprises roles are often divided.
Tivoli Enterprise Portal provides varying degrees of access to the features and
views of your monitored environment, so any combination of the aforementioned
job functions can be accommodated.
This guide alerts you to limitations due to restricted permissions wherever you see
the User ID icon.
Authorities
The following features are enabled or disabled individually for each user ID:
Action View lets you see and execute a Take Action
Applications
Your user ID is set so you can see some or all the application types being
monitored. For example, one user may be able to see only mainframe applications,
while another can see only middleware, and another sees all applications.
Navigator views
When a Navigator view is created, only the author is able to see the view, but it is
available for the administrator to assign to users. An assigned Navigator view
means the user can open it. For each assigned view, the user may be restricted to
see only a certain branch rather than the entire hierarchy.
Because we do not know which of the many IBM Tivoli Monitoring products your
organization has, the lessons use the IBM Tivoli Monitoring common attributes
which are available to everyone.
Also, your tutorial environment may or may not be the same as your monitored
environment, so check with your system administrator before starting the lessons.
The lessons, the user ID permissions required, and their effect on the monitoring
environment are listed below:
Note: All lessons require the user ID to have the Navigator Physical view as an
Assigned View, and the Enterprise level as the Assigned Root for that view.
These requirements will not appear in the list below.
Conclusion
You should now be successfully logged on to Tivoli Enterprise Portal and
understand what the window shows. You also know what permissions and
assignments your user ID has and what is required to access and use the features.
The next chapter teaches you the basics of navigating through workspaces and
how to respond to monitoring alerts.
Every new user should complete the lessons in this chapter. You can also use the
material in this chapter for reference.
Overview
The Tivoli Enterprise Portal window is divided into a Navigator view and a
workspace.
Navigator
Physical view
Tivoli Enterprise Portal has a Navigator Physical view showing the hierarchy of
your network from a system point of view, organized by operating platform,
system name, monitoring agent, and attribute groups.
Logical view
Tivoli Enterprise Portal users also have a Navigator Logical view that can be
customized for any logical hierarchy. And you can create other business views. For
example, you could have a Navigator view for Manufacturing and another for
Marketing.
Alerts
When you see “lights” in the Navigator, you are seeing event indicators, which
appear when a situation (a test of certain conditions) becomes true.
Workspace
The workspace changes for each item in the Navigator. Workspaces at the top
present high level overviews, and can get more specific or detailed as you move
down a branch.
Each workspace is made up of one or more panes, or views. Many different views
are available, such as charts and tables that show data from monitoring agents,
and the browser view for accessing web pages.
What’s Next?
The next section of this chapter, Lesson: Navigating through workspaces, takes you
through the Navigator and opening workspaces. The two monitoring methods
covered in the rest of the chapter are real-time using workspaces, and event-based
using situations.
While in the Enterprise Status workspace, right-click the Enterprise Navigator item
(or open the View menu), point to Workspace and select the name.
When you click an item in the Navigator its default workspace opens. A Navigator
item may have multiple workspaces and it may have links to other workspaces.
For this lesson, your user ID requires the Navigator Physical view as an
Assigned View, and the Enterprise level as the Assigned Root for that view.
Enterprise
Operating Platform
The Navigator has and icons for expanding and collapsing each branch, an
icon for every level of the hierarchy, and alert icons to identify problem areas.
1. Click Expand on the first item below Enterprise to open the operating
platform level.
Opening this level of the Navigator shows all the systems in your monitored
network running on this operating platform.
2. Continue to click Expand at each level of the Navigator until you reach the
lowest level.
Every item in the Navigator has an icon to identify its level in the tree.
If, while expanding a branch that has more than 25 child items, you are
prompted to enter the number to expand at one time, enter 3 to expand in
groups of three. Click More to open the next group of child items. (See
“Expanding the Navigator in increments” on page 88.)
The Navigator Physical view here shows the five levels of the tree.
Enterprise
Operating Platform
System
Agent
Attribute
Some monitoring agents have subagents and others can have multiple agents of
the same type on one system. In such cases, you will see an extra level:
Enterprise
Operating Platform
System
Agent
Subagent
Attribute
The example shows the monitoring agent for the MS SQL Server installed on
the system named MYSYSTEM, which runs on Windows:
Enterprise
Windows Systems
MYSYSTEM
MS SQL Server
Errorlog Alerts
Databases
Server Locking
Processes
Servers
If you see the icon and name dimmed at the agent and attribute levels, it
means the agent is unavailable. The example shows that the MS SQL Server
Opening workspaces
The first workspace to show when you open the Navigator Physical view is the
Enterprise Status workspace, as shown in Figure 4 on page 24.
1. If the Enterprise Status workspace is not open, click Enterprise.
You can click either the icon or name of a Navigator item to open its
workspace.
2. Click the icon or name for the next Navigator item (such as Windows
Systems).
Earlier you used and to open and close Navigator levels without
changing the workspace. When you click the Navigator item icon or its name,
its default workspace replaces the one previously showing.
3. Click to move down the Navigator hierarchy and open each level until you
reach the agent (or subagent) level, then click the agent name.
Below the Enterprise default workspace you may see that the platform-
and system-level workspaces have not been defined. After that are the
predefined workspaces for your IBM Tivoli Monitoring product, one set for
each managed system:
v The agent (or agent followed by subagent) workspace provides an
overview of your managed application. It may include a chart or table view
showing data from one attribute group, and another view with data from a
different attribute group.
v The attribute workspace is named for the group of attributes the agent is
monitoring. You may see some attribute groups consolidated under one title,
such as Memory or Databases, with multiple workspaces available.
Multiple workspaces
Your IBM Tivoli Monitoring product may have other workspaces for a Navigator
item besides the default. To find out, right-click the current (highlighted) Navigator
item and point to Workspace in the pop-up menu.
Linking to a workspace
Your Tivoli Enterprise Portal workspaces can be linked to one another. Figure 5 on
page 27 shows where a link may start and the methods for opening the link. A link
from a Navigator item or graphic view is often a simple link to the target
workspace, whereas a link from a table row or chart point may be to a workspace
with more details about that data series.
1. Click Back. In browser mode, use the tool on the browser toolbar.
2. Click Forward.
3. Click History to see and select from a history of workspaces in the order that
they were opened.
Now that you know how to move through the Navigator and among workspaces,
you are ready to learn more about what they show, how to refresh or stop loading
a workspace, and how to create multiple windows so you can always see
important workspaces.
For this lesson, your user ID requires the Navigator Physical view as an
Assigned View, and the Enterprise level as the Assigned Root for that view.
Enterprise. This workspace shows the highest overview of your enterprise in three
views:
v Situation Event Console displays a row for every situation with a status change
(situation event occurrence). The console has a toolbar for filtering the view to
show only the alerts you want to see and a pop-up menu with items for
managing alerts.
v Open Situation Accounts – Last 24 Hoursdisplays a bar for every situation that has
become true in the past 24 hours. The length of the bar indicates the number of
times an event has been opened for the situation during this time.
v Message Log displays a row for every situation with a status change (event
occurrence).
Refreshing a workspace
When you open a workspace that includes charts or tables, the portal server
requests new data samples from the monitoring agent and displays them in these
data views. A workspace can be set to refresh automatically from every 30 seconds
to once an hour, or it can be refreshed on-demand.
Automatic refresh
1. Open a workspace at the agent or attribute level of the Navigator
Physical view.
2. Open the View menu and point to Refresh Every to see the refresh setting for
this workspace.
Manual refresh
1. Click Refresh.
Use this method when you want to see the latest data samplings for a table or
chart view. Regardless of the refresh setting, you can manually refresh the
workspace at any time.
For this lesson, your user ID requires the Navigator Physical view as an
Assigned View, and the Enterprise level as the Assigned Root for that view.
Information on mouseover
The chart, table and graphic views show more detail when you move the mouse
pointer over certain areas.
1. Mouseover each column heading in the table views to see a short description of
the attribute.
2. Mouseover each bar of the bar chart to see the details: the count, situation
name and timestamp of the event.
You can also mouseover the slice of a pie chart or data point in a plot chart to
see the value.
If a table view or graphic view has been linked to a workspace, you can
mouseover the link anchor to see the possible link targets.
For this lesson, your user ID requires the View and Acknowledge permissions
for Events.
Note: This lesson assumes a situation called TEP_Tutorial was created with the
lesson, “Lesson: Creating a situation” on page 118. Within a few moments of
creating the TEP_Tutorial situation, you should see on the Navigator
item. If you are in an environment that already has a situation event to
which you can respond, work with that situation event instead.
The example shows the roll-up effect of situation events. Although there are Oracle
events with three levels of severity—Warning, Informational, and Critical—as you
move up the Navigator hierarchy, the situation events are consolidated to show
only the indicator of the highest severity.
Enterprise
Windows Systems
RETAIL1
Oracle
Alert Log
Cache Totals
Contention
Databases
v Expert Advice appears if the author of the situation included it. This view will
show a Web page if the text consists only of a URL reference.
Notice the More entries below the situation Navigator item. These indicators
keep the tree compact so you can see more alerts in the viewable area without
having to scroll. Click More if you want to open that branch of the tree.
To create an acknowledgment that signals to other users you are investigating the
situation event, do the following:
1. Right-click the TEP_Tutorial item in the Navigator, then select Acknowledge
from the pop-up menu.
The Acknowledgement window opens.
2. Adjust the Expiration settings so the acknowledgment expires in five minutes.
3. Type a note for the situation event, such as, This situation and event are for
training purposes only. Please disregard., then click to insert an event
timestamp.
4. Click OK to close the window.
The situation item in the Navigator and event flyover list shows for the
acknowledgment. The indicator turns off if the situation becomes false. If the
situation is still true when the acknowledgment expires, the indicator will
change to Expired, and remains until the situation goes to false or is
closed.
Conclusion
In this chapter, you learned the basics of monitoring:
v the Navigator and how to use it to open workspaces and respond to situation
events
v real-time monitoring with workspaces and how you can manipulate them, such
as to minimize the Navigator for more viewing space
v event-based monitoring with situations and how to handle situation events
when they open
The next chapter, introduces the views available for workspaces and has a lesson
on customizing a workspace. The remainder of the chapter covers workspace
functions and creating a simple workspace-to-workspace link.
Workspace Views
The predefined workspaces for your IBM Tivoli Monitoring product consist
primarily of chart and table views. You can save them as new workspaces and
customize them with over a dozen types of views.
Data views
The table and chart views are the first step to getting something meaningful from
the data being collected. When you understand what values and states are causing
problems, you can refine your views to show what is important.
Table view
Table views show a column for each attribute, and only a single row of data if the
attribute group is one that reports only one row; or multiple rows for multiple-row
attribute groups or historical reporting.
Chart views
Your predefined workspaces may have any of five different chart views:
Pie Chart has a slice for every data point in a single data series (row). Pie
charts best show the proportional value of related attributes to a whole, such as
the percentage attributes that show how memory is being used.
Bar Chart displays a bar for each data point. Bar charts are best suited for
comparing values among related attributes. The stacking bar chart best shows
multiple values for the same attribute.
Plot Chart shows changes over a period of time by drawing a continuous line
from one data point to the next, one data point for each data sampling and one
line for each attribute selected. The plot chart best shows trends over time and
among related attributes.
Circular gauge shows the proportional amount of a data series, one gauge for
each attribute chosen. This type of chart is well suited for showing individual
elements that change frequently, such as percentage user time.
Linear Gauge shows the collective value of every item in a single data series, one
gauge for each attribute chosen. This type of chart is well suited for showing
cumulative values.
Message Log shows the status of situations and events that have been opened for
the managed systems in your enterprise, up to 100 row entries.
Situation Event Console view adds a row for every event status change for
situations associated with this branch of the Navigator, up to 100 rows. The
console has a toolbar for quick filtering to show only those rows of interest, and a
pop-up menu for responding to alerts.
Graphic view displays a map or illustration that is overlaid with icons for
Navigator items and their alerts.
Other views
Your workspaces may also have any of these specialized views.
Tivoli Enterprise Console event viewer to display events from the Tivoli Enterprise
Console event server. You can also integrate events with situation events from the
monitoring server.
Notepad view so you can write notes about the workspace. When saved with the
workspace, you can read notes from and write notes for other users.
Universal message console view shows situation and policy activity, and messages
received as the result of universal message generation.
Take Action view for sending a command directly to a managed system. For
example, if you see a process consuming too much memory, you can send an email
to someone to shut down the application or you can send shut down command
directly to the managed system. Some monitoring agents come with a set of
predefined take action commands that you can choose from a list. You can also
issue commands yourself, and save those you use often for inclusion in the list of
available action commands.
Chapter 13, “Terminal view” for starting a 3270 or 5250 session to access your
mainframe applications, or for starting the Telnet interface. If the terminal view
specifies a terminal emulator script then, whenever you open the workspace, the
script will run automatically. For example, you may have a script that starts an
OMEGAVIEW session.
Browser view for opening Web pages. The URL is saved with the browser view
when you save the workspace, and the browser opens to that address whenever
you open the workspace. The URL could supply additional monitoring information
for the current application, and you can navigate to other URLs.
A workspace can have one view or as many as you can practically fit into the
space. In this lesson you will create a new workspace from the Enterprise
Monitoring Status workspace and tailor it with new views. By completing this
lesson, you will learn how to customize workspaces to make them work for you.
For you to complete this lesson, your user ID requires Workspace Author Mode
permission, the Navigator Physical view as an Assigned View, and the Enterprise
level as the Assigned Root for that view.
Adding a view
Now you will drop a browser view and a notepad view into the workspace.
1. Click Browser, then release the mouse button.
2. Move the mouse anywhere inside the top-right view in the workspace and click
once.
After you select a view from the toolbar, the mouse changes to a hand when it
hovers over a view. After you click, the browser view replaces the old view.
Initially, the browser view opens the Tivoli Enterprise Portal overview from the
help.
3. Enter a URL in the address field, such as http://www.ibm.com.
Now add a notepad view:
4. Click Notepad, then release the mouse button.
5. Click inside the Open Situation Count - Last 24 Hours bar chart.
The notepad view replaces the chart.
6. Write a short note such as, Here is where I keep notes about what I should review
the next time I start a portal work session.
If this were your default workspace for Enterprise, you would see this text
whenever you started Tivoli Enterprise Portal.
7. Click Save Workspace.
Multiple workspaces
You have just created another workspace for the same item. In the following
exercise you learn how to see what other workspaces are available for an item and
open them.
1. Use the techniques you have learned to open a workspace somewhere else in
the Navigator.
2. Click the Enterprise Navigator item.
The default workspace opens instead of the one you just created.
3. Right-click the highlighted Enterprise Navigator item.
A pop-up menu opens.
4. Point to Workspace then select your new workspace, TEP Tutorial.
Your new workspace replaces the default workspace.
Tip: If you are making changes to a workspace and make a mistake, you can
start over without saving your changes. Just select the workspace from the
pop-up menu as you did in this exercise. When asked if you want to save
the workspace, click No. The workspace appears as it was when last
saved.
Splitting a view
When you added a view, you replaced an existing view. Use the split tools when
you want to add more panes to a workspace or keep the original view intact.
1. If the TEP Tutorial workspace is not open, select it from the pop-up menu for
Enterprise
2. Click Split Vertically in the notepad view toolbar.
The space divides in half and now there are two identical versions of the
notepad view.
3. Click Table, release the mouse button, then click inside one of the notepad
views.
If you add a table or chart view to a workspace and choose no query or the
query is inappropriate for the type of chart, no data will appear. The query
specifies from which attributes to retrieve data from the agent.
4. When a message asks if you want to assign the query now, click Yes and
continue to “Selecting a query”.
Selecting a query
1. If you did not select Yes when a message asked if you want to assign the query
now, right-click the table view you just created and Select Properties from
the pop-up menu.
2. In the Query tab, select
Properties.
When you open the Properties editor from the toolbar, the properties for the
workspace open. Here is where you can set a workspace as the default for the
Navigator item or hide it from view if you want it available only as a link.
2. Select the table view you created earlier (named Table) from the list on the left.
38 IBM Tivoli Monitoring: User’s Guide
IBM Confidential
3. Click the Filters tab and uncheck the columns you do not want in the view:
Origin Node
Host Address
Managing System
Affinities
You can also enter a formula in the cells to filter the number of rows returned.
For example, you could choose to show only the agents that are offline.
4. Click the Thresholds tab and add an informational threshold for OFFLINE:
a. Click inside the first cell under Status.
b. Leave the function at Value.
c. Leave the operator at Equal.
d. Click inside the text box and type *OFFLINE.
e. In the cell at the beginning of the same row, select Informational.
If you click Show Formula, the Formula area will show: Status == ONLINE
5. Click the Style tab and type a description in the Header Text field: Managed
System Availability.
6. Click OK to close the editor and see the results.
Properties editor
Every workspace has general properties and an additional set of properties for
each view it contains.
The Properties editor shows a tree on the left with the workspace followed by then
folders for every type of view in the workspace.Appearing to the right of the tree
are the workspace or view properties, depending on which is selected in the tree.
The Properties editor shows one or more tabs for the different view types.
Note that the Take Action and Browser views have no properties associated with
them, although the Style tab appears if you select Properties.
The Workspace properties open when you select Properties from the toolbar. If you
opened the Properties editor by right-clicking a workspace view and selecting it
from the pop-up menu, the view’s properties show like the bar chart example in
the next figure. You can get to the workspace properties by clicking the top-most
entry in the Properties tree.
You can open the Properties editor for a specific view by right-clicking the view
and selecting Properties from the pop-up menu. Once the editor is open, select a
view from the tree to see its properties.
Design guidelines
Here are some guidelines to help you plan your workspaces.
v Tailor the content of a workspace to the Navigator level in the hierarchy:
Workspaces at the top of the hierarchy can show summary information. Those at
lower levels can provide more detailed information.
v Do not crowd too much information in one workspace. Instead, have multiple
workspaces at one level. Have summary information at the agent level of the
Navigator Physical view.
v Use custom queries that pre-filter the data used in a table or chart to ensure
fastest data retrieval and that you see no extraneous data. And use as few
different queries as possible in one workspace.
v Design at the same monitor resolution. If you are creating in workspace
administration mode for multiple users, use 1024 x 768, which is the lowest
resolution Tivoli Enterprise Portal can run at.
v For table views with many columns, arrange them so the important ones are
visible. Consider removing some columns by pre-filtering (Properties > Query)
or post-filtering (Properties > Filters).
v Any changes you make to a workspace are available only to your Tivoli
Enterprise Portal user ID; no one else will see your changes. The exception is
when you work in workspace administration mode, where any workspace
customization you make is available to all users. See the Tivoli Enterprise Portal
help or the IBM Tivoli Monitoring Administrator’s Guide.
Tip: The managed systems available for reporting are those assigned to the
Navigator item. If you are not sure which are assigned, select the Navigator
item, then right-click it and Select Properties from the pop-up menu.
For you to create, edit, restore or delete a workspace, your user ID requires
Workspace Author Mode permission.
Assign as default for this Navigator Item if you want this workspace to open
when you click the Navigator item.
Do not allow modifications if you want to protect the workspace from
changes. Users with access to this workspace can change it temporarily, but if
they attempt to save it, the Save Workspace As window opens to save it as a
new workspace.
Only selectable as the target of a Workspace Link to hide the workspace
except as a possible Link To destination.
5. Click OK.
You now have a duplicate you can modify.
Add a view
No matter which view you add to a workspace, the same technique is used.
1. Open the workspace where you want the view.
2. If you want the view to occupy a new space, click Split Vertically or Split
Horizontally in an existing view.
The pane divides and a duplicate is created. If you split the Navigator, the new
view is empty.
3. Click one of the view types, then release the mouse button.
4. Point and click inside the space to adopt the new view.
As you hover over a view, the mouse pointer changes to . When you click,
the new view replaces the previous view.
Many view types require more configuration and styling before they show
what you want and in a format you like.
5. Configure and format the view as needed:
Data Views What a New View Shows
Table The table fills the space with the results of the current query. If
as message asks you to assign as query and you select No, the
table will appear as a gray box with no column headings. If a
query was assigned and you see column headings but no data,
it means there are no values to display.
Use the Properties editor to select a query or to add filters,
thresholds, or styling.“Customize a table view” on page 46
Pie chart
Bar chart
Plot chart
Circular gauge
Linear gauge
The chart fills the view space. If no query has been chosen or
the query is inappropriate for the chart, you will see no data.
You will need to open the Properties editor and, in the Query
tab, select a query, then, in the Filters tab, select the attributes
to include in the chart.
If the Select Attribute window opens, select an attribute (use
Ctrl+Click or Shift+Click to select more), then click OK.
Use the Properties editor to select a query or to add filters or
styling.
The Properties editor opens with a list of views on the left and the workspace
properties on the right.
2. Make any changes to the workspace properties:
Name, where you can rename the workspace if you like. The name appears in
the title bar or browser mode banner.
Assign as default for this Navigator Item to open this workspace when you
click the Navigator item.
Do not allow modifications to protect the workspace from changes.
Only selectable as the target of a Workspace Link to hide the workspace
except as a possible Link To destination.
3. To save your changes, click Apply if you want to keep the editor open; -OR-
OK if you want to close the editor.
4. To see the properties of any view in the workspace, select the view from the
Properties tree.
The properties tabs for the view open in the right frame.
Delete a workspace
1. Open the workspace you want to delete.
You cannot delete predefined workspaces or those that were created in
workspace administration mode.
2. From the File menu, select Delete Workspace, then Yes to confirm.
Overview
The link feature enables you to define a link from one workspace to another. You
can then quickly jump to a related workspace to investigate system conditions.
A link that originates from a Navigator item is often a simple link to the target
workspace. Once a link has been defined, you can link to the target workspace by
selecting the link from the source workspace.
For you to define a link, your user ID requires Workspace Author Mode
permission.
Table view
Table shows a column for each attribute and one or more rows of data.
Figure 7 shows a multiple-row attribute group and the indicators that may appear
in a table view. This table:
v has been sorted by %User Time in descending order. Click any column heading
to change sort order.
v links to another workspace (indicated by link anchors).
v has an informational threshold set for Process Name; and critical, warning and
information thresholds set for the %User Time values. A threshold column
shows a , Critical, Warning, or Informational icon you can click to sort
by the threshold value. A column with multiple thresholds shows the indicator
for the highest threshold.
v has a hot scroll button, which tells the user to scroll in that direction to see more
threshold values for that state.
You can also get table views to show data samplings over a period of time. The
attribute group must be either a historical attribute group or have been configured
for historical data collection, in which case you will see Time Span in the view
toolbar for setting the time period.
Chart views
You can customize a workspace with any of five different chart views:
Note: Pie charts, bar charts, and plot charts can show data samplings over a
period of time. The attribute group for the chart must be either a historical
attribute group or have been configured for historical data collection, in
which case you will see Time Span in the view toolbar for adjusting the
time reported.
To create a new view and edit its properties, your user ID requires Workspace
Author Mode permission.
3. Click Table, release the mouse button, then click inside a view.
The mouse pointer changes to a hand as you move inside the workspace.
The old view is replaced by the table. If no query was chosen for the view you
are replacing, no data will appear and you need to choose a query.
The table view shows current data retrieved from a monitoring agent or alert
manager or from an ODBC data source, one column for every attribute. The
table reports a single row of data or multiple rows, depending on the nature of
the attribute group and whether historical data collection has been established
for this group.
If you are happy with the contents of the table and its appearance, you are
done. Otherwise:
v If a message asks you to assign a query, click Yes, then, In the Query tab of
the Properties editor, select Click here to assign a query and continue
with “Select a query” on page 51.
The Query editor opens with a list of all IBM Tivoli Monitoring product
queries.
v Select a query if the table is empty or you want to report different attributes.
v Filter the table to control the columns and rows that display.
v Add column thresholds to highlight a cell when the value reaches an
informational, warning or critical threshold.
v Style the table to edit the header or footer and adjust the formatting.
Column manipulation
Without going to the Properties editor, you can change the appearance of the table
view:
v Adjust column width by dragging a border left or right.
v Lock a column by right-clicking inside the column heading and selecting
Lock this Column. The column and any columns to left are fixed in place as
you scroll the table left or right. To unlock, right-click a column heading and
select Unlock Table Columns.
v Change column order by dragging a column heading and dropping to insert it
between other columns.
v Click a column heading to sort the table by that column in ascending order, click
again for descending, and again to go back to the original arrangement. (You can
also build a query that specifies a sort order, as described in Creating custom
queries.)
Select a query
1. If the Properties editor is not open, right-click the table view and select
Properties from the pop-up menu.
2. In the Query tab, select Click here to assign a query.
The Query editor opens with a list of Tivoli monitoring product queries.
3. Click to expand the Tivoli monitoring product and attribute group
folders to see the queries.
4. Select a Query title to see its description.
The query description, edit date, and specification show in the right frame. The
checked boxes indicate which attributes from the group are included in the
query. The cells in the numbered rows show any filter criteria for the query.
5. When the query you want to use is open, click OK to select it for this view and
return to the Properties editor.
The next step applies only to multiple-row attribute groups or tables that have
Time Span is set for retrieving historical data.
6. Optional: To change the number of rows retrieved at one time from the default
100 rows per page, select one of the following from the View-level Page Size
area:
Return all rows to retrieve the entire row set to the view at one time. If
there are many rows, the table view may take some time to display.
Number of rows to return to specify the exact number of rows to apply
to a page. Keep the number to a size than can be retrieved in a reasonable
period of time.
7. Do one of the following:
v To add filtering, thresholding or styling to the view, select the appropriate
tab and follow the steps in the sections that follow.
v To edit the properties of another view in this workspace, click Apply to save
your changes, then select the next view from the Properties tree on the left.
v To apply your changes and close the editor, click OK.
If you chose a custom SQL query that includes a variable in the statement, you
will be prompted to enter a value when you click Apply or OK. The value
filters the view, but is temporary and cannot be saved with the workspace.
-AND- user time exceeds 5%. (Scan for string within a string equals ’java’ for
Process Name AND % User Time < 5.)
v The threshold expressions you enter in the same row have an AND
relationship. When a retrieved value satisfies all the expressions in a row, the
cell background will be colored.
v The threshold expressions in each row are independent. If a retrieved value
satisfies the conditions in more than one row, the cell background will show
the color for the highest severity, the lowest being Informational and highest
being Critical.
The threshold expressions in the formula editor (Figure 10) are rendered in the
table view (Figure 11). Notice the hot scroll buttons indicating more critical and
informational threshold cells above and below the view space:
You can add thresholds to highlight cells whose values meet the threshold set.
1. If the Properties editor is not open, right-click the table view and select
Properties from the pop-up menu.
2. Click the Style tab.
3. Click the Header or Footer area of the thumbnail graphic.
4. In the Options area, enable or disable Show Header (or Show Footer) and Show
Border.
5. In the Title area, type a header (or footer) in the Text field, and make any
changes to the font styling.
6. When you are finished editing the view, click Apply to save your changes, then
select another view to edit from the Properties tree; -OR- click OK to save your
changes and close the window.
To create a new view and edit its properties, your user ID requires Workspace
Author Mode permission.
Select a query
The query determines which attributes are available to display in the chart.
1. If the Properties editor is not open, right-click the chart view and select
Properties from the pop-up menu.
2. In the Query tab, select Click here to assign a query.
The Query editor opens with a list of Tivoli monitoring product queries and
any custom queries.
3. Click to expand the Tivoli monitoring product and attribute group
folders to see the queries.
4. Select a Query title to see its description.
The query specification shows in the right frame. The checked boxes indicate
which attributes from the group are included in the query. The cells in the
numbered rows show any filter criteria.
5. When the query you want is open, click OK to select it for this view and return
to the Properties editor.
The next step applies only to multiple-row attribute groups or charts that have
Time Span set for retrieving historical data.
6. Optional for pie and bar charts: To change the number of rows retrieved at one
time from the default 100 rows per page, select one of the following from the
View-level Page Size area:
Return all rows to retrieve the entire row set to the view at one time. If there
are many rows, the chart may take some time to display.
Number of rows to return to specify the exact number of rows to apply to
a page.
This setting controls the page-break size of the pie chart and bar chart views.
For example, a pie chart gives you one pie for each row of data returned, so 50
rows will give you 50 pies in the view. By limiting the page size to, say, three
rows, you can have three pies on a page, using PageDown to turn to the next
page. The smaller page size speeds up data retrieval to the workspace because
only one page is retrieved at a time rather than the entire row set.
7. Follow the steps in Filter the chart to select the attributes to display.
Because charts cannot show text or time attributes, when you select a query, no
attributes are enabled in the Filters tab.
to enter the value to be compared with the values arriving from the
managed system. Enumerated attribute values, such as online or offline, will
have a list of possible choices.
v See Appendix Appendix A, “Formula functions,” Appendix A, “Formula
functions,” on page 205.
5. Repeat step 4 if the filter criteria involves multiple columns or multiple rows:
v Expressions entered in the same row have an AND relationship. In the
example below, a row will be written when the process name includes java
and user time exceeds 5%. (Scan for string within a string equals java for
Process Name AND % User Time > 5.) See Figure 8 on page 49.
v Expressions in different rows have an OR relationship. In the example below,
a row will be written when the process name is either System or Services.
See Figure 9 on page 49.
6. Do one of the following:
v To add styling to the view, select the appropriate tab and follow the steps
below.
v To edit the properties of another view in this workspace, click Apply to save
your changes, then select the next view from the Properties tree.
v To apply your changes and close the Properties editor, click OK.
If you chose a custom SQL query that includes a variable in the statement, you
will be prompted to enter a value when you click Apply or OK. The value
filters the view, but is temporary and cannot be saved with the workspace.
You can add thresholds to highlight cells whose values meet the threshold set.
1. If the Properties editor is not open, right-click the table view and select
Properties from the pop-up menu.
2. Click the Style tab.
3. Click the thumbnail graphic on the area you want to edit.
Pie chart
Use pie charts to see the proportional value of each item to the whole.
The pie is divided into slices for every data point in a single data series (row).
When you specify attributes from a group that returns multiple rows, Tivoli
Enterprise Portal draws a pie for each row. When the query is assigned to multiple
managed systems, you will get a pie for each managed system.
You can tilt a pie chart by holding down the Alt key while dragging the mouse
pointer up or down anywhere on its surface; adjust the height of the pie by
holding down the Shift key while dragging the mouse pointer.
If you have historical configuration set up, you can also display data from
previous refreshes using Time Span in the view toolbar.
Plot Area Click the pie area of the thumbnail graphic to open the Pie Chart
tab.
Pie Chart
2D to display flat pies
3D to display three-dimensional pies that you can tilt up or
down by dragging the chart view surface.
Header Click Header on the thumbnail graphic to open the Header tab.
Header
Show Header displays the header text at the top of the chart.
Show Border draws an outline around the header text.
Text shows the view title and is where you can edit the font
styling.
Footer Click Footer on the thumbnail graphic to open the Footer tab.
Footer
Show Footer displays the text at the bottom of the chart.
Text shows the footer text and is where you can edit the font
styling.
Legend
Click Legend on the thumbnail graphic to see the Legend tabs.
Legend - General
Legend adds a legend in the chart
Border applies an outline around the legend.
Position of the legend in the chart. Click to see and select
another position.
Font is the font to use for the legend and is where you can edit the
font styling.
Legend Label
Legends lists the attributes that are being plotted. Select an
attribute from the list to see and change the legend text or the pie
slice color.
Text shows the legend label—the attribute name.
Fill Color is the color for the label and pie slice, which you can
change to one of the available colors, or click Custom Color to
choose from a wider selection or create your own.
Category Click Category on the thumbnail graphic to open the Category tab.
Category Label
Font is the font to use for the category label and is where you can
edit the font styling.
Attribute name to be used for the category label. Click to see
and select an available attribute or the Default Category Label.
Bar chart
Bar charts are best suited for comparing values among related attributes.
A bar is plotted displays each data point. Attributes are listed vertically with each
attribute given its own bar, and values drawn horizontally.
For multiple-row attributes, Tivoli Enterprise Portal displays a bar grouping for
every row.
You can rotate a 3D bar chart by holding down the Alt key while dragging the
mouse pointer anywhere on the chart; adjust the thickness of a bar by holding
down the Shift key while dragging the mouse.
If you have historical configuration set up, you can also display data from
previous refreshes using Time Span in the view toolbar.
If the bar chart has limited space for showing category labels, you will see labels
for every other bar, every third bar, or whatever is necessary to fit the space. Try
maximizing the view to see all the labels, then restore when you are done. You can
also change the font size of the label.
Plot Area Click the bar area of the thumbnail graphic to open the Bar Chart
tab.
Bar Chart
Type is either Bar Chart or Stacking Bar Chart. The Stacking Bar
Chart is useful for showing multiple values for the same attribute.
2D to display flat bars
3D to display three-dimensional bars that you can tilt up or
down by dragging the chart view surface.
Header Click Header on the thumbnail graphic to open the Header tab.
Header
Show Header displays the header text at the top of the chart.
Show Border draws an outline around the header text.
Text shows the view title and is where you can edit the font
styling.
Footer Click Footer on the thumbnail graphic to open the Footer tab.
Footer
Show Footer displays the text at the bottom of the chart.
Text shows the footer text and is where you can edit the font
styling.
Value Click Value axis on the thumbnail graphic to see the Value Axis
tabs.
Value Axis - General
Grid adds grid lines to the value axis.
Invert Category Axis and Value Axis switches the axis values, so
category becomes the vertical axis and value becomes the
horizontal axis.
Axis Label
Show Text displays the axis label text.
Text is the title that appears next to the value axis and is where
you can edit the font styling.
Horizontal applies the axis label horizontally (same orientation
as the values).
Vertical rotates the label to display it vertically along the axis.
Value Axis
Font is the font to use for the values along the axis and is where
you can edit the font styling.
Horizontal displays the axis values horizontally.
Vertical rotates the axis values to display them vertically along
the axis.
Category Click Category on the thumbnail graphic to open the Category tab.
Category Axis - General
Grid adds grid lines to the category axis.
Invert Category Axis and Value Axis switches the axis values, so
category becomes the vertical axis and value becomes the
horizontal axis.
Axis Label
Show Text displays the category axis label text.
Text is the title that appears next to the category axis.
Font is used for the category axis label.
Size is the font size in points.
Horizontal applies the label horizontally (same orientation as the
values) along the category axis.
Vertical rotates the label to display it vertically.
Category Axis
Font is the font to use for the values along the axis and is where
you can edit the font styling.
Horizontal displays the axis values horizontally.
Vertical rotates the axis values to display them vertically along
the axis.
Attribute name to be used for the category label. Click to see
and select an available attribute.
Legend Click Legend on the thumbnail graphic to see the Legend tabs.
Legend - General
Legend adds a legend in the chart
Plot chart
The plot chart is useful for showing trends over time and among related attributes.
The chart shows changes over a period of time by drawing a continuous line from
one data point to the next, one data point for each data sampling and one line for
each attribute selected.
If you have historical configuration set up, you can also display data from
previous refreshes using Time Span in the chart view’s toolbar.
If the attribute is from a multiple-row attribute group, only the value from the first
row will be charted. The plot chart can show data from one managed system only.
Plot Area Click the plot area of the thumbnail graphic to open the Plot Chart
tab.
Plot Chart
Plot Duration has a slider bar for adjusting the duration of the
chart, from five minutes (300 seconds) to one hour (3600 seconds).
If the chart continues to display after the duration is complete, old
plot points drop off as new values arrive.
Header Click Header on the thumbnail graphic to open the Header tab.
Header
Show Header displays the header text at the top of the chart.
Show Border draws an outline around the header text.
Text shows the view title and is where you can edit the font
styling.
Footer Click Footer on the thumbnail graphic to open the Footer tab.
Footer
If the attribute is from a multiple-row attribute group, only the value from the first
row will be charted. The circular gauge chart can show data from only one
managed system.
Plot Area Click the circular gauge area of the thumbnail graphic to open the
Scale, Center, Needle, Tick and Range tabs.
Scale
Type is Top Half Circle by default, which you can change to Full
Circle, Top Half Circle, Bottom Half Circle, or Left Half Circle.
Color shows the gauge color. You can change to an available color,
or click Custom Color to choose from a wider selection or create
your own.
Center
Show Center places a shape at the base of the pointer, which is a
red circle by default. Uncheck this box remove the center shape.
Color shows the color of the center shape, which you can change
to an available color, or click Custom Color to choose from a wider
selection or create your own.
Needle
Style of the needle is Arrow by default. You can change it to:
Arrow, Pointer, Rectangle, Tailed Arrow, Tailed Pointer, or Triangle.
Length has a slider bar for adjusting the needle length relative to
the radius of the circle. The default is 80%.
Width has a slider bar for adjusting the needle width from 1 pixel
up to 20. The default is 12 pixels.
Color shows the needle color, which you can change to one of the
available colors, or click Custom Color to choose from a wider
selection or create your own.
Tick
Type of tick mark is set to Line by default. You can select a
different marker: Circle, Line, Rectangle, Reverse Triangle, Triangle.
Tick Mark Color shows the color of the tick marks, which you can
change to an available color, or click Custom Color to choose from
a wider selection or create your own.
Show Tick Labels enables you to turn off the range number that
appears next to the tick mark. When the box is checked, the labels
are colored as shown in the field below. You can change the label
color to one of the available colors, or click Custom Color to
choose from a wider selection or create your own.
Range
Select the Range tab to change these styles:
Attribute shows the attribute to which the range applies. Set the
range to display on the gauge. If you chose multiple attributes for
the view, you can select another attribute from the list.
Range Values Minimum Value initially shows the default lowest
possible value; Maximum Value shows the default highest possible
value. You can edit the values to reflect a more realistic range, if
needed. The example here shows a circular gauge with the default
range of -2.147483648E9 to 2.147483648E9, and after it was changed
to a range of 0 to 5000.
Select Apply to all views that use this attribute if this range is
appropriate for this attribute on all other managed systems. The
range will be used only for gauge views of this attribute.
Click Edit Subranges to add threshold coloring:
If the attribute is from a multiple-row attribute group, only the value from the first
row will be charted. The linear gauge chart can show data from only one managed
system.
Plot Area Click the linear gauge area of the thumbnail graphic to open the
Scale, Needle and Tick tabs.
Scale
Historical reporting
Overview
The following views have a tool for setting a time span, which causes previous
data samples to be reported within the time range you specify:
v table view
v bar chart
v pie chart
v plot chart
As well, your monitoring agent may have predefined workspaces with historical
views.
The historical data shown in these views is retrieved from history files set up
through the History Collection Configuration window. These history files collect 24
hours worth of data. Beyond 24 hours, the oldest data samples are deleted as new
ones arrive, or if you have a data warehouse, the data is rolled off before being
deleted.
For information on warehousing historical data, see the Tivoli Enterprise Portal
Administrator’s Guide.
If the Time Span tool is disabled (dimmed), your user ID does not have
Workspace Author Mode permission.
Note: If you do not see Time Span in the view’s toolbar, data collection has not
been started for this attribute group. See Setting a time span and Start or
stop historical data collection.
1. Open the workspace containing the table or chart where you want to report
historical data.
2. Click Time Span.
If the tool is unavailable, no historical reporting is possible for this view. (See
Notes at the end of this topic.) Historical data is available in the table, bar
chart, pie chart, and plot chart views when historical collection has been
configured and started for the monitoring agent associated with the view.
3. Click the Last or Custom radio button (or Real time to stop historical
reporting).
4. If you selected Last , enter the length of time to report in digits, then select an
interval from the list: Hours, Days, Weeks, Months, Quarters, or Years.
5. In the parameters area, click the Use detailed data or Use summarized data
radio button:
v For Use detailed data, all data samples for the specified time period will be
chosen. If multiple time attributes are available, you can select one to be the
first column in the historical view from the Time Column list.
v For Use summarized data, specify the time period, shift, and days for which
to retrieve the summarized data samples.
6. If you chose Custom time span, you can specify an exact Start Time and End
Time :
a. For Start Time and End Time, click the adjacent list box to open the date
editor.
b. Click next to the element to change (year, month, hour, minute, second or
AM/PM) to adjust up or down.
If you close the date editor without clicking the day of the month, the changes
you just made will not take effect.
7. If you want to apply the time span to any other views in the workspace that
use this query, select the Apply to all views associated with this view’s query
check box.
8. Click OK.
The view shows data from earlier samplings for the period specified. If this is a
table, a time stamp appears as the first column and is accurate to the nearest
minute; seconds appear as 00.
9. To keep the time span settings for this view, click Save.
Note: Even if data collection has been started, you will not be able use the time
span feature if the query for the chart or table includes any column
functions. If this is the case, you can select or create another query to enable
Time Span.
The sort function is incompatible with the historical reporting feature. If you
are using Time Span to retrieve historical data, the chart or table will not be
sorted even if you have specified a sort order in the query. Nonetheless, you
can still sort a table by clicking a column heading.
Your user ID must have Configure History permission to see and use this
feature.
1. Click History Configuration to open the History Collection Configuration
window.
2. In the Select a product list, click the monitoring agent for which you want to
collect data.
The Select Attribute Groups area fills with the attribute groups for which you
can collect historical data. When you select a product type, you are configuring
collection for all like managed systems.
3. Select one or more attribute groups, then use the Configuration Controls area to
select the interval and location for data collection. If you have a Tivoli Data
Warehouse you can also configure the warehousing interval, and the time
periods for data summarization and pruning, and the length of time to keep
the summarizations. (Click Help for a description of these options.)
Not all attribute groups are available. This is because some are deemed
inappropriate or would have a detrimental effect on performance.
It is preferable to collect data at the monitoring agent rather than the
monitoring server. Collecting at the monitoring server adds network overhead
and increases CPU consumption. This is not true, however, for the z/OS-based
OMEGAMON products that run in the same address space as the monitoring
server: Data must be collected at the monitoring server.
4. Click Configure Groups to apply the configuration selections to the
highlighted attribute groups.
Note: The controls show the default settings when you first open the window. As
you select attribute groups from the list, the controls do not change for the
selected group. If you change the settings for a group, those changes
continue to display no matter which group you select while the window is
open. This enables you to adjust the configuration controls once and apply
the same settings to any number of attribute groups (one after the other, or
use Ctrl+click to select multiples or Shift+click to select all groups from the
first one selected to this point). The true configuration settings show in the
group list.
Note that query support is not provided for Universal Message Log or
TWORKLST (Worklist Log).
extension. For example, if you select the Windows Cache attribute group, the
two history files are NTCACHE.hdr and NTCACHE.
v Click Stop Collection.
Overview
Tivoli Enterprise Portal chart and tables views show the values of attributes from
your Tivoli Monitoring Services products or ODBC data source. Underlying each of
these views is a query that specifies which attributes to retrieve and from where.
Figure 12 illustrates the use of queries. Click a Navigator item to open its default
workspace. Any queries go to the monitoring server to retrieve sampled data from
the monitoring agents. The results are displayed in the table and chart views .
The graphic view is a non-data view and does not use a query.
Once a query retrieves the requested data, you can use the Properties editor Filters
tab to filter out any unwanted data from the view. You can use the same filtering
capability in the query itself to filter the data before it is retrieved. This pre-filtering
means the Tivoli Enterprise Portal Server has less data to retrieve and therefore
speeds up the process.
Other data views in the workspace can use the same data retrieved by the query.
Using the same query for multiple views in a workspace conserves resources at
both the portal server and monitoring server.
2. If you do not see the Query tool, your user ID does not have View or Modify
Query permissions.
3. If you can see the tool but it is disabled, your user ID does not have Workspace
Author Mode permission.
4. If you can open the Query editor but the tools are disabled, your user ID does
not have Modify Query permission.
1. Do one of the following to open Query editor:
v Click Queries.
v Right-click a table or chart view where you would like to apply the new
query, Select Properties from the pop-up menu, then Click here to
assign a query.
2. Click the plus sign to expand the monitoring agent and attribute group
folders to see the queries.
3. Find a query similar to the one you want, select the query and click
Create another query.
4. In the Name field, type a name of up to 32 letters, numbers, underscores (_)
and spaces, then click OK.
A duplicate of the original query appears with the name you entered.
5. In the Description field, type a new description, up to 256 characters and
spaces.
6. Edit the specification for any changes you want to make:
v Add an attribute to the query by clicking Add Attributes and selecting the
attributes you want to include. The attributes available are from the group
used in the original query.
v Remove an attribute by right-clicking the column heading and selecting
Delete. (You can also right-click a row and delete it.)
v Clear the filter criteria by right-clicking the cell, column or row and selecting
Clear Contents.
v Insert a row by right-clicking the row and selecting Insert.
v Cut, copy or paste by right-clicking the cell or row and selecting Cut, Copy
or Paste. When you paste, the contents of the clipboard overwrites the cell
or row.
v Add filter criteria by clicking in a cell and writing the expression. See “Cell
Functions” on page 207. == $NODE$ (or any name enclosed in dollar signs)
is a required filter; you must not delete it.
v Add a column function by clicking in the column heading and selecting a
function from the list; then clicking Advanced, and selecting the column to
Group By. See “Group Functions” on page 211.
v Specify a sort order by clicking Advanced, and selecting the column to Sort
By (see “Advanced options” on page 69). Note that if you selected a Group
By column, you cannot also specify a sort order.
v Specify the exact number of rows to show in the view by clicking Advanced
(see “Advanced options” on page 69), and selecting the First / Last number
to retrieve.
See the Tivoli Enterprise Portal help for examples.
7. Optional: If you opened the Query editor from the view Properties, you can
change the list of managed systems from which the query will extract data:
Select the Query Results Source tab, select Let user assign explicitly, then
remove managed systems from the Assigned list with and add them with .
Note: The attributes in a query can be from one group only; you cannot mix
attributes from different groups in the same query.
Advanced options
Click Advanced in the Query editor to open the Advanced Options window. It has
three tabs for setting the sort order of the view, the attribute to use in the column
function, and the number of rows you want to display from the beginning or end
of the list.
Note: The column, Sort By, Group By, and First/Last functions are not compatible
with the historical reporting feature. Use of these advanced functions will
make a query ineligible for historical data collection.
Even if data collection has been started, you will not be able use the Time
Span feature if the query for the chart or table includes any column
functions or advanced query options (Sort By, Group By, First / Last). If this
is the case, you can select or create another query to enable Time Span.
Sort By
Use this area to determine how the view will be sorted.
v Sort By lists the attributes used in the query. Click the radio button for the
sorting to be Ascending or Descending order. The default is None. Choose
a column to sort by.
Note: You cannot specify both a Sort By column and an Order By column
(required for column functions) in the same query.
Group By
Use this are to group the columns used in the query.
v Group By lists the columns included in the query. The default setting is None.
You can group the query results by the attribute you choose. Used in
conjunction with column functions. See “Group Functions” on page 211.
Notes:
1. Group By sets the grouping order for the column function, which also
determines the sort order. You cannot also specify a sort order in the Sort By
tab.
2. COUNT in a query to the monitoring server works differently than it does in a
situation. It counts the members referenced in the Group By statement, not
where you enter the COUNT function. The contents of the column where you
create the column expression are replaced by the count results. One of the
monitoring server query examples in the Tivoli Enterprise Portal help shows
how COUNT is used in a query: “Count the processes on each system”.
None
First displays only the first, or earliest, rows received from the monitoring agent.
The number of rows that display is set in the text box.
Last displays only the last, or most recently arrived, rows from the monitoring
agent. The number of rows that display is set in the text box.
The ROWS portion of the formula shows only on the Query tab of the Properties
editor. For example, if your query is set to show only the most recent rows, up to
12 total, the formula shows as ROWS: LAST(12).
Constraints
The Constraints tab appears only when your user ID is in Workspace
Administration Mode.
Use this tab to list any constraints in the query. These are PARMA items. Most
queries do not have PARMA items, but those that do will list them here. You can
select one and edit or remove it, or add a new constraint. An example of a PARMA
item is TIMEOUT = 600. This PARM sets the view so that attempts to render it will
discontinue after 10 minutes.
Add opens the Query Constraint Information window, which has fields for you to
enter a PARMA name and its value.
v Right-click a table or chart view where you would like to apply the new
query, Select Properties from the pop-up menu, then Click here to
assign a query.
Delete a query
If you delete a query that is being used by a view, the view will no longer be
associated with a query and will have no data when you next open its workspace.
1. Do one of the following to open Query editor:
v Click Queries.
v Right-click a table or chart view where you would like to apply the new
query, Select Properties from the pop-up menu, then Click here to
assign a query.
2. Click to expand the monitoring agent and attribute group folders to see
the queries.
3. Select the Query you want to delete and click Delete Query.
4. Click OK to confirm.
You can also add your own symbols to a query to provide more customization
options in the Link Wizard.
3. Select Properties from the pop-up menu, then Click here to assign a
query.
The Query editor opens.
4. Review the query specification to see that it has a symbol defined for the
attribute on which you want to build the custom link. Symbols are surrounded
by $ (dollar signs).
5. If the attribute has no symbol, create your own by entering $mysymbol$ in the
first cell in that column, where mysymbol is a one-word name.
If the query already has a symbol (or symbols) defined, such as
$WTPROCESS.IDPROCESS$, be sure to add your symbol to the same row to
create an AND expression.
You could create a symbol for any column whose value can be used to restrict
the number of rows returned. If the symbol resolves to a non-null value, a
restricting where clause will be added; if not, it will be skipped.
6. Click OK to save your changes to the query and close the window.
7. Repeat these steps for any other views whose query you want to modify.
When you are done, you can open the source workspace for the link and start
the Link Wizard from the chart or table row. The symbol you added appears in
the list of symbols available for the query.
Symbol format
v Use a one-word name surrounded by dollar signs, as in $mysymbol$, where
mysymbol is the symbol name.
v For symbols of monitoring agent attributes, do not use the same name as an
attribute. For example, $MYNODE$ is acceptable, but not $NODE$.
v When the link is launched, a symbol resolves to a value enclosed in single quote
marks if it is anything other than an integer. An integer resolves without the
quotes.
Follow steps 1 through 3 above to open the SQL query in the Query editor. Then
add the symbol to the SELECT statement, using the following guidelines:
v Use a one-word name surrounded by dollar signs, as in $mysymbol$, where
mysymbol is the symbol name.
v When the link is launched, a symbol resolves to a value enclosed in single quote
marks if it is anything other than an integer. An integer resolves without the
quotes. If you do not want the quote marks included in the resolved value, add
a pound sign after the first dollar sign as in $#noquotes$, where noquotes is the
symbol name. This notation is necessary for numeric data types.
When you apply the query to a table or chart, you will be prompted to enter a
value for the variable as soon as you click Apply or OK. The value filters the data
that will show in the view, but is temporary and is not saved with the workspace.
Overview
Every Tivoli Enterprise Monitoring Agent is shipped with a set of predefined
queries that you can apply to a table or chart view. This section describes the
queries delivered with Tivoli Monitoring Services: the Tivoli Enterprise Monitoring
Server queries.
Custom SQL
The Custom SQL queries for the Tivoli Enterprise Monitoring Server give detailed
information about situations and other objects from logs stored at the monitoring
server. As a group, these queries are used primarily by system administrators in
conjunction with IBM Support for analyzing problems and for planning
optimization strategies.
Managed System
These queries all use the same attribute group, Managed Systems. The attributes
are used to check vital heartbeat information from the monitoring server and
monitoring agents. You can create views with these predefined queries.
Overview
Table and chart views show the results of the query assigned, plus any filters you
have applied. The export feature lets you to save the results as a text file, either
TXT or CSV (Comma Separated Values), for use in other programs.
When saving the results, you can select additional columns from the query, even if
they were filtered out of the view, or fewer columns. And you can save all the
rows that were returned or, if there are multiple pages, just those on the current
page.
Note: If this is a new, unsaved table or chart view, Visible rows is selected for
you.
Overview
Link from a Workspace in the previous chapter tells how to define a simple
workspace-to-workspace link. This section describes how to build a link from:
v row in the table view
v bar in the bar chart view
v slice in the pie chart view
v point in the plot char view
In the Link expression editor, you add expressions for passing values from the
source view to the target view when the link is executed. When a link is defined, it
For you to define a link, your user ID requires Workspace Author Mode
permission.
You may need to click Next until you see the Link expression editor.
A link formula requires a target symbol (left frame) and an expression (right
frame). Other than this basic requirement, you can build the link with any
symbol shown. A link definition can have multiple formulas.
2. From the Target Workspace branch (left frame), select a Symbol that
identifies the attribute used to filter the target workspace, or select Footer or
Header to compose the title for the target view.
In this example you could choose NODE or MySymbol, or the Footer or Header for
either view:
Target Workspace
NODE
MySymbol
Pie Chart - <Chart Title>
Footer
Header
Table - <Table Title>
Footer
Header
If you are defining a table or chart link and do not see a target query symbol
for the attribute you want to use to filter the view, you must edit the query to
add a symbol. Click Cancel to exit the Link Wizard, add a symbol to the query
for the target view (see “Adding symbols to queries” on page 72), then start
again.
3. In the Allowable Terms area, select a symbol from the Values list. If your
link originates from a table row or chart point, the Attributes branch opens so
you can select from the source view’s attributes:
Values
Link
Selected Row
Attributes
<Attribute Name>
<Attribute Name>
<Attribute Name>
<Attribute Name>
<Attribute Name>
You can also type text enclosed in double quote marks (“) in the Expression
box. If you combine text with a value, separate the quotes from the value
expression with a plus sign (+). Examples:
Link expression Resolves to
$kfw.LinkSymbolsGroup:PBASED.SOURCE_CONTEXT.2.-1022$
Windows Systems
″My″+$kfw.LinkSymbolsGroup:PBASED.SOURCE_CONTEXT.2.-1022$
My Windows Systems
″My″+$kfw.LinkSymbolsGroup:PBASED.SOURCE_CONTEXT.2.-1022$+″ Now″
My Windows Systems Now
$kfw.LinkSymbolsGroup:PBASED.SOURCE_CONTEXT.2.-1022$+″ in the Navigator
″+$kfw.TreeAdapter:-1022$+″view″
Windows Systems in the Navigator Physical
view
4. Click Test to see the current value of the symbol and to confirm that the
expression is valid.
If no value or Syntax error appears in this window, the expression is invalid.
5. If the value is invalid or not what you want, click Clear, then select another
value and click Test.
Each time you select a value, a convenient Value button appears below the
Expression box to represent the term you just added. Move the mouse pointer
over each button to see its value, and click the button to add the value to the
Expression box.
6. If you want to add more terms to the expression, choose an Operator (such as
add) and another Symbol, apply a Function, or any combination thereof.
Be sure to click Test to check your syntax as you build the expression.
7. Repeat steps 2 through 7 to for any other symbols you want to add for the
views in the target workspace; click Finish when you are done.
8. Click Save or File > Save As to save the link definition with the workspace.
When you save the workspace, the link definition is saved with the workspace.
If you chose Relative as the target method, the link is available from the same
kind of workspace.
When you invoke the link, the result of the expression for each symbol supplies
a value for the target workspace. Any footers and headers you defined will
replace any existing footers and headers in the views. If the launch point is a
table row, a column of link anchor icons appears at the beginning of the table.
Now you are ready to test the link, described next.
2. In the pop-up menu, point to Link To and select the link from the list.
Tivoli Enterprise Portal uses the value of the symbol(s) specified in the link
definition to select the target workspace and its content. An example is a link
from a row in a view that includes the Process Name, and the value of Process
Name is passed to the target workspace. The view(s) whose symbol was
targeted will show information about that particular process.
3. If the target workspace does not display what you expected, edit the link:
a. Open the Link Wizard from the launch point.
b. Select the link, then click Next twice to open the Link expression editor.
c. If the Target Workspace branch does not show the Symbol you need
to specify the right attribute, create one as described in Adding symbols to
queries, then edit the link again.
Tip:: If you were prompted to select the target workspace, but wanted the link
definition to be specific so you do not get this message, do one of two
things: If you had chosen a target selection mode of Relative, define a
new link and leave the target selection mode at Absolute; if the target
selection mode was already set to Absolute, edit the link definition to add
an expression for a target symbol that will uniquely identify the
workspace.
Overview
Custom Navigator views are selectable, navigable and show event indicators in the
same way as the Navigator Physical view. Unlike the Navigator Physical view,
custom Navigator views can be edited. You can, for example, design a Navigator
view for Manufacturing and another for Marketing. This is all done through the
Navigator editor.
You can build Navigator views in two ways: by sharing items with an existing
view and by creating new items.
When you share an item with an existing view, all the managed systems,
workspaces, link definitions, and situations on the source item are applied to the
newly shared item. From then on, changes to one item (such as adding a new
workspace) are applied to the other.
When you create a child item, it has no characteristics other than the managed
systems you assign. Child items offer a means for grouping items that have a
certain relationship, such as all the databases used for sales and inventory. Because
a child item is new to the Navigator view, it will have no workspace defined.
For you to follow the descriptions and instructions in this chapter, your user ID
needs the following permissions: Custom Navigator Views, Modify Situation, and
Workspace Author Mode. Also, the Navigator Physical view must be an Assigned
View.
Sharing items
Navigator items are shared by selecting them from the source view on the right,
dragging to the target view and dropping on the item they should follow.
1. In the Source View on the right, which shows the Navigator Physical view,
open the Windows Systemsbranch.
If you have no Windows Systems, choose another operating platform: Linux,
UNIX, or z/OS.
2. Select a Navigator item below Windows Systems, such as TIVOLIUSER.
3. Drag and drop it on Coffee.
When you first click the item to drag, a border should appear around the name
and, to drag successfully, your mouse pointer should be inside that border. As
When positioned over the target item, the pointer changes to and a border
appears around the item.
Notice the over the icon of the original and copied Navigator items:
Coffee Enterprise
TIVOLIUSER
The white plus sign indicates that the following source Navigator item
designations are also shared with the new Navigator item:
v assigned managed systems
v defined workspaces
v defined links
v associated situations
From then on, changes to one item (such as editing a workspace) are applied to
the other. The indicator reminds you of this shared relationship so you do
not unintentionally change or delete an item from one Navigator view that
might affect another Navigator view.
This is the managed system whose situations you want to associate with the
Navigator item. This assignment has no effect on what data the workspace for
this Navigator item can show, only the event indicators for situations. If a
Navigator item has no managed systems assigned, no events will appear for it
(unless it is part of a rollup display of events), and the Situation editor will not
be available from the pop-up menu.
Deleting items
Delete one of the Navigator items:
1. Select the Floor 2item you just created and click Delete Child Item.
2. When a message asks if you are sure, click Yes.
Navigator items are listed in the view in the order in which they are created on
that branch. If you need to move an item to a different location, you must
delete it and create it again where you want it to appear and in the order in
which it should appear.
Renaming items
Rename one of the Navigator items.
1. Right-click Reception and select Properties from the pop-up menu.
2. In the Name field, change the name to Front Desk.
3. Click OK.
Coffee
TIVOLIUSER
Floor 1
Front Desk
v Click Close to close the Navigator view editor.
The Front Desk Navigator item you created and to which you assigned a managed
system can also show event indicators, but only after situations have been
associated with it.
1. In the Coffee Navigator view, right-click the Front Desk item and select
Situations from the pop-up menu.
2. Click Situation Filter to open the Show Situations window.
3. Check Eligible for Association and click OK.
4. Select the TEP_Tutorial situation or another situation if you do not see it in the
list.
5. In the Condition tab, set the State to Informational and turn on the Sound.
6. Right-click the TEP_Tutorial situation or another situation if you do not see it
in the list, then select Associate.
7. Check your work by clicking Situation Filter and clearing Eligible for
Association, then click OK.
The situation you associated will appear in the list, but not situations that have
not been associated with this Navigator item.
8. Click OK to close the Situation editor.
The next time the situation becomes true, an event indicator will appear
over this Navigator item and over its icon in the graphic view in the Coffee
workspace.
Navigator editor
Overview
You can use the Navigator editor to build your own business-oriented views and
workspaces to better manage your business environment.
The Navigator editor enables you to edit the Navigator view and to create new
Navigator views. You can build a hierarchical structure by creating new child items
as branches in the tree and by adding items from a source Navigator view to a
new target view.
The target view always reflects the view that is currently being viewed. If you
have the authority to edit a Navigator view, you automatically have access to all
managed systems in the network, that is, to the structure of your enterprise. All
changes are applied dynamically.
As the administrator, you can build a Navigator view, assign it to yourself, build
workspaces for the view, and define queries for those workspaces.
If your user ID does not have Modify permission for Custom Navigator Views,
you will not be able to open the Navigator editor.
Logical view
If you have a Candle Management Workstation installation, the enterprise and all
its managed objects are converted to a Navigator view called Logical as part of the
migration process during installation.
In the Navigator Physical view, an agent that has gone offline is indicated by the
dimming of its branch in the tree. This indication occurs in custom Navigator
views as well. Be aware, however, that if you copy an attribute-level item from the
Navigator Physical view to a custom view without copying its parent agent-level
item, you will receive no indication when the agent goes offline. The attribute item
appears normal but when you open its workspace, the chart or table views do not
contain any information.
Situation editor
The Situation editor is where you compose and distribute a situation to the
systems where it should run. When you create a situation, the Navigator item from
which you opened the Situation editor becomes the situation’s associated managed
system. If a situation already existed when a Navigator item was added, you need
to:
v open the Situation editor from the Navigator item where you want the alert to
show
v select the situation
v click Apply
Alerts have an automatic roll-up effect. You only need to apply the situation to its
originating Navigator item. All items higher in the Navigator view hierarchy
consolidate alerts and show an event indicator for the alerts below.
Navigator editor
The Navigator editor is where you assign the managed systems to Navigator items
on which alerts can show. Alerts do not automatically show on the Navigator item
for every assigned managed system that has a situation distributed to it. You must
open the Situation editor from the Navigator item where you want to the alert to
show, select the situation, and click Apply.
v To change the managed system assignments for an item, right-click the item
and select Properties from the pop-up menu. Assign the managed
systems.
7. Click Apply to save your changes to the Navigator view and keep the editor
open, or OK to save your changes and close the editor. The new view appears
in the Navigator view list.
8. If you want the new Navigator view to be available to other users, assign it to
users from the Navigator Views tab.
Note: Apply Pending Updates appears in the Navigator toolbar after you
have edited the view in the Navigator editor.
The first time you click Expand on a Navigator branch of more than, by
default, 25 child items, you are prompted to enter the number to expand at one
time.
3. Click More when you want to open the next group of child items.
If the Expand child items window is not open, right-click the Navigator item
whose child items you want to expand and click Expand Child Items.
Conclusion
This chapter covered the custom Navigator features and the Expand capability. You
can tailor Navigator views for any aspect of your business and for every type of
user.
The Navigator views you create are initially assigned only to your user ID. The
Administer Users window has a Navigator Views tab for assigning Navigator
views to the selected user ID, so users see only the views you want them to see.
See IBM Tivoli Monitoring Administrator’s Guide or the online help for details.
When you have the Tivoli Enterprise Console product installed, another view is
available for showing an even wider range of events: the Tivoli Enterprise Console
event viewer. See Chapter 9, “Tivoli Enterprise Console event viewer,” on page 107
for details.
Overview
In Lesson: Responding to alerts in Chapter Chapter 4, “Monitoring: real-time and
event-based,” you learned about how lights turn on in the Navigator to alert you
of situation events. Along with the Navigator view, there are workspace views
available to help you keep track of these events.
The message log and situation event console views update automatically to show
new situation events as they arrive and changes in status as they occur. The
graphic view gives you a pictorial alternative to the Navigator for indicating alerts.
Figure 13. Workspace with situation event console and message log views
This view has some columns not available on the message log view: Impact and
Age.
Graphic view
Graphic Viewview enables you to add a background image and cover it with
icons. The icons represent each item on the branch of the current Navigator item,
including any event indicators. This view graphically shows what you would see
in the Navigator, including the item name and any event indicators associated with
it. You can also define a link from any of the icons to another workspace.
For example, you may want a graphic view showing your company’s floor plan or
organization chart, and zoom in for more detail. When you add a Graphic view to
a workspace, you select a background image, and then place icons (Navigator
items) onto the Graphic view. You can customize the view using the Graphic view
style sheets.
To create a new view and edit its properties, your user ID requires Workspace
Author Mode permission. For the message log view, your user ID also requires
View permission for Events.
2. The Filters, Thresholds, and Style features available to the Table view can also
be used in the message log view.
Chapter 8. Situation event views: message log, situation event console, and graphic 93
IBM Confidential
Use the quick settings to set a row limit, to filter out unwanted rows, and to
highlight specific cell values.
Tip:: If you edit the properties for this view, you can make the quick filter or
quick threshold permanent by right-clicking the row number and
selecting Remove Quick Flag in the Filters or Thresholds tab.
Overview
The situation event console view is similar to the message log view, but has more
event response and display features.
To create a new view and edit its properties, your user ID requires Workspace
Author Mode permission. To create a situation event console view, your user ID
also requires View permission for Events.
Chapter 8. Situation event views: message log, situation event console, and graphic 95
IBM Confidential
6. To save the event console view, click Save to save the view with this
workspace; or click File > Save Workspace As to save a new workspace.
The old workspace remains as it was before you added this view.
Notes:
1. The view refreshes automatically, adding a row for every status change of the
situations associated with this Navigator item and any items below it on the
same branch. If you see no rows it means no events have be opened for any
situations associated with this Navigator item.
2. The Filters, Thresholds, and Style features available to the Table view can also
be used in the situation event console view.
Console Resume
If you begin to scroll the view or expand pure events, automatic
refresh turns off and this indicator appears at the top left corner of
the list. Click Console Resume when you want to resume
automatic refresh.
Pure Event This icon in the first column indicates the event is a pure event.
Consecutive pure events are consolidated: click to expand the
list to show a row for each pure event; click to collapse the list
back to one row. If the list does not expand, it means there is only
one pure event.
Status The status of the event, including an icon indicating the state (
Warning, Informational):
Critical,
Open
Expired overlays the state icon when the acknowledgement has
expired while the event is still open.
Reopened overlays the state icon when the acknowledgement
was removed before it had expired while the event is still open.
Acknowledge
The event has been acknowledged.
Stopped
A user stopped the situation. It will not begin running again until
someone starts it or edits it in the Situation editor.
Deleted
The situation was deleted through the Situation editor.
If you have an active Candle Management Workstation installation,
the situation could have been deleted through the Situations folder.
Problem
The situation is not functioning properly. One reason may be that
the agent to which it is distributed is offline.
Situation Name
The name of the situation or policy.
Display Item If the situation was defined with a display item, it appears here.
Otherwise, this field is empty.
Source The name of the agent and system where the situation is running.
Impact The name of the Navigator item where the event indicator
originated; when you click , the entire branch opens.
Opened This is the local time at the agent location when the event was last
opened.
Age This is the time interval that has passed since the event was
opened.
If you apply a Filter or Threshold to this column, enter the number
of minutes. After you click outside the cell, you will see the value
converted to days, hours and minutes. For example, an entry of
1450 becomes 1 Day, 10 Minutes.
Local Timestamp
The time at the monitoring server (the one to which the agent
connects) when the situation status changed.
Note Additional information about the event, usually the event type.
v Sampled. See 232.
v Pure. See “pure event” on page 232.
State
All states are shown in the event list. To filter the list to show one or two states
instead of all three:
1. Click filter the view to show only events with that state.
2. Click the tool again to remove the filter.
Chapter 8. Situation event views: message log, situation event console, and graphic 97
IBM Confidential
Status
All status types are shown in the event list, and you can filter the list to show only
a certain status:
1. Click Filter Open, Filter Acknowledged, Filter Stopped, or Filter
Problem to filter on one or more of these statuses.
2. Click the tool again to remove the filter.
Column
The toolbar enables you to filter the list by state or status. Through the pop-up
menu, you can filter on any column and even multiple columns. For example, you
can filter to show only when an event has been opened for
Situation_Response_Critical.
1. Right-click the cell on whose value you want to filter the incoming data.
2. In the pop-up menu point to Set Quick Filter, then select the attribute
(attribute name == value); -OR- if you want to remove a quick filter, either
select Remove Quick Filter to remove the last filter applied or point to
Remove Quick Filter Predicate and select the filter to remove.
Navigator item
Initially, the situation event console shows events for the situations associated with
the current Navigator item. You can change the view to show the event list for a
different Navigator item:
1. Point to the Navigator item whose events you want to see.
2. Hold down the Ctrl key while dragging the Navigator item into the view.
3. When the pointer is over one of the rows, release the mouse button.
Number of rows
A row is added to the table when a change to the event status occurs. As new
rows arrive, they appear in descending order with the oldest rows at the bottom.
After the maximum is reached—100 is the default—the oldest row is removed as
each new row arrives. The view refreshes every time a new row arrives, so the
more rows you allow in the view the longer the refresh takes. To change the
maximum:
1. Right-click anywhere in the situation event console view.
2. In the pop-up menu, point to Set Max Rows, then select 50, 100 or 500 from the
list.
Quick threshold
Use the quick settings to highlight cell values that fall outside the threshold:
1. Right-click the cell on whose value you want to apply a threshold indicator.
2. In the pop-up menu point to Set Quick Threshold, then select the severity to
apply to that value (attribute name == value); -OR- if you want to remove all
quick thresholds applied to the view, select Remove Quick Thresholds.
Tip:: If you edit the properties for this view, you can make the quick filter or
quick threshold permanent by right-clicking the row number and
selecting Remove Quick Flag in the Filters or Thresholds tab.
Graphic View
Overview
The graphic view enables you to create a canvas that is covered with icons
representing the Navigator items, including any event indicators. You might create,
for example, a graphic view showing your company’s floor plan or organization
chart.
To create a new view and edit its properties, your user ID requires Workspace
Author Mode permission.
Chapter 8. Situation event views: message log, situation event console, and graphic 99
IBM Confidential
Tip:: If a new item appears on the Navigator after you created the graphic
view, you can add it at any time dragging its name from the Navigator
view to the graphic view. If an item gets removed from the Navigator
after you created the graphic view, you can remove its icon by selecting it
and then deleting it.
Reload Stylesheets Resets the view; refreshes the icon style. This is useful if the
icons change state or move around.
Actual Size Displays graphics at 100%. Suitable for raster images such as
.eps, .jpeg and .png files. Not applicable to map files and is
disabled when a map background displays. If you clicked
Fit to Contents, Actual Size returns the background
graphic and icons to their original size.
Fit to Contents Rescales the view so all icons are visible. This is useful if you
have added or removed icons.
Zoom Box Select an area to zoom into and the view will expand or
contract to fit.
Overview Open the overview window. The Overview window has a box,
which you can grab and move to pan the image.
Select This is a toggle tool: click it again to turn off selection. Use
this tool to drag a icon into position or to select it for removal.
You can click and drag from one point to the opposite corner
to select a group of icons, or use Shift+Click to select multiple
icons individually.
Delete Remove the icons that were highlighted with the Select tool.
Grid This is a toggle tool: click it again to turn off the grid. It is
especially useful as a guide for positioning icons on an even
plane.
Snapshot Take a snapshot photo of the contents of the pane and display
it in a separate pop-up window. You can also save the
snapshot as a .PNG file by clicking Export in the
lower-right corner of the snapshot view. See “Create custom
icons” on page 103.
Snapshot tool
You can use Snapshot to create image backgrounds. To create an image
background with this tool:
1. Lay out a workspace with the views placed and sized as desired.
2. Add a graphic view to one of the view spaces.
3. Use the Select and the Clear tools to delete any icons that are placed on
the background.
4. Select an area of the images you want to enlarge and click Zoom Box.
5. Change the size and shape of the view as needed.
The image should be scaled to the approximate full size you intend to use.
Once the image is captured by the Snapshot tool, it cannot be scaled.
6. Click Snapshot to capture the image.
7. In the lower-right corner of the Snapshot window, click Export as PNG.
8. Save the file with a .png extension on the system where your portal server is
installed in this folder:
<itm_installdir>\cnb\classes\candle\fw\resources\backgrounds\user
9. To replace the default image from Tivoli, save the image as default.png.
Tip:: You can also use the Snapshot tool to create white space to frame an
actual size image that is not big enough to fill its pane. You can do this
by displaying the image at actual size and then using Pan to move it
around in the view. When it looks right, follow the above procedure to
capture the framed image.
Chapter 8. Situation event views: message log, situation event console, and graphic 101
IBM Confidential
and non-maps in
<itm_installdir>\cnb\classes\candle\fw\resources\backgrounds
<itm_installdir>\cnb\classes\candle\fw\resources\
backgrounds\user
Style
After creating the icon images, you need to copy one of the Tivoli Enterprise Portal
style sheets and edit it to reference your images, then update the graphic view
style properties to use the new style sheet. The new style sheet and icons must be
saved on the system where the integral web server and browser client are installed,
typically the same system as the portal server.
Chapter 8. Situation event views: message log, situation event console, and graphic 103
IBM Confidential
Having the Navigator open while you type the item names in the style sheet
(step 4) ensures their correct spelling and letter casing.
2. Identify the Tivoli style sheet most like the one you want. It must be one of the
large_icon_ or small_icon_ style sheets (not shape_ or parent_).
The style sheet controls the color, size and position of the text labels (Navigator
item names), as well as any icons you do not replace with custom icons.
3. Make a copy of the style sheet in:
<itm_installdir>\cnb\classes\candle\fw\resources\styles
giving it a name that identifies it as one you customized, and place it in the
child folder:
<itm_installdir>\cnb\classes\candle\fw\resources\styles\user
4. Open your new style sheet in a text editor such as Notepad.
5. Edit the @import lines at the top of the file to insert ../ in front of the $ dollar
sign, such as:
@import "../$base.css";
@import "../$baseLargeIcon.ss";
@import "../$baseNodeLabelBottom.css";
6. Copy and paste the following entry at the end of the file, one line for each
Navigator item whose graphic view icon you want to change.
node[name = "Your Item Name Here"]{iconImage: url(../../icons/user/icon.eps);}
7. Replace Your Item Name Here with the exact name of the Navigator item;
replace iconname.eps with the exact name of the icon graphic file.
Be careful to follow the syntax exactly. Any errors, such as missing or extra
parentheses, quotes, or misspellings will give unpredictable results. The
symptom might be that your style sheet change did not affect the graphic view
or the view contents disappear.
8. Save the text file.
Note: When you erase the background image (no image selected) or use a
non-map background, you need to save the workspace, switch to another
workspace, then return to it to see the correct icon sizes. This is required
whenever the image sizes do not scale as you expect.
Tip:: Once you have created a user style sheet and associated with a graphic
view, you can make further changes with a text editor and see the effect
without reopening the graphic view Properties window. To do so, save
the changed file, click Reload Stylesheet to refresh the style sheet and to
see the new icons.
The same applies if you have a style sheet you would prefer to be the default.
Note: The graphic view images and styles directories reside on the browser client
where the integral web server is installed, which is normally on the same
system as the portal server.
Note: You must use a non-georeferenced jpeg image with a .JPG file extension
as the default background.
For you to define a link, your user ID requires Workspace Author Mode
permission.
1. Open the workspace containing the graphic view.
2. Right-click the icon from where you want to link.
3. Click Link > Link Wizard from the pop-up menu.
4. Select Define New Link, then click Next.
Chapter 8. Situation event views: message log, situation event console, and graphic 105
IBM Confidential
For comprehensive event management, you can also configure one or more
monitoring servers to forward situation events to the event server, and install the
event synchronization component on the event server so that operator actions and
updates based on Tivoli Enterprise Console rules are sent back to the monitoring
server. The updated status of the events is reflected in both the situation event
views and in the Tivoli Enterprise Console event viewer.
Here is a picture of the Tivoli Enterprise Console event viewer with Tivoli
Enterprise Console events and situation events that were forwarded from the
monitoring server. The columns in this view correspond to the base attributes of
Tivoli Enterprise Console events and those of situation events.
With event synchronization configured, you can add the Tivoli Enterprise Console
event viewer to a workspace and perform the same operator tasks, such as
acknowledging an event and closing an event, as you can in the event console of
the Tivoli Enterprise Console product. However, you must use the Java version of
the event console in the Tivoli Enterprise Console product to perform configuration
tasks, such as creating an event group or creating an event group filter. Also, you
can run IBM Tivoli Monitoring actions on an event in the situation event views,
and you can only run Tivoli Enterprise Console tasks on an event in the Tivoli
Enterprise Console event viewer.
See the IBM Tivoli Monitoring Installation and Setup Guide to install and configure
event synchronization.
See the IBM Tivoli Monitoring Administrator’s Guide to define the characteristics and
behavior of events and situation events sent to the Tivoli Enterprise Console.
Table 3. Event filter options in the Tivoli Enterprise Console - Configuration window
Dynamic Filter Event Group
With dynamic filtering, events are retrieved With event group filtering, you access the
from the managed systems that are assigned console your user ID is assigned to. If you
to the current Navigator item and any items logged on to the Tivoli Enterprise Console
below it on the same branch. If there are no host with an operator ID, choose Event Group
managed systems assigned to this branch of for the Filter Type.
the Navigator view, this option is disabled.
If you logged on to the Tivoli Enterprise
Both Tivoli Enterprise Console administrators Console host with an administrator ID, all
and operators can utilize dynamic filtering if user consoles are available and will be
event synchronization has been installed and displayed in the Filter Type field as
configured on your event server. If not, select <Console ID> Event Group. After selecting a
Event Group as the filter type. console, you will see a list of console Event
Groups to choose from. Select the event
Select one of the following for the filtering group from the Filter Name list.
method:
Dynamic queries base the filtering on the IP addresses, host names, or managed
system names associated with the Navigator item and those branching from it. In
this example, the Tivoli Enterprise Console event viewer was added to a Windows
Systems workspace. Events will be retrieved for System4, System5, and System6;
and not for System1, System2, or System3:
Enterprise
Linux Systems
System1
System2
System3
Windows Systems
System4
System5
System6
If the event viewer had been added to the Enterprise item workspace, events for
all six systems would be retrieved .
Toolbars
Preferences This tool opens the Preferences window. The changes you make are
for your user ID and affect this and all new Tivoli Enterprise
Console event viewers. General preferences set the refresh rate for
displaying new events, the age of closed events to display, and the
number of events to display. The Working Queue/All Events
preferences determine the column sort order in the Working Queue
and All Events queue. Severity Colors preferences determine
whether or not hover and column highlighting are activated, and
what colors to use for event severity.
Reload Events
This tool is used to refresh the view. A query is sent to the event
database and the results are displayed in the view.
Hide Severity
These tools show the number of events for each severity and
enable you to filter out Unknown, Harmless, Warning, Minor,
Critical, or Fatal events or any combination thereof. The example
here shows that Harmless events have been excluded and the
number received is 0. These are toggle tools: click again to resume
display of that event severity.
Hide Status
These tools filter events by their status: Open, Response,
Acknowledged, and Closed. These are toggle tools: click again to
resume display of events of that status.
Hide Operators’
These tools hide the events for your user ID or those of all other
operators signed on to the event server. These are toggle tools:
click again to resume display of the events for your user ID or
other operators.
Task Completion
An automated task runs when a particular event is received by the
event console. For example, you can configure an automated task
to send an e-mail message to an administrator when an event
matching the criteria you define is received by the event console.
Automated tasks are configured using the Automated Tasks menu.
When an automated task completes, it issues information about its
success or failure, and any results created by the task. The
task-completion icon is displayed in the first column of the Event
Viewer when an automated task completes. You can double-click
this icon to view automated task results.
You can get more value from Tivoli Monitoring Services and Tivoli Enterprise
Console integration by customizing the event viewer for the Tivoli Enterprise
Portal environment. This can be done by the administrator through the Tivoli
Enterprise Console console administration functions, which are described in the
IBM Tivoli Enterprise Console Users Guide chapter on configuring. When performing
such customization, select the columns to be shown in the event viewer and their
order with the following configuration:
Severity Status Message Hostname Time Received Suborigin Class
Buttons
Select an event row to enable the buttons to Acknowledge the event, Close the
event, open a tabbed window with event Details, or to display Information about
the event. The Refresh button is disabled when no events have arrived since
the last refresh of the view; and enabled when new events have arrived.
The other features of Tivoli Enterprise Portal are for situation events exclusively:
v The event indicators that appear in the Navigator and in the graphic view are
for situation events. If your environment does not use the situation features, you
can disable the situations. Alternatively, or as well, you can create a custom
Navigator view and add child items.
v When building a situation definition, you can set a take action command to start
when the situation becomes true. For Tivoli Enterprise Console events, you can
add a take action view to the workspace so it is available for quick response
to events that arise.
v The message log view and situation event console view display situation
events as they arrive. If you are forwarding situation events to the event server,
you do not need to use these views.
The remainder of this chapter describes all aspects of situations, from creating
them to acknowledging events.
For you to follow the instructions in this chapter, your user ID needs the
following permissions: Acknowledge Event, Modify Situation, and Workspace
Author Mode. Also, the Navigator Physical view must be an Assigned View.
About situations
A situation describes a condition you want to test. When you start a situation, the
monitoring server compares the situation with the values collected by the
monitoring agent and registers an event if the comparison is true. You are alerted
to situation events by alert icons that appear in the Navigator and, optionally, by
sounds that play. The graphic view also shows event indicators.
Predefined situations
Every monitoring agent comes with a set of predefined situations so you can begin
monitoring as soon as you start using Tivoli Enterprise Portal.
Situation editor
To monitor application information, you need to specify conditions that you or
other users want to know about. Usually those conditions reflect problems within
your monitored network that require attention.
Situations, both predefined and custom, are stored on the monitoring server. This
means that any changes to situations made by any user whose ID is registered on
that monitoring server, will be shared with all users on the same managed
network.
Situation syntax
A situation formula describes the condition to monitor. It is made up of one or
more logical expressions. Each expression takes the form:
when you click Show Formula in the Situation editor. Although not shown here,
the formula uses the VALUE function.
Here are two examples of multiple expressions using AND as the expression
operator:
This formula compares the time the event was logged (Entry Time) with the
timestamp from the data sampling. If the event occurred seven days earlier, the
situation is true. If == were changed to <= (Less than or Equal), the situation
would be true after eight days, nine days, and so on.
This formula totals all CPU Utilization values from the system named “redwood”.
If the sum of these values exceeds 50%, the situation is true.
Conditions that can be combined in many different situation scenarios make useful
embedded situations. The following situation can be embedded in any situation
that you do not want to run on Sundays when the computer is being serviced:
Roll-up effect
The example below shows the roll-up effect of events. As you move up the
Navigator hierarchy, multiple events are consolidated to show only the event
indicator with the highest severity, which is Critical in this case.
Enterprise
Windows Systems
RETAIL1
Oracle
Alert Log
Cache Totals
Contention
Databases
This association is not obvious when you open the Situation editor from a
Navigator item and then create a situation, because it is automatic. But when you
create the situation through the Situations tool, you must manually associate it
with a Navigator item before an event indicator can display there.
Associating the situation state and sound with the Navigator item provides greater
alerting flexibility. For example, a branch office losing its LAN connection to the
corporate office is Critical to the network administration team, considered a
Warning to the backup team, and Informational to the CIO. Each group can have
its own custom Navigator view (or a different branch in the same view) and the
same situation given a different state and sound for each Navigator item.
Event workspace
When a situation becomes true, a situation event is opened. As well, if the
situation is associated with a Navigator item, a virtual light or event indicator
overlays the item and all related items above it in the Navigator. As you
mouseover the indicator, a flyover list opens. When you click one of the situations
in this list, the Event workspace opens.
The event workspace shows the values of the attributes when the situation fired
and their current values. It shows any expert advice the situation author may have
written.
Event acknowledgement
When you see an event indicator in the Navigator, you can create an
acknowledgement. This notifies other users that you have taken ownership of the
problem related to the event and are working on it.
When you acknowledge an event, a blue checkmark appears next to the situation
in the event flyover list and over the situation item in the Navigator. If the
situation is still true when the acknowledgement expires, the indicator changes
accordingly. You can also cancel the acknowledgement before it has expired, which
changes the indicator so users can see that the acknowledgment has been removed
while the situation is true.
This lesson has you create a simple situation. The situation is used in the lesson,
“Lesson: Responding to alerts” on page 30. By completing this lesson, you will
learn the basic steps for creating any situation.
Customizing a situation
As well as the set of predefined situations that come with your IBM Tivoli
Monitoring product, you can create your own situations in the Situation editor.
Your user ID must have View and Modify Situation and Workspace Author
Mode permissions to open the Situation editor for managing situations.
Creating a situation
You can create and customize your own situations to monitor specific conditions in
your enterprise.
1. In the Situation editor, click New Situation.
2. Type a name for the situation in the Name field and, optionally, a description
in the Description field.
The name must begin with a letter, have fewer than 32 letters and numbers,
and can include underscores (_). The description must be fewer than 64
characters. The description is displayed in the Situation editor, in the Manage
Situations window, and when you select the situation for embedding in or
correlating with another situation.
3. Select the type of monitoring agent from the Monitored Application list and
click OK to open the Select Condition window.
4. For the Condition Type, select Attribute Comparison to add one more
attributes to the formula or select Situation Comparison to embed a situation
in the formula.
5. Do one of the following:
a. For Attribute Comparison, select an attribute group. Then select an
attribute item from the list that displays on the right.
b. For Situation Comparison, select the situation to embed.
You can then use Ctrl+click to select additional items from the list or
Shift+click to select all items between and including the first selection and this
one. Attributes or situations that have already been chosen are colored blue.
6. Click OK to see the items in the formula editor.
7. For each attribute selected, click inside the cell under the column heading and
compose the expression :
a. To change the function, click Value (or Compare date/time for a time
attribute), and select one from the list. See Appendix A, “Formula
functions,” on page 205 for descriptions.
b. To change the relational operator, click equal.
c. Click inside the text box and enter or select the value to test.
Keep multiple expressions in the same row if they must all be met (Boolean
AND logic) and on separate rows if any of them may be met (Boolean OR
logic) to set the situation to true. See page 214.
8. Select any other options in the Formula tab:
v To add another condition to the situation, click Add Conditions and repeat
steps 4 through 7.
v To add event persistence or a display item, click Advanced.
v To change the sampling interval, click inside the dd (day), hh (hour), mm
(minute) or ss (second) field and click the up and down arrows.
v To start the situation manually rather than automatically, clear .
The Situation editor must be opened from a Navigator item to see these fields:
v To choose a different State, select one from the list.
v To play a sound when an event opens, select in the Sound area. Click
Edit to change the sound file or its properties.
Embedding a situation
You can reference, or embed, a situation in another situation. This enables you
monitor several conditions with the same situation, and mix and match them to
create new situations rather than manually entering different combinations of
expressions.
1. Do one of the following to open the Situation editor:
v Click Situations if, for the time being, you do not want to see an event
indicator when this situation becomes true. (You can associate the situation
at a later time.)
v Right-click the Navigator item where you want the alert to originate and
click Situations.
2. Click New Situation to open the Create Situation window.
3. Type a name for the situation in the Name field and, optionally, a description
in the Description field.
The name must begin with a letter, have fewer than 32 letters and numbers,
and can include underscores (_). The description must be fewer than 64
characters. The description is displayed in the Situation editor, in the Manage
Situations window, and when you select the situation for embedding in or
correlating with another situation.
4. Select the type of monitoring agent from the Monitored Application list and
click OK to open the Select Condition window.
5. For the Condition Type, select Situation Comparison, then select the
situation to embed.
You can then use Ctrl+click to select additional situations from the list or
Shift+click to select all situations between and including the first selection and
this one. Situations that have already been chosen are colored blue.
6. Click OK to see the situations in the formula editor.
7. Click in a cell below each new column to add == True and complete the
expression.
If two conditions must be satisfied, this is an AND comparison and their
expressions must be entered on the same row of the editor; if either condition
can be satisfied for the situation to be true, then this is an OR comparison and
the expressions are entered on different rows.
8. A situation that embeds another requires at least two conditions. If you have
more conditions to add, click Add Conditions, and repeat steps 4 through 7
until you are finished with the formula.
The other condition can be a formula function or another embedded situation.
9. Adjust any other settings in the Formula tab:
v To add another condition to the situation, click Add Conditions.
v To add event persistence or a display item, click Advanced.
v To change the sampling interval, click inside the dd (day), hh (hour), mm
(minute) or ss (second) field and click the up and down arrows.
v To start the situation manually rather than automatically, clear Run at
startup.
The Situation editor must be opened from a Navigator item to see these fields:
v To choose a different State, select one from the list.
v To play a sound when an event opens, select Enable in the Sound area.
Click Edit to change the sound file or its properties.
10. Select other tabs in the Situation editor to:
v Distribute the situation.
v Write expert advice
v Specify an action to take
v Add an Until modifier
11. When you are finished composing or editing the situation, save your changes
and start the situation by clicking Apply to keep the editor open; or by
clicking OK to close the Situation editor.
The Situation editor performs syntax checking on each expression you enter. If
you entered an improper value for an attribute, such as “abc” for Disk Size,
the cell turns red and the situation will not be saved until you correct the
error.
If you opened the Situation editor from the toolbar, the situation you just
created will not be associated with any Navigator items and no event
indicator is displayed when the situation becomes true. You must associate a
situation with a Navigator item or change its state and click Apply.
12. If the Distribution Change window is displayed, click OK to add the managed
systems shown in the Required Managed Systems list to the distribution for
this situation.
Notes
v If you change an embedded situation, you must restart each situation that
embeds it.
v The properties of the embedding situation, such as the monitoring interval,
override the properties of the embedded situation.
v You must distribute each embedded situation to the same managed systems as
the embedding situation. Otherwise, the embedding situation does not run.
v When you stop a situation that embeds other situations, only the embedding
situation is stopped; the embedded situations continue to run.
v Situations are stored at the hub monitoring server. It is possible that while you
were building the situation that any of the embedded situations could have be
deleted. Should this happen, a message will tell you that the embedded situation
is missing when you attempt to save your changes. You will need to remove the
embedded situation from this one before you can save it. You can always create
a new situation to be embedded or find another one that is the equivalent and
embed that one.
v In the unlikely event that two users attempt to save a situation with the same
name simultaneously, an error will occur ensuring that one situation does not
overwrite another.
v If you are running multiple versions of a monitoring agent, you will be able to
distribute a situation only to the managed systems that the version supports.
Notes
v If you change an embedded situation, you must restart each situation that
embeds it.
v The properties of the embedding situation, such as the monitoring interval,
override the properties of the embedded situation.
v When you stop a situation that embeds other situations, only the embedding
situation is stopped; the embedded situations continue to run.
v If you are running multiple versions of a monitoring agent, you will be able to
distribute a situation only to the managed systems that the version supports.
Description
This is the optional one-line description of the situation.
Condition
The Condition area specifies the condition to be tested by the situation. Clicking a
cell under a column activates the editor and enables the formula bar. The active
cell has three fields for building an expression.
v Function is the function chosen for the attribute, and set to Value of
expression (or Compare date/time for time attributes) by default. See
Appendix A, “Formula functions,” on page 205 for descriptions.
v Comparison operator is the relational operator, and set to Equal by default.
Other choices, depending on the function chosen, are Not Equal, Greater Than,
Greater Than or Equal, Less Than, Less Than or Equal.
v Text shows the value of the attribute to be compared with the values arriving
from the agent.
Enumerated attributes have a predefined set of values from which to choose .
Check for Missing Items (on page 209)and the functions for time attributes (on
page 210)open a window for you to select or enter certain values.
Multiple expressions that must all be met for the situation to be true are entered on
the same row (Boolean AND logic); -OR- if any expression may be met they are
entered on different rows (Boolean OR logic). See on page 214.
Show Formula displays the formula in text format and as graphical elements.
Use Show detailed formula to see the detailed name of the attribute group and
attributes used in the formula.
Add Conditions opens the Select condition window. The Local and Universal Time
attribute groups show along with the group chosen originally. You can combine the
Local and Universal Time attributes with any other attribute group in the situation.
In addition, when you create a situation with a single-row attribute group, you can
add attributes from one multi-row group or from any number of other single-row
groups belonging to this agent.
feature to control when an event indicator should appear. Additionally, you can
use it when a situation is referenced in a policy, to control flow through the
policy.
v Display Item is an attribute you choose to further qualify a situation. Normally,
when a situation encounters a value in a row that meets the condition, it opens
an event and no more until the event has been closed and then opened again.
With a display item set, the situation continues to look at the other rows in the
sampling and opens more events if other rows qualify.
Only certain attributes may be designated as display items.
Sampling interval
The sampling interval is set to 15 minutes by default. You can change it to as little
as once a quarter or as often as once per second. The more frequent the sampling,
the more resources used. To change the sampling interval, click inside the dd
(day), hh (hour), mm (minute) or ss (second) field and click the up-arrow or
down-arrow to adjust the number.
Run at startup starts the situation monitoring as soon as it is saved with Apply
or OK, when the managed system to which it is distributed comes online, and
when the hub monitoring server has been restarted. Uncheck the box if you want
to start the situation manually from the Situation editor.
State
(Not available when you open the Situation editor through the toolbar.) This is the
state indicated when the condition has been met and the situation becomes true.
An event indicator for Critical, Warning, or Informational overlays the item icon in
the Navigator. In the State field, click and select Informational or Warning
if you want to change from the default Critical.
Sound
(Not available when you open the Situation editor through the toolbar.)
Enable, when checked, causes the sound file to play when an event opens or
reopens for this situation. Click Play to hear the sound.
Edit opens the sound properties. You can click Browse to select a sound file from
the list in the sound directory or user subdirectory. Click Help to see a description
of the window.
Candle Management Workstation users: If the situation was written with a syntax
not supported by Tivoli Enterprise Portal, the formula will not be viewable and
you will see a message in the status bar. When a situation that was created in the
CMW becomes true, its alert indicator may not show up in the Navigator Physical
view because it has not been associated with a Navigator item. See “Associating
situations with Navigator items” on page 132.
4. To add to the Assigned list, select from the Available Managed Systems or
Available Managed Systems Lists or both and click .
Available Managed Systems shows the agents to which the situation can be
distributed.
Available Managed Systems Lists Each monitoring agent product comes with
one managed system list named for the product, such as *MS_SQL_SERVER for
IBM Tivoli Monitoring for MS SQL Server managed systems, and you may
have custom lists that were created through Edit > Managed System Lists.
Click Edit Managed System List to see the managed systems comprising a
managed system list or to create a new list.
5. Select other tabs in the Situation editor to:
v Write expert advice
v Specify an action to take
v Add an Until modifier
6. When you are finished composing or editing the situation, save your changes
and start the situation by clicking Apply to keep the editor open; -OR- click
OK to close the Situation editor.
HTML editor
Add comments or instructions in the HTML editor. The text is converted to an
HTML document in the Expert Advice view of the Event workspace. You can
format the text, such as to bold or italicize a word, using the proper HTML code.
For example,
http://www.ibm.com
the view opens to that web site. Click Preview to test the URL.
Example:
The code creates the variable “search” from what the user enters when prompted,
“What do you want to look for?”, and enters that value as part of the URL for the
searchenginesite.com search engine. The META ’refresh’ tag is used to switch to the
web site automatically after one second. The INPUT function is available in the
Link Wizard.
Example:
name = $EVENT:ATTRIBUTE.ISITSTSH.SITNAME$;
node = $NODE$;
″<BODY BGCOLOR=’#FFFF80’><div align=center><h3><i>This is expert advice
for </i> </h3><h2>″+name+″</h1> on ″+node+ ″<p>Please notify your system
administrator that <b>″+name+″</b> fired. <p>To learn more, click here: <a
href=http://www.searchenginesite.com/search?q=″+name+″> Tivoli Advice
</a></div>″
The code in this example inserts the name of the situation and the name of the
managed system in the text. It then provides a link to searchenginesite.com, which
searches for the situation name and displays the results automatically.
Event attributes
As well as the situation name given in the previous example above, you can
reference any other event attribute in the code:
situation name $EVENT:ATTRIBUTE.ISITSTSH.SITNAME$
monitoring server name $EVENT:ATTRIBUTE.ISITSTSH.NODE$
managed system name $EVENT:ATTRIBUTE.ISITSTSH.ORIGINNODE$
display item $EVENT:ATTRIBUTE.ISITSTSH.ATOMIZE$
global timestamp $EVENT:ATTRIBUTE.ISITSTSH.GBLTMSTMP$
local timestamp $EVENT:ATTRIBUTE.ISITSTSH.LCLTMSTMP$
status $EVENT:ATTRIBUTE.ISITSTSH.DELTASTAT$
Note: The action will not be invoked if the situation is used in a policy.
1. If it is not already, open the situation editor (page 120) and select the situation
to which you want to specify reflex automation.
2. Click the Action tab.
3. Leave System Command selected or select Universal Message:
v For a system command, write the command exactly as you would enter it
manually for the application and operating platform on which it is running.
v For a universal message, write the category, severity and the text to display
in the Universal message console view.
– category of messages to see (for example, critical, warning, information),
up to 16 characters.
– severity of the message, one word of up to 8 characters, such as 1 or high.
– message text when the situation occurs, up to 256 characters.
4. If the condition is true for more than one monitored item,
Only take action on first item to issue the command on only the first row
that meets the condition.
Take action on each item to issue the command once for each row of data
returned that meets the condition.
For example, if the situation fires when any process uses over 80% of the CPU,
you can issue a command to terminate just the first process that meets this
criteria, or you can issue a command to terminate all processes that meet the
criteria.
5. Where should the Action be executed (performed):
Determines where to perform the action: on the system where the agent resides
or the monitoring server to which it is connected.
Execute the Action at the Managed System (Agent)
Execute the Action at the Managing System (TEMS)
If you are sending a Universal Message, the action takes place at the
monitoring server.
6. If the condition stays true over multiple intervals:
Don’t take action twice in a row to execute the command or universal
message once, and not every time incoming data matches the condition.
Take action in each interval to invoke the command or issue the universal
message when the situation is true in an interval, irrespective of its state in the
previous interval.
7. Select the Until tab in the Situation editor if you want to Add an Until
modifier.
8. When you are finished composing or editing the situation, save your changes
and start the situation by clicking Apply to keep the editor open or OK to
close the Situation editor.
User ID requirements
To issue a command, the user ID must be authorized on the relevant system for
the requested command. For example, to issue a TSO command, your user ID
must be a valid TSO ID. The user ID must also be defined as a valid logon ID for
Tivoli Enterprise Portal.
If an application prefix is used (such as MQ:), then the Tivoli Enterprise Portal
logon ID will be used. However, for system level commands, the authorization of
the agent will be used.
Attribute substitution
This option opens a window for choosing an attribute to include in the command
or universal message. The attribute name is replaced by the value during execution
of the Action command or issuance of the universal message. Example:
Usage examples
Suppose your UNIX system has recently been plagued by insufficient memory. You
are not certain your system really needs more memory resources; maybe a poorly
designed application or process is causing the problem. You want to gather system
data to analyze the cause of the memory problem, but you do not want to allocate
personnel to gather the data.
You can write a situation to monitor excessive page-ins and page faults and, when
either occurs (indicating a memory bottleneck), write the process name and ID to a
log for analysis by an application at a later time.
as in.
The situations available are for the same type of monitoring agent that this
situation uses or that use the IBM Tivoli Monitoring common attributes.
4. Select Reset Interval Expires to close the event after the specified interval, 15
minutes by default. To change the interval, click inside dd (day), hh (hour), mm
(minute) or ss (second) and click the list box arrows: or .
When this box is left unchecked, the event does not close until the situation
becomes false.
5. When you finish composing or editing the situation, save your changes and
start the situation by clicking Apply to keep the editor open; -OR- click OK to
close the Situation editor.
Association is done manually for situations created in the Situation editor when it
was opened from the toolbar.
When you associate a situation with a Navigator item, the situation state (Critical,
Warning, or Informational) and sound are also associated with the item. You can
have different states and sounds for the same situation
Your user ID must have View and Modify Situation permissions for this
function.
Associate a situation
If you access the Situation editor through the toolbar to create situations or have
custom situations that were built in the Candle Management Workstation, no alert
will be visible in the Navigator when the situation becomes true until you
associate it with a Navigator item.
1. Right-click the Navigator item to which you want to associate a situation and
select Situations from the pop-up menu.
Navigator Physical view: Situations shows in the pop-up menu for all
Navigator items except those at the operating platform level (such as Linux
Systems). The Enterprise item is limited to Tivoli Enterprise Monitoring Server
situations distributed to *HUB_ or *ALL_TEMS.
Custom Navigator view: The Navigator item must have at least one managed
system assigned or else you will not see the Situations option.
The Situation editor opens with the list of situations that have been associated
with this Navigator item.
2. Click Situation Filter to open the Show Situations window.
3. Select Eligible for Association, clear Associated with this Object.
If you are associating a situation with the Enterprise item in the Navigator
Physical view, also select Associated with Monitored Application.
4. If you want to apply a different event state to the situation than the default
critical state (or the one it was created with) or you want to apply an event
sound, select the situation from the tree, then do one or both of the following.
v To choose a different State, click Critical and select Informational or
Warning.
v To play a sound when an event opens, check Enabled in the Sound area.
Click Edit to change the sound file or its properties.
5. Right-click the situation to associate with the Navigator item and select
Associate.
You can use Ctrl+click to select more situations or Shift+click to select all
situations between and including the first selection and this one, but be aware
that all the situations will have the Critical State and no Sound enabled.
If a progress bar displays, you can click Stop to pause, then Resume when you
are ready to continue, or Cancel the operation.
6. Check your work by clicking Situation Filter, clearing
Eligible for Association, and selecting Associated with this Object.
Only the situations associated with this Navigator item will appear in the list.
7. When you are finished composing or editing the situation, save your changes
and start the situation by clicking Apply to keep the editor open; -OR- click
OK to close the Situation editor.
Disassociate a situation
If you no longer want to event indicators to originate for this situation from the
Navigator item, disassociate it.
1. Right-click the Navigator item from which you want to disassociate a situation.
2. Select Situations from the pop-up menu.
Navigator Physical view: Situations does not show in the pop-up menu at the
platform level.
Custom Navigator view: The Navigator item must have at least one managed
system assigned, or else you will not see Situations in the pop-up menu.
The Situation editor opens with the list of situations that have been associated
with this Navigator item.
3. Right-click the situation you want to disassociate from the Navigator item and
select Disassociate; -OR- if you want to remove all associations, select
Disassociate All.
If you have multiple situations to disassociate, you can use Ctrl+click to select
more situations or Shift+click to select all situations between and including the
first selection and this one.
If a progress bar displays, you can click Stop to pause, then Resume when you
are ready to continue, or Cancel to stop the process.
4. To save your changes, click Apply if you want to keep the Situation editor
open; -OR- click OK to close it.
To use this feature, your user ID must have Modify permission for Situations.
Start the situation. This has no effect if the situation is already started.
Stop the situation. The situation will remain stopped until you start it again
manually or, if it is set to Run at startup, when you next log on to the portal
server or edit the situation.
A progress bar is displayed with a Stop button so you can pause, then Resume
or Cancel the operation.
Start the situation. This has no effect if the situation is already started.
Stop the situation. The situation will remain stopped until you start it again
manually or, if it is set to Run at startup, when you next log on to the portal
server or edit the situation.
4. Click Refresh to refresh the view and see your changes.
Deleting a situation
Use the Situation editor to delete situations. Keep in mind that deleting a situation
removes it from the entire managed network.
1. Do one of the following to open the Situation editor:
v Right-click a Navigator item and click Situations. (See the Note at the
end of this section if you do not see this option.)
v Click Situations.
v Right-click a situation in the event flyover list and click Edit situation.
v Right-click an event item in the Navigator and click Edit situation.
v Right-click an open event in the situation event console view and click
Edit situation.
v Right-click an
agent item in the Navigator physical view and click Manage situations.
Select a situation and click Edit situation.
2. If you do not see the situation, click Situation filter and select all the
options.
3. Right-click the name in the Situation tree and click Delete.
You can use Ctrl+click to select additional situations or Shift+click to select all
situations between and including the first selection and this one.
A progress bar is displayed with a Stop button so you can pause, then Resume
or Cancel the operation.
4. If this situation is referenced (embedded) in another situation or in a policy, a
Referential Integrity window opens with a list of the affected objects and you
must do the following before you can delete the situation:
a. Click Copy if you want to save the list to the clipboard.
b. Click Cancel. You can now paste the list into a text editor or a notepad
view in a workspace.
c. Edit each situation or policy in the list to delete the reference to this
situation. (With the situation open in the Formula editor, right-click the
column heading for the embedded situation, and click Delete. With the
policy open in the Workflow editor, select the activity references this
situation, and click Clear.)
Note: Situations is only in the pop-up menu of Navigator items that have
managed systems assigned: In the Navigator Physical view, managed
systems are preassigned to every item except those at the operating platform
level (such as Linux Systems) and cannot be changed. In the Navigator
Logical and custom views, managed systems are assigned when you create a
Navigator item or edit its properties.
Event management
In Lesson: Responding to alerts you learned how to open an event workspace,
acknowledge an event, and close it. This section describes all the options for
managing events.
Note: When a monitoring agent goes offline, you may still see an event indicator
for a situation. This is because the last time the agent reported the situation
status to the monitoring server, the condition was present. When the agent
comes back online, the situation is re-evaluated, the current condition
determined, and the status is reported appropriately.
User ID permissions for Situations include Start/Stop, View, and Modify; and
those for Events are Acknowledge and Close. If any of these fails to appear in the
pop-up menu, your user ID does not have permission for the function.
Tip: Use your Windows Sound and Audio Devices or Multimedia utility,
accessible from the Control Panel, to adjust the volume.
v Initial Situation Values shows the values of the attributes when the situation
fired. Mouseover the highlighted value that caused the event to see the
situation formula.
v Current Situation Values shows the current values of the attribute group used
in the situation. Mouseover an attribute value to see the situation formula.
v Take Action enables you to send a command to an application on the
managed system where the event occurred or on another system.
v Expert Advice appears if the author of the situation included it. This view
may open to a Web page or have Web links.
Note: Although you can acknowledge a pure event, the acknowledgement does
not stop the arrival of more pure events.
Closing an event
When the condition of a situation is met, the situation becomes true. An event
indicator appears at the original point in the Navigator and the source branch. If
this is a pure event or one whose situation has been stopped, you can turn off the
indicator by closing the event. Closing an event does not stop or restart the
situation; it continues to run but the indicator disappears until another pure event
arrives or the stopped situation has been restarted and becomes true.
You can close an event from the situation event flyover list, the event Navigator
item, or the situation event console view.
Overview
A managed system list is a defined set of managed systems. You can create your
own managed system lists for any grouping of managed systems and apply them
to:
v distribution of a situation
v distribution for policies correlated by business application group
v managed system assignments for queries
v managed system assignments for Navigator items in custom Navigator views
If the Edit menu has no Managed System Lists item, your user ID does not
have View permission for Managed System Lists. If you can open the editor, but
the tools are disabled after you select a managed system type or list, your user ID
does not have Modify permission for Managed System Lists.
*ALL_CMS for the hub monitoring server and any remote monitoring servers
The managed system list is now available to users whose portal server connects
to the same hub monitoring server.
Improving Performance
Conclusion
This chapter showed how IBM Tivoli Monitoring monitors managed systems by
gathering data samples from the attributes for comparing to situations. You learned
how to set up situations and optimize them to minimize their use of network
resources.
Overview
Automation can improve the efficiency of systems management by reducing user
workload and errors, and by allowing users to respond more quickly to problems.
Tivoli Enterprise Portal provides two levels of automation, reflex and advanced.
For example, suppose your UNIX system has been plagued by insufficient
memory. You are not certain your system really needs more memory resources;
maybe a poorly designed application or process is causing the problem. You want
to gather system data to analyze the cause without allocating personnel to do it.
With simple automation, you can monitor excessive page-ins and page faults
(indicating a memory bottleneck) and, when either occurs, write the process name
and ID to a log for analysis.
A policy comprises a series of automated steps called activities and are connected
to create a workflow.
For example, suppose you want to reduce the time operators spend responding to
high system CPU usage. Using advanced automation, you can
v create a situation to monitor for average system CPU usage of 95% and, when it
occurs, reduce the priority of jobs using more than 20% of CPU
v issue a command that might correct the problem
v re-evaluate system CPU usage to determine whether an action taken corrected a
problem
v if the problem persists, notify the operator responsible for monitoring the health
of the system using email, text messaging, or voice mail.
Many monitoring agents provide predefined policies that you can use as is or
modify for your own environment.
Policy logic
The workflow elements—activities and connectors ( )—are represented in the
Grapher view much as they would be in a flow chart: Some activities flow directly
to the next activity, while others branch off depending on the result of the previous
activity.
Types of activities:
v Predecessor activities directly precede other activities; successor activities directly
follow other activities. They act on the basis of the endcode of their predecessor.
v Parallel activities run at the same time.
v Sequential activities run one at a time in succession.
A policy begins by waiting for a situation to become true, then starts a series of
actions. The simplest policy will
or
Wait until a situation is true evaluate another situation take some action
Planning
Before starting, determine what the policy should do, where it should operate, and
what situations you need to use in the policy. It is important to have a clear picture
of the application being automated, which managed systems constitute the
application, how those systems are physically related and to which monitoring
server they are connected.
Creating a policy
Use policies to perform actions, schedule work, and to automate manual tasks on
one or more managed systems in your enterprise. The Workflows window shows
all the policies available in your enterprise and lets you start or stop a policy,
create new policies, and edit or delete them.
If you do not see the Workflows tool, your user ID does not have View Policy
permission.
1. In the Workflow editor, click Wait until a situation is True in the General
activities tab.
The policy must begin with this activity type unless it is uncorrelated, in which
case you can start with any activity.
2. Click inside the Grapher view to place the activity icon.
The Select a Situation window opens for you to select a situation that, when
true or in error, triggers the next activity in the workflow.
3. Select the situation and click OK.
The activity icon displays with the name of the situation. If you do not see the
situation in the list, click Cancel and create the situation you need. Then repeat
these steps.
4. Add other activities to the policy. (See “General activities” on page 156.)
You can have activities running sequentially or in parallel.
5. Draw connecting lines to direct the workflow: Click Connect, then click
inside one activity and again inside the one that follows.
The Select a link condition window opens with a list of possible conditions that
will execute the next activity. When you join activities with the Connect tool,
you assign an endcode to each connection. An endcode indicates the result of
activity processing and control the flow of activities in a policy.
6. Select the result that will trigger the next activity, then click OK.
The completion of one activity starts the execution of the next activity based on
the link condition chosen here. If, for example, you connect a Wait until a
situation is True activity to a Take action or Write message activity, and
choose Situation is true as the condition, the Take action or Write message
activity begins executing as soon as the situation becomes true.
Every activity type except Suspend execution gives you multiple conditions
from which to choose. You can create an activity for each one of these
conditions and connect to each of them from the source activity.
After you click OK, the connector line points to the target activity.
7. Repeat steps 5 and 6 to connect the remaining activities.
Double-click Connect to keep it on until you select another activity or
Select. After drawing a connector line, you will notice a thin black line
between the two activities. The line disappears when you draw the next
connector line or turn off the tool.
While Connect is active, every mouse movement in the Grapher view draws
the connector line. Right-click if you want to stop drawing temporarily. As soon
as you click an activity in the Grapher view again, the tool will be reactivated
and you can continue to draw. Also, you can click Undo to cancel the last
change(s) you made.
When the first situation in the policy fires, the activities begin to execute and
continue until they have all completed or until you click Stop Policy. If you
enabled Restart, the policy begins again (waits for the first situation to
become true again)
Troubleshooting
No distribution may cause an error
If the policy has not been distributed to any managed system connected to the
monitoring server where the policy is started, you may get an error. The error
indicates that the situation (in Wait until a situation is True) is not defined on the
monitoring server and the policy will not run, which is a correct assessment.
However, if the Wait until a situation is True activity has been distributed to that
monitoring server’s managed systems at a prior time, the situation’s definition will
still be found at the monitoring server and the policy will start successfully and
wait indefinitely for the Wait until a situation is True activity.
Thus, if a policy is not progressing from a Wait until a situation is True activity,
make sure that the situation has been distributed to a managed system connected
to the monitoring server.
IBM Tivoli Monitoring products have an identifier for each managed system that
includes the host name and product code separated by a colon (:), such as
Primary:TIVOLIUSER:NT for IBM Tivoli Monitoring for Windows on the machine
named TIVOLIUSER. Some monitoring agents follow a naming scheme not
recognized by the monitoring server, such as MYSYSTEM::MQ. Such managed
systems referenced in the policy require that it be correlated by the host address
rather than the host name.
Maintaining policies
Use the Workflows window to edit, copy, delete, start, and stop policies. You can
have multiple policies open in the Workflow editor at the same time, with each
policy in a separate Grapher view.
Another window is also available that lists all the policies distributed to a
managed system and options to start, stop, or edit the selected policy (or policies).
It is the Manage Policies at Managed System window and is accessed from the
Navigator pop-up menu.
For you to edit, copy or delete a policy, your user ID must have Modify Policy
permission. For you to stop or start a policy, your user ID must have Start/Stop
Policy permission.
Editing a policy
You can select the policy you want to edit from either the Workflow editor or the
Manage Policy at Managed System window. The policy workflow opens in the
Grapher view of the Workflow editor.
Copying a policy
You can create a new policy by copying an existing policy. When you create a new
policy in this way, the workflow and the distribution of the originating policy are
copied to the new policy in addition to the other features of the originating policy.
1. If the Workflows window is not open, click Workflows.
2. Select the policy you want to copy and click Copy.
A new row is added to the list and the policy titled, Copy_of_name, where
name is the name of the original policy.
3. Click inside the Policy name field and change the name.
Once the policy is saved, you will not be able to rename it.
4. Change any other settings in the Policy Details area.
5. If you want to edit the policy workflow, continue with the instructions in
“Editing a policy”.
Deleting a policy
1. If the Workflows window is not open, click Workflows.
2. In the Policy Details area, select the policy you want to delete.
3. Click Delete Policy.
The policy is deleted from the list. If it was running at the time, it stops; if it
was in the middle of executing an activity, that activity will complete.
Notes
When you start a policy, it starts on the managed systems to which it is distributed
on the selected monitoring server (or servers). All the situations within the policy
are also started or restarted.
When you stop a policy, if it was in the middle of executing an activity, that
activity will complete. Policies are stored at and controlled by the monitoring
server to which the managed system connects. The policy will remain stopped
until you start it again manually or, if it is set to Auto Start, until you next edit the
policy or restart the monitoring server.
A workflow can involve many activities and can be in various states for different
monitoring agents. Stopping or restarting a policy causes those states to be lost.
You can choose to start or stop a policy on all monitoring agents to which it is
distributed or, if your configuration includes a remove monitoring server, on all
agents on a particular monitoring server. With this added control, you can
configure your enterprise in such a way that automation can be stopped for agents
that, say, are monitoring sub-systems that are undergoing maintenance.
Workflows window
All your work with policies is done in the Workflows window, which you open by
clicking Workflows. The window has two parts:
v Policy Details, which lists all the policies stored on the hub monitoring server
and any remote monitoring servers, and has a toolbar for creating and managing
policies.
v Workflow Editor for selecting, arranging and connecting activities to complete the
policy workflow.
Policy Details
The Policy Details area has tools for working with the list of policies displayed.
Toolbar
If none of the tools is available, your user ID does not have Modify Policy
permission; if, after you select a policy, the Start and Stop tools both remain
dimmed, your user ID does not have Start/Stop Policy permission.
Start Policy
Starts the selected policy (or policies) on the managed systems to which it
is distributed.
Stop Policy
Stops running the selected policy (or policies). If the workflow activities
are currently executing, processing stops after the current activity is
completed.
New Policy
Adds a new row to the Policy list, partially collapses the Policy Details
area to show only the new policy, and expands the Workflow Editor area
so you can build the workflow. You can restore the policy list with and
collapse it with , or drag the border up or down. Initially, the policy is
named and described as New_Policy. Click inside the field to change the
name. Use the Delete or Backspace key to erase to the right or left of the
cursor.
If you prefer to keep the Policies Details area open when you create a new
policy, use Alt+ New Policy.
Copy Policy
Copies the selected policy. A new row is added to the list, the Policy
Details area collapses, and the Workflow Editor area expands to the full
window so you can build the workflow. You can manually restore the
policy list with and collapse it with . Initially, the policy is given the
same name as the original, but prefixed with Copy_of_. In the Policy
Details area, click inside the Name field to change the name; use Delete or
Backspace to erase to the right or left of the cursor. To keep the Policies
Details area open when you copy the policy, use Alt+ Copy Policy.
Delete Policy
Deletes the selected policy.
Refresh List
If any policies have been added, edited, or deleted by other users in your
Tivoli managed network, you can refresh the Policies list to show the
changes.
Policy list
Undo Click this tool to undo your changes to the policy
in this row.
Edit Workflow Click this tool to open the policy in the Workflow
editor for viewing and editing the workflow
components. When you do, the Policies Details
area partially collapses to show only the policy you
selected and the Workflow Editor area expands. If
you prefer to keep the Policies Details area open,
use Alt+ instead. You can manually restore the
policy list with and collapse it with .
Policy name The name of the policy, up to 32 letters and
numbers, with no spaces or special characters other
than the underscore (_). Click inside this field and
edit the text as needed, using Backspace and Delete
to erase text to the left or right.
You cannot rename the policy once it has been
saved with Apply or OK. Instead, copy the policy
and change the name for the new policy in the
Policy Details area.
Distributed Specifies where the policy is to be distributed and
run. When you check this box, the Change Policy
Distribution window opens with a list of the
available managed systems to which you can
assign the policy.
If Correlate by is set to Business Application, no
individual managed systems are shown; only
managed system lists. You must select one from the
Available Managed System Lists.
Auto start When selected, starts the policy automatically
when it is saved and when the monitoring server
starts up. Disable Auto start if you prefer to start
the policy manually.
Save Results When selected, saves the results data internally.
You can save results data only to policies that
contain a user choice activity. The results display in
the Candle Management Workstation. (See “Saving
activity results” on page 162.)
Correlate by Specifies how the policy is processed: by host
Workflow editor
When you select a policy and click Edit Workflow, a Grapher view pane opens in
the Workflow editor so you can see and edit the policy activities. You can open
multiple policies in the Workflow editor, each in its own pane. This area of the
Policy editor has a:
v toolbar
v tabs for General activities, Extensions and Emitter activities in the Workflow
components frame on the left
v work area on the right where you add and connect activities in a Grapher view
Borders
The border between the Workflow Editor and Policy Details has to expand the
Workflow Editor area to the top of the window, and to restore the policy list and
return the editor to its former size. The border between the Workflow components
and the work Grapher view has to expand the work area to the width of the
window, and to restore the Workflow components and return the work area to its
previous width.
Toolbar
Validate Tests the workflow to ensure it was composed logically. Any errors
are reported in a Workflow Definition Error message and you will
not be able to save the policy until they are fixed and the
workflow passes validation.
The message supplies the activity ID in brackets, which appears in
a flyover description when you move the mouse pointer over an
activity; followed by the name and the error message.
Cut Remove a section (one or more activities and connectors) from a
workflow and store it in the clipboard for pasting into a different
workflow.
Copy Copy the selected activities for pasting into this or into a different
workflow.
Paste Paste the contents of the clipboard into the current workflow.
Clear Remove the selected activities from the workflow.
Undo Undo the last action (or actions if you continue to click).
Redo Redo the previous action.
________________
___________________________________________________
Select Selection mode. This is a toggle tool: click it again to turn off
selection. Use the Select tool to drag an activity into position or to
select it for removal. You can click and drag from one point to the
opposite corner to select a group of activities, or use Shift+click to
select multiple activities individually.
Perform Node Layout
Reposition the activities in a policy. Automatically lay out the
workflow from left to right using an algorithm that minimizes
connector crossings.
Actual size Returns the view to normal sizing. Used after zooming.
Fit to contents
Re-scales the view so all activities are visible. This is useful when
you have added or removed activities.
ZoomIn Enlarge the image size on the policy Grapher view.
ZoomOut Reduce the image size on the policy Grapher view.
Zoom Box Select an area to zoom into and the view will expand or contract to
fit.
Pan Select the entire policy and to move it around the Grapher view.
General activities
The general activities appear in the first tab of the Workflow Components area.
The lists the general activities:
Suspend execution
Suspend execution has you specify a unit of time, expressed in seconds, that
you want a policy to wait before proceeding. This is a useful feature if, for
example, you issued a command, and you want to give it time to complete before
continuing to run the policy.
Make a Choice
Available only in environments that include the Candle Management
Workstation
This activity opens the User Choice Settings window for you to write a message
and assign it to a work group to notify operators that manual intervention is
required. When the activity executes, users in the work group see the message and
are prompted make a choice. Escalate or timeout after 5 minutes is the default wait
period before timeout occurs.
Every group is the default work group, which means all users connected to the
monitoring server will receive the message. The User Choice Settings window lists
any work groups that were created in the Candle Management Workstation.
End code choices for starting the next activity: Timeout; Choice.
Connect
Use this tool to add connecting lines from one activity to the next to direct the
workflow of the policy.
You can have a single connector from an activity, and you can have multiple
connectors from an activity so long as each connector links to a separate activity.
Multiple connectors from an activity are processed using AND logic.
When you join activities using the Connector tool, you assign an endcode to each
connection. As you click and drag from one activity to the next one in succession,
a window opens from which you select a link condition. Listed are the possible
conditions (end codes) resulting from the source activity that will invoke the target
activity. For example, if you are connecting a Wait until a situation is True activity,
and choose Situation is true as the link condition, the target activity will begin
executing when the situation becomes true.
Extensions
The Extensions tab has the following activities.
Wait until a situation is false is useful for policies that you want to repeat when
the situation state returns to false. An example would be a policy that uses an
emitter activity to generate a trouble ticket when CPU activity is high. If this
condition continues across beyond the 30-minute sampling interval, a new trouble
ticket is generated every 30 minutes. To prevent this from happening, you can add
a Wait until a situation is false activity to the end of the workflow, so the policy
does not restart until the situation has gone to false, then true again.
This activity does not apply to events that were closed manually. (See “Closing an
event” on page 138.)
Emitter activities
When your Tivoli Monitoring Services managed network includes an IBM Tivoli
Alert Adapter or IBM Tivoli Alert Manager, this tab shows the emitter activities
available for these products. Emitter activities are used to forward situation events
to Tivoli management products and to third-party party management products.
For more information on the parameters for the emitter activity, click Help in the
Emitter Settings window and refer to the documentation for your alert adapter or
alert manager product and for the management product targeted.
Activity Description
ITO Event IBM Tivoli OMEGAMON Alert Manager for HP OpenView
IT/Operations.
NetView Event IBM Tivoli Alert Adapter for TME 10 Netview.
OpenView Event IBM Tivoli OMEGAMON Alert Manager for HP Openview
NNM.
Peregrine Ticket IBM Tivoli Alert Adapter for Peregrine ServiceCenter.
Remedy Ticket IBM Tivoli Alert Adapter for Remedy ARS.
SNMP Event This activity is for the SNMP Gateway on Windows, available
with the Universal Agent. It enables you to send any SNMP
event to an SNMP manager.
TEC Event IBM Tivoli Alert Manager for Tivoli/Enterprise Console; IBM
Tivoli Alert Adapter for Tivoli/Enterprise Console.
Data emitted means that the data generated by the activity was
emitted successfully to the application.
This message appears if there are no emitters running on your managed network.
This message appears when no situation activities have been added. Add a
Wait until a situation is True or Evaluate a situation now activity to the
view.
Notes
This section has additional information and special considerations for setting up
policies.
Return codes
When you specify a Evaluate a situation now activity, you may receive one of the
following return codes:
v 861
This return code is received when an evaluated situation’s rule definition does
not exist on the monitoring server to which the monitoring agent that is the
target of the situation is attached.
While the default setting for an evaluated situation is Activate at startup, it is
possible that you have changed this setting. The rule is created the first time the
situation is started on the subject monitoring server. To correct the problem,
manually restart the situation being evaluated.
v 1191
This return code is received when the connection between a monitoring server
on which a policy is running and a remote monitoring server that is the target of
an evaluated situation is invalid.
This is caused by the remote TEMS having been recycled since the connection
was established. The next Evaluate request causes the connection to be
established. This and any subsequent requests will succeed. No user intervention
is required.
SOAP commands
When using a soap: command in a policy, the policy must be configured to run at
the monitoring server. See “Tivoli Enterprise Web Services” in the IBM Tivoli
Monitoring Administrator’s Guide.
Policies can specify user choice activities to request user intervention. When a user
choice activity within a policy starts, a work item is generated for a work group,
and the work item appears on a work list of all Candle Management Workstation
operators who belong to that workgroup. In addition, a notification is displayed on
each operator workstation.
In Tivoli Enterprise Portal, there is a default work group called Every group. All
users connected to the monitoring server will receive the message. Although there
is no facility for creating other work groups, the User Choice Settings window lists
any work groups that were created in the Candle Management Workstation.
When the user choice activity starts, a work list item is generated. If the item is not
responded to within the escalation period, and if an escalation group was
specified, the work item is deleted from the current work group’s work list and
another work item is generated for the escalation group. If no escalation group was
specified, or if the work item is escalated but still not responded to within the
escalation period, the user choice activity times out.
You can provide a default path that this policy should take if a time-out occurs, by
joining the user choice activity to any other activity using a connector line with a
type of TIMEOUT. If no such path exists, the policy will either stop or will restart
from the beginning (depending on the setting for Restart) when the work item
times out.
A work item is the request that a policy sends to a work group requesting user
intervention. A work item appears on a work list.
A work list is a collection of work items. Every user has a work list. Anyone in a
work group can respond to a work item in their list. A user’s work list contains all
of the work items for all of the work groups to which they belong.
Work group members can also manually transfer a work item to another work
group. Work items can have only one escalation, but an unlimited number of
transfers.
When you set up a work group, you assign a default escalation work group. If no
one in the work group responds to the work item within a specified period of
time, the work item automatically escalates to the default escalation work group.
For example, suppose you create a policy called “CPU_High” that detects when a
job is using too much CPU, and then sends a work item to a work group asking
that someone hold or end the job. In the Candle Management Workstation, you
also create a work group called ABC that responds to work items that deal with
excessive system resource, and you assign users X, Y, and Z to the work group.
When policy “CPU_High” detects that a job is using too much CPU, a work item
is sent to work group ABC. This work item is placed on the work lists for users X,
Y, and Z. Any of these users can respond to the work item after which it is deleted
from every user’s work list.
Correlation mode
The following are examples of the policy correlation modes. Policies correlated by
host name or host address correlate data from different types of managed systems
that are running on the same physical machine.
You create a policy called CPU_Usage that says, wait for a situation in which CPU
response time exceeds 2.5 seconds. Now evaluate a situation that looks for a single
job on the same physical host that is using more than 20% of the CPU. If such a
job is found, do Action_XYZ. You distribute CPU_Usage to multiple managed
systems on multiple host machines.
When you run CPU_Usage, CPU response time must exceed 2.5 seconds and a
single job must be using more than 20% of the CPU on the same machine for
Action_XYZ to be taken on that host machine. However, the two events do not
necessarily need to originate from the same agent.
You now distribute a policy to both business application groups XY and XZ. When
the Wait until a situation is True activity distributed to the Oracle agent on
machine X fires, two separate threads are started, one for each business application
group of which the Oracle agent is a member. For thread XY, a subsequent MQ
situation would be evaluated on machine Y, and for thread XZ, a subsequent MQ
situation would be evaluated on machine Z.
Uncorrelated
Uncorrelated policies are unconcerned about the source of an event. There is only
one instance of the policy regardless of the number of managed systems to which
it is distributed. Events from any agent on any host are grouped and handled as if
they all originated from the same source.
You create a policy called My_Policy that says, when Sit_A fires, wait on Sit_B. If
Sit_B is true, do Action_C. You distribute My_Policy to managed system X and
also to managed system Y. When you run My_Policy, Action_C takes place if Sit_A
fires on either managed system X or managed system Y and subsequently Sit_B
fires on either managed system X or managed system Y.
When the trigger situation in a correlated policy fires on a given managed system,
the policy uses the name of the managed system, together with the policy’s
correlation mode to determine:
v the name of the correlation group by which events from that managed system
will be tracked, and the other managed systems that belong to that same
correlation group.
v For policies correlated by host name, host address, or business application, it is
possible that the managed systems belonging to a given correlation group are
connected to different s. Consequently, when the trigger situation fires on a
managed system connected to one , the evaluation may occur on a managed
system connected to another.
Overview
Launch application
Launch application enables you to start programs and open Web pages using
definitions you have created. Applications can be launched from Navigator items,
table views, chart views and event console views.
Take action
The take action feature allows you to set up your own customized list of action
commands. You can then use a pop-up menu to cause an action command to
execute at one or more managed systems. Some agents come with a set of
predefined take action commands. You can also issue commands dynamically.
For example, if you see a process consuming too much memory, you can send an
email to someone to shut down the application or you can send shut down
command directly to the managed system.
Launch application
The launch application feature enables you to write definitions for starting
programs. The launch definition can include arguments that are passed to the
application when it is started. For example, you could open a specific file in a text
editor, run a script with variables, or open the IBM web site and search for a value
passed by the argument.
Notes:
1. Commands launched from the Linux portal client must be run in a Windows
emulator.
2. Although you can assume the launch will start at the command prompt, some
applications require that you specify the command prompt as the target and
the launch application as the argument. See “Launch application examples” on
page 169.
3. If, instead of the application launching, you get an error message, enter the
command and any resolved arguments at the command line, adjusting the
entry until the program launches as expected. Then edit the launch definition
to match.
Launching an application
Your user ID must have Launch permission for the Launch Application feature.
1. Do one of the following:
v Select the Navigator item from where you want to launch the application.
v Open the workspace containing the view from where you want to launch the
application.
2. Right-click one of the following:
v Navigator item.
v Row in a table or situation event console view.
v Slice of a pie chart.
v Bar of a bar chart.
Your user ID must have View and Modify permission for the Launch
Application feature.
1. Select the Navigator item from where you want to originate the launch
definition.
2. If the launch definition will originate from a table, chart or situation event
console view, open the workspace containing the view.
3. Right-click one of the following:
v Navigator item
v Row in a table or situation event console view
v Slice of a pie chart
All items of this type and affinity makes this launch definition available to
all Navigator items of the same type. For example, if you create a launch
definition from the Navigator item named Universal Database, the definition
will be available from all other Universal Database agent items.
Global applies the launch definition to all items in all Navigator views.
11. Click Evaluate to see how the arguments will resolve when the application
launches.
12. When you are finished with the launch definition, click Apply to save your
changes and keep the window open; or click OK to save your changes and
close the window.
In this example of substitutable item, the attribute DiskName was selected. It
shows in the Arguments text box as &NT_Logical_Disk.Disk_Name:
http://www.ibm.com/search?q=+&NT_Logical_Disk.Disk_Name+
4. Select Launch from the pop-up menu and select the definition you want to
copy or edit.
5. If you want to create a copy of the definition, click Create Another.
6. Starting at 5, continue with the remaining steps under Creating a launch
definition.
Take Action
Overview
The take action feature lets you interact directly with your applications and
operating system. Take action has a text box for entering your own system
command, or you can choose from a list of predefined commands. It also has a list
of systems on which to effect the command.
You can invoke the Take Action feature from several places:
Navigator item
Send a command to a managed system associated with the current
Navigator item.
Table row, Pie chart slice, Bar chart bar
Send a command to a system associated with the selected row or data
series.
Take action view
Add a take action view to a workspace so you can access the feature from
that workspace at any time.
Situation
Add a command that is sent to a managed system or add a message that is
sent to the universal message console that executes when the situation
becomes true.
Policy Add a Take action or Write message activity to a policy that issues a
command to a system or generates a message that displays in the universal
message console view.
You have the choice to select a predefined command or enter a command yourself.
You can also create and save commands so you can select them from the list of
defined commands.
Example: This is an action command for a situation that detects when a certain
process is not running. When the system is down, the situation becomes true and
this text message is sent to the technician’s phone:
echo "Process &NT_Process.Process_Name on Server &NT_Process.Server_Name is Down,
Please investigate!” |sendmail -subject="Process &NT_Process.Process_Name on
&NT_Process.Server_Name is not running” [email protected].
When you issue a take action command, your user ID must be authorized on the
relevant system for the requested command. For example, to issue a TSO
command, your user ID must be a valid TSO ID and it must also be defined as a
valid logon ID for Tivoli Enterprise Portal.
Your user ID must have View permission for the Action feature.
1. Select the Navigator item associated with the application or managed system
on which you want to execute the command.
2. Right-click the Navigator item.
You can also right-click a row in a table view, slice in a pie chart, or bar of a
bar chart.
3. Point to Take Action and choose Select from the pop-up menu.
4. Select a predefined action using the Name field; -OR- enter a command using
the Command field.
To select a predefined action:
a. In the Name field, select an action name from the list.
The command appears in the field below. Some actions do not require you
to add a value. Those that do will open the Edit Argument Values window
automatically. Other actions may display a suggested value, which you can
change by clicking Arguments and entering a different value.
b. If the Edit Argument Values window opens, enter a value to identify the
item on which the action should take place.
c. If the action command fills in the value automatically and you would like to
change it, click Arguments and enter the value that identifies what to act
on.
A two-column window opens with the attribute in the Name column and a
place to enter the value of the attribute in the Value column. For example, if
you chose the action that starts a process, you need to identify the process
by entering its name as the value. If no argument is required for the action
command, this function will be disabled.
d. Click an application host in the Destination System list.
If you want to send the command to multiple systems, use Ctrl+click to
select more or Shift+click to select all systems between.
To enter a command:
a. In the Command text box type a command.
Example: Net send mars The server is running out of memory. Close some
applications. The user at the system named mars sees the message, The
server is running out of memory. Close some applications.
b. Click an application host in the Destination System list.
If you want to send the command to multiple systems, use Ctrl+click to
select more or Shift+click to select all systems between. After you click OK,
the command is executed on the selected system or systems. If a message is
returned, it will be from the application on which the command was
executed.
Your user ID must have Modify permission for the Action feature.
1. Select the Navigator item associated with the application on which you want to
execute the command.
2. Right-click one of the following:
v The selected Navigator item
v Row in a table view
v Slice in a pie chart
v Bar of a bar chart
3. Point to Take Action and select Create/Edit from the pop-up menu.
The Edit Action and Select Action windows open.
4. Select <Create new Action> and click OK.
5. In the Create New Action window, enter a name and any description for the
command.
6. Select the type of command.
System Command is for issuing a command on the operating system associated
with this Navigator item. For example, if you selected a Navigator item on the
UNIX Systems branch, you could enter a UNIX shell command.
The other types of commands that appear are for the agents associated with
this Navigator item. For example, at the Enterprise level, you will see all agent
types on your managed network, whereas at the system level, you will see
those for the types of agents running on that system.
7. In the text box, type the command just as you would from the command line.
8. If you want to insert an attribute, which will be replaced by its value at run
time, click Insert Attribute, then select one from the Select attribute window.
Example: echo System: &NT_Logical_Disk.Server_Name, Disk:
&NT_Logical_Disk.Disk_Name, Space Available:
&NT_Logical_Disk.%_Free%|mail userID. This command sends an email that
reads, ″System: MyServer, Disk: D:, Space Available: 15%.″
9. When you are finished creating the action, click OK to save it.
Your user-defined action is now selectable from the list of actions available for
this agent. The action will be available to all users whose IDs have View Action
permission and the application the command was written for as one of their
Allowed Applications.
Your user ID must have Modify permission for the Action feature. If the split
view and take action view tools are disabled (dimmed), or if take action
commands are disabled, your user ID does not have Workspace Author Mode
permission or View Action permission or both.
1. Open the workspace where you want the view.
2. If you want the view to occupy a new space, click Split Vertically or Split
Horizontally in one of the views.
3. Click Take Action.
Point and click inside the view where you want the take action view. The
mouse pointer changes to as you move inside the workspace. Once you
click, the old view is replaced by the take action view.
4. If you want to send a command now, follow the instructions for 4 of
“Launching an application” on page 166 to select a predefined action or enter a
command.
5. Save the workspace if you want to keep the take action view in this workspace
for future work sessions.
User ID
The action command is issued with the authorization of the user ID on the
managed system or monitoring server machine to which it is sent.
If your managed network validates user IDs, then your ID must be authorized on
the relevant system receiving the command. For example, to issue a TSO
command, your user ID must be a valid TSO ID and it must also be defined as a
valid logon ID for Tivoli Management Portal.
Overview
The terminal emulator adapter turns the view into a 3270, 5250, or Telnet interface
so you can connect to any TN3270, TN5250, or VT100 host system with TCP/IP.
For 3270 or 5250 terminal views, you also have scripting capability with record,
playback, and authoring of entire scripts. You can author a script to zoom to an
application, such as to a specific point in an OMEGAMON II product. The
scripting engine is an interpreter/execution engine based on a C-like language. It
has a defined format and syntax, and a set of built-in functions. It also allows you
to create your own functions. Since it is intended to address a specific
environment—that of manipulating terminal session navigation—it does not
provide a full range of programming functionality.
Tip: If you want to keep the terminal view on your desktop while you
navigator to other workspaces, you can always create a new window with
Ctrl+N (see on page 29).
Properties: Configuration
Right-click the terminal view and click Properties to see the Configuration tab for
the view:
Configuration has three sub-tabs for customizing the terminal view and its display:
Connection, Scripts and Zoom. Whenever you open the workspace, the script you
specify will run automatically and the host you specify will be connected
automatically.
Connection
Connection
This is the same Terminal Emulator Configuration window you get when adding a
terminal view to the workspace. The values are those you supplied when you
added the terminal view. You can change them here:
Host is the host name or IP address of the system to which you want to connect.
Port is the IP port number used by the host software. The default of 23 is valid for
most installations.
Terminal Type is the name and dimensions of the terminal to emulate. Accept the
default or select one from the list.
Connect when entering workspace will connect to the host when you open the
workspace. If you disable it, you need to click Connection to start the session.
Disconnect options
Do not disconnect when leaving workspace keeps the session open as long as you
are logged on to the portal server, so you can return to this workspace and the
session where you left it last.
Disconnect after this many minutes:___ will disconnect the works session the
number of minutes entered here after you close the workspace.
Scripts
This is the same as the Manage Scripts window, which opens when you click
Manage Scripts in the terminal view.
Zoom
(Not available in this release of Tivoli Enterprise Portal.) This is the user ID and
password that will be used to log on to a terminal session when you Zoom from
the event workspace to the OMEGAMON where the event occurred.
TSO User ID is the Time Sharing Option user ID for logging on to the host session.
Password is the password for your user ID. To ensure that no one can see your
password, each character you type appears as an asterisk (*).
Confirm Password Enter the same password as above to confirm you typed it
correctly.
Properties: Style
Right-click the terminal view and click Properties to see the Style tab for the view:
Text style
Font name for the session display is Monospaced by default or you can select
another from the list.
Size is 12 by default or you can select another point size from the list.
Show keypad selects KeyPad automatically for the view whenever you open
the workspace, so the function key mappings will display at the bottom of the
view.
Show block cursor displays the cursor as a block instead of as the underscore
character.
Show ruler draws a line along the vertical axis of the cursor and along the
horizontal axis so you can easily locate the cursor on the display.
Running a script
Once you have scripts saved for a terminal view, and the terminal view saved with
a workspace, you can run them at any time. You must be connected to a 3270 or
5250 session before you can run a script.
1. While in the terminal view, click Connection and fill in the Terminal
Emulator Configuration window:
v In the Host text box, type the host name or IP address of the system to which
you want to connect.
v In the Port text box, type the host port number.
v This is the IP port number used by the host software. The default of 23 is
valid for most installations.
v Select a Terminal Type from the list, or accept the default.
v Click OK to accept the configuration and establish the connection.
2. Click Manage Scripts to open a list of available scripts.
3. Select a script from the list or type a name in the Script Names text box.
4. Click Run to start executing the selected script.
5. If you want to stop the script before its completion, click Stop.
You must be connected to a session before you can run a script.
Recording a script
The recorder allows you to capture and play back host 3270 or 5250 sessions. As
you interact with the terminal session, the session is recorded as a set of script
commands that can be saved and played back at a later time. This allows for the
automation of navigation to specific screens.
1. While in the terminal view, click Record New Script.
2. In the window that opens, type a new Script Name and click OK.
From this point on, all terminal activity will be captured in the script.
3. Perform all the actions to be recorded in the script.
4. When you are finished, click Stop.
The script is now available in the workspace for editing or execution through
Manage Scripts.
5. If you want the script to start automatically upon connection, select the script
from the Startup Script list.
6. Click Save to permanently save the script.
If you do not save the workspace, the script will be available from other
workspaces, but only during this work session; it will be lost when you close
the connection with the portal server. Session scripts are saved with your user
ID, so no other users will be able to see and run the same scripts unless you
were in workspace administration mode when you created them.
Scripting syntax
You create new 3270 or 5250 session scripts using the Manage Scripts feature
available from the terminal view and described on page 179.
Syntax
A script is a program made up of function definitions, variable definitions, and
executable program statements. The terminal emulator scripting language is similar
to Java or C.
Reserved words
Reserved words are character strings that have special meanings. They cannot be
used except for their intended meaning. The reserved words are of three types:
v language keywords
v predefined constants
v built-in function names.
Language keywords
Language keywords are used as commands within a script. They are interpreted to
provide some action or considered as part of a statement. You can use these
keywords only for their predefined purpose:
AND ; (semicolon) If
OR Break Int
EQ Continue Real
NE Else Return
GE Exit String
GT For While
LE Function LT
Identifiers
Identifiers are the names that you create to denote constants, variables, and
functions. Identifiers have the following characteristics:
v an identifier may be any length
v the first character must be alphabetic (a-z, A-Z), numeric (0-9), or an underscore
(_)
v the remaining characters may be alphabetic (a-z, A-Z), numeric (0-9), or
underscores (_)
v each identifier must be unique. Identifiers cannot be one of the reserved words.
Punctuation
The following punctuation rules apply to a section
v Statements end with a semi-colon – ;
v Parameter lists are enclosed in parenthesis – ()
v Parameters are separated by commas – ,
v Statement blocks are enclosed in braces – {}
Example:
White space
The script language ignores white space (spaces, tabs, new-lines) except within a
quoted string.
Comments
Comments are supported as a way to add explanatory text to your script program
or to exclude certain parts of the code.
v comments can be single line or multi-line comment blocks
v the script interpreter ignores comments
v comment blocks are enclosed within the /* */ pairs. Comment blocks can span
multiple lines.
v comments can also start with the // character string. The interpreter ignores
everything to the right of the double slash up to the end of the line (new-line
character).
v comments can start anywhere in the script
Example:
Constants
A constant is a named data item with a predefined value. You cannot change the
value assigned to a predefined constant. The predefined constants are:
v NULL
An empty reference. Similar to an empty pointer. Note that this is not the same
as a null string ″″.
v TRUE
Equivalent to the number 1.
v FALSE
Equivalent to the number 0.
Variable definitions
A variable is a named data item whose value can change during the course of
program execution. A variable name must follow the naming convention of an
Identifier (alphabetic character, numeric character, and the underscore.) When more
than one variable is defined on a single declaration, the name must be separated
by commas. Each variable declaration must be terminated with a semi-colon.
Variable names cannot be the same as a reserved word.
Note: Identifiers and Names in the script language are case-insensitive. Thus, abc
is the same as ABC.
The negative unary operator reverses the sign of an expression from positive to
negative or vice-versa. The net effect is that of multiplying the number by -1.
Example:
a = -10;
The Prefix operators increment or decrement the variable prior to dereferencing the
object, while the Postfix operators increment or decrement the variable after
referencing it.
Example:
A=1;
B = a++; // b will equal 1, a will equal 2;
A = 1;
Operator precedence
Expressions are normally evaluated left to right. Complex expressions are
evaluated one at a time. The order in which the expressions are evaluated is
determined by the precedence of the operators used. The standard C ordering is
followed.
1. negation (-) unary
2. power
3. multiplication, division and modulo
4. addition and subtraction
If an expression contains two or more operators with the same precedence, the
operator to the left is evaluated first. For example, 10 / 2 * 5 will be evaluated as
(10 / 2) and the result multiplied by 5.
Assignment Operator (= )
Use the assignment operator (=) to copy a constant, literal, variable expression
result, or function result to a variable. The script language does not support
multiple assignments in a single statement (such as a=b=c=0). String lengths are
defined based on the size of the string assigned to the variable and can change
dynamically at runtime.
Relational Operators
Relational operators are as follows:
Table 7. Relational Operators
Symbol Operation Example Description
< Less than a<b True if a is less than b.
> Greater than a GT b True if a is greater than b.
== Equal a == b True if a is equal to b.
!= Not equal a NE b True if a is not equal to b.
<= Less than or a <= b True if a is less than or equal to b.
equal
>= Greater than or a GE b True if a is greater than or equal to
equal b.
String comparisons
Two strings are considered equal if they match character for character and are of
the same length. Strings are compared character by character, left to right until all
characters have been matched or one of the strings has been exhausted. If the end
of one string is encountered before the end of the corresponding string, the strings
are considered to be of unequal length and result in an unequal condition.
If any character in a string does not match the corresponding character in the other
string, the comparison stops and the strings are considered not equal. Strings are
case-sensitive.
Examples:
Str1 = ″abcdefg″;
Str2 = ″abcdefg″;
Str3 = ″abcdef″;
Str4 = ″ABCDEFG″;
If (str1 == str2)&ldots; results in an equal/true conditions
If (str1 == str3)&ldots;. Results in a not equal condition because str3 is shorter
than str1
If (str1 == str4) &ldots; Results in a not equal condition because the strings are
of different case;
Example:
Str1 = ″abc″;
Str2 = ″def″;
Str3 = str1 + str2; results in ″abcdef″
IF statement
The IF statement allows conditional execution based on the evaluation of an
expression. IF statements can be nested.
Example:
if (op == 3)
setField(pswd,2,5);
else
msgBox(″unknown operation:);
if (prompt(″enter Name″) == ″″) errMsg(″Name must be specified″);
For statement
The For statement allows iterative execution based on the evaluation of an
expression. An initializer statement can be executed to establish initial conditions.
A conditional expression is used to control the number of times the loop is
executed. An update statement is issued each iteration through the loop.
Example:
Return statement
Use the Return statement to return from a function or to end the main program
block. Program execution resumes at the statement following the point at which a
function was called, or exits the script if it is in the main program block. An
optional value can be associated with the return statement.
A RETURN statement that is not within a function definition terminates the script.
Syntax:
RETURN [return-value];
Table 10. Return Statement
Part Description
RETURN The keyword to pass control to the calling statements.
return-value An optional value to be returned to the caller. This can be a constant
value, literal, or expression.
Example:
&ldots;..
return 0;
While statement
The While statement executes a series of statements in a loop for as long as a
condition is true.
Syntax
Example:
cnt = 1;
WHILE (cnt < 3)
{
a = a+1;
cnt = cnt + 1;
}
// this will execute the loop 3 times
Break statement
The Break statement causes control to exit a While loop regardless of the condition
controlling the loop.
Syntax:
BREAK;
Example:
cnt= 1;
WHILE (cnt < 3)
{
userid = prompt(″Enter Userid″);
if (logon(userid) == 1) break;
cnt = cnt + 1;
}
Continue statement
The Continue statement causes the execution of the While loop to resume at the
top, without executing the rest of the statements in the block.
Syntax:
Continue;
Example:
cnt= 1;
WHILE (cnt < 3)
{
userid = prompt(″Enter Userid″);
if (logon(prompt(″Enter Userid″)) != 1)
{
msgBox(″Invalid Logon id″);
continue;
};
// do other logic&ldots;.
}
Scripting functions
Overview
A function is a named set of statements that perform a certain task. Functions have
unique names. A function can take a set of arguments on which to operate on and
return a value that represents the result of the task it has performed.
User-defined functions
User-defined functions make it possible to create structured scripts. User- defined
functions must be declared at the beginning of a script. The FUNCTION keyword
identifies the block of statements as a user-defined function.
The rules described in “Global and local variables” on page 182 apply to the
parameters and local variables used in a function. Any optional parameter names
are assumed to be local to a function. Other local variables that are unique to a
function can be declared. The control flow of the statements in a function follow
the same rules that apply to normal program statement blocks. A RETURN
statement returns control to the point in the program where a function was called.
A return value may be passed back as part of the return statement.
Example:
Calling a function
All functions , whether user-defined or built-in, are called in the same manner.
Enter the name of the function, followed by the parameters to be passed to the
function.
Example:
signonPanel(″OMEGAVIEW″);
Examples:
Built-in functions
The terminal script language has a set of built-in functions that can be used to
manipulate data as well as to control the navigation through a terminal session.
Since these functions are already defined internally, they do not have to be
declared before using them. Simply type the name of the function.
The following sections describe the built-in functions and their parameters and
return values.
Upper
Upper converts a string to upper case.
Parms String to be converted
Return Returns a new string, converted to uppercase. Follows the rules of
the language in use.
Example:
Str = ″abc″;
Str2 = upper(str); // str2 will contain ″ABC″
Lower
Lower converts a string to lower case.
Parms String to be converted
Return Returns a new string, converted to lowercase. Follows the rules of
the language in use.
Example:
Str = ″ABC″;
Str2 = lower(str); // str2 will contain ″abc″
Index
Index returns the position (index relative to one) of a substring within a String.
Parms Target string - string to be searched
Return Returns the position of the search string or zero if not found
Example:
Str = ″abcdef″;
Val = index(str,″def″); // val will contain 4
Length
Length returns the length of the string.
Parms String to be inspected
Return Returns a numeric value of the length of the string (in characters),
or 0 if null string
Example:
Str = ″abc″;
Val = length(str); // val will be 3
Substring
Substring returns the portion of the string as specified by the offset and length. It
can be abbreviated as Substr.
Note: The length parameter is optional, and if not specified will assume the length
up to the end of the target string. If the length exceeds the length of the
target string, an error is raised.
Example:
Str = ″abcdef″;
Str2 = substring(str,3,3); // str2 will contain ″def″
Str3 = substr(str,1); // str3 will contain ″bcdef″
Min
Min compares two numbers and returns the value equal to the lesser of the two
numbers.
Parms Number 1 - the first value to compare
Number 2 - the second value to compare
Return Returns either Number 1 or Number 2 depending upon which is
less
Example:
Val1 = 10;
Val2 = 20;
Val3 = min(val1,val2); // val3 will contain 10;
Max
Max compares two numbers and returns the value equal to the greater of the two
numbers.
Parms Number 1 - the first value to compare
Number 2 - the second value to compare
Return Returns either Number 1 or Number 2 depending upon which is
greater
Example:
Val1 = 10;
Val2 = 20;
Val3 = max(val1,val2); // val3 will contain 20;
Prompt
Prompt allows the script to gather data from a user interactively by asking a user
to enter data. This presents a window with message text and an edit field. It
prompts you to enter data. You can either enter data and click OK or click Cancel
to ignore the prompt.
Parms MsgText - text of the message to be displayed in the window
Example:
If you enter a value, it is placed in the variable userid. If you do not enter any
data, and click OK, a null (zero length) string is returned.
MsgBox
MsgBox displays a text message on the screen. A message severity type can be
associated with the message. This causes the system-defined messageType icons to
be displayed. You can control the type of buttons to appear with the OptionType
parameter.
Parms arg 1 = message string
arg 2 = msg type - a numeric value indicating the type of ICON to
display
0 = ERROR_MESSAGE;
1 = INFORMATION_MESSAGE;
2 = WARNING_MESSAGE;
3 = QUESTION_MESSAGE;
-1 = PLAIN_MESSAGE (Default)
Example:
Note: Since the msgBox is waiting for user input, it may take a long time before
the user responds. If it is running unattended, the user will never respond,
and the script will stall. For this reason, there is a timeout value associated
with this function. If the user does not respond within 10 minutes, the
dialog is automatically dismissed and a value of -2 returned.
Sleep
Sleep suspends the execution for the time interval specified
Parms Time interval1 - the number of milliseconds to wait
Return Returns zero if successful; minus one if an error
Example:
Note: The sleep is an Active wait. The actual internal value is a 1 second wait. The
implementation uses a loop counter to issue the 1 second sleep. This
prevents a stall condition and allows the script to be stopped or aborted.
Emulator functions
The emulator built-in functions perform actions related to the navigation and
display of data in the terminal session. The session must be connected to a host in
order for these functions to execute. If the session is not connected, the function
will return with a default value of zero for numeric return values or a null string
for string values. If the function fails, a negative one (-1) will be returned.
Disconnect
Disconnects the current session from the host. The script terminates when the
session disconnects.
Parms None
Return Returns 0 if success; -1 if an error
Example:
FindString
Use FindSring to find the string specified anywhere on the screen.
Parms Arg1 - string to search for
Return Returns the location of the string, or -1 if the string was not found
or the session gets disconnected
Example:
user = findString(″Userid″); // find the string ″Userid″ and return its location
if ((findString(″OMEGAVIEW″) > 0) // is this the correct screen?
GetCursor
GetCursor returns the current location of the cursor. This is the buffer offset.
Parms None
Return Returns the relative location of the cursor, or -1 if an error occurs
or the terminal gets disconnected
Example:
GetCursorCol
GetCursorCol returns the current column number of the cursor.
Parms None
Return Returns the integer value of the cursor column number, or -1 if an
error occurs or the terminal is disconnected
Example:
GetCursorRow
GetCursorRow returns the current row number of the cursor.
Parms None
Return Returns the integer value of the cursor row number, or -1 if an
error occurs or the terminal is disconnected
Example:
GetDefaultTimeout
GetDefaultTimeout returns the value of the WaitForScreen default Timeout.
Parms None
Return Returns the value of the WaitForScreen default Timeout in
milliseconds
Example:
GetField
GetField retrieves the string from the field pointed to by location. The number of
characters is determined by the length of the field.
Parms Position - the position of the field on the screen. This can be a
ROW,COL or the relative location on the screen.
Return Returns the string of characters from the field, or a null string if it
is an invalid field position
Example:
Note: The location can be any valid location on the screen. The field containing
that address is referenced. Protected or unprotected data can be retrieved. If
the location is invalid, an error is generated and a null string is returned.
GetFontSize
GetFontSize gets the current Emulator screen font size.
Parms None
Return Returns an integer value of the Font point size
Example:
GetProperty
GetProperty retrieves the value of a System Property.
Parms PropertyName - the name of the system property to retrieve,
enclosed in quotes
Return Returns the value of the property, or null if not found
Example:
GetString
GetString retrieves the string from the location on the screen. The number of
characters is determined by the length parm.
Parms Position - the position on the screen. This can be a ROW,COL or
the relative location on the screen.
Length - number of characters to retrieve
Return Returns the string of characters from the location
Example:
Note: The location can be any valid location on the screen, protected or
unprotected. If the location is invalid, an error is generated and a null string
is returned.
Hide
Hides the terminal screen. This sets the terminal frame to not visible. It is used
when it is not desirable to show the actual screens that are being navigated. When
the script ends, or the session is disconnected, the screen will be shown.
Parms None
Return Returns 0 if successful, or -1 if there is an error or the terminal gets
disconnected
Example:
Screencols
Screencols returns the number of columns on the screen. For a 3270 model 2 this
would be 80.
Parms None
Return Returns the number of columns on the screen, or -1 if there is an
error or the terminal gets disconnected
Example:
Screenrows
Screenrows returns the number of rows on the screen. For a 3270 model 2 this
would be 24.
Parms None
Return Returns the number of rows on the screen, or -1 if there is an error
or the terminal gets disconnected
Example:
SendKey
SendKey simulates pressing the corresponding AID key.
Parms String representation of the key to send
Return Returns 0 if successful, or -1 if there is an error or the terminal gets
disconnected
Example:
SendKey (″Enter″); // sends the Enter key. Any modified data on the screen will
be sent as part of the data stream.
Note: The behavior and data that gets transmitted to the host are dependent on
the actual key being sent. The Enter and the Function keys send any
modified data fields, as well as the cursor location and the AID key. The
other AID keys send only the AID key.
Sendstring
Sendstring sets the string at the current cursor location and sends the data with the
Enter key.
Parms String to be sent
Return Returns 0 if successful, or -1 if there is an error or the terminal gets
disconnected
Example:
Sendstring (″ctsoa″); // enters the string ctsoa at the current cursor location and
sends the data with the Enter key
Setcursor
Setcursor positions the cursor on the terminal.
Parms Screen position can be either of the following:
ROW,COL - the Row and Column to position the cursor
Location - the relative location on the screen
Return Returns the relative location of the cursor, or -1 if there is an error
or the terminal gets disconnected
Example:
SetCursor(1,1); // sets the cursor to the top left position of the screen
SetCursor(80); // sets the cursor to offset 80 (This would be row 2, col 1 on a
24x80 terminal)
SetDefaultTimeout
SetDefaultTimeout sets the default timeout.
Parms New wait time, in milliseconds. For example, 1000 is a one second
wait.
Return Returns the previous value of the WaitForScreen Timeout valued
Example:
SetField
SetField places a string in the field containing the designated location The number
of characters is determined by the length of the string.
Parms String value - the string to be placed in the field
Position - a position on the screen that is part of a field.The
position must be in an Unprotected field.This can be a ROW,COL
or relative location on the screen.
Return Returns 0 if successful, or -1 if there is an error.
Example:
Note: If the location on the screen is not an Unprotected field, or if the length
exceeds the size of the field, an error will be generated; no data will be
placed.
SetFontSize
Sets a new font size.
Parms The new font size, in points
Return Returns the previous value of the font size
Example:
Setstring
Setstring places a string at the designated location on the screen. The number of
characters is determined by the length of the string.
Parms String value - the string to be placed on the screen:
Position - the position on the screen. This can be a ROW,COL or
relative location on the screen.
Return Returns 0 if successful, or -1 if there is an error
Example:
Note: If the location on the screen is not an Unprotected field, or if the length
exceeds the size of the field, an error will be generated and no data will be
placed.
Show
Shows the terminal screen. This sets the terminal frame to visible.
Parms None
Return Returns the relative location of the cursor, or -1 if there is an error
or the terminal gets disconnected
Example:
WaitforScreen
WaitForScreen waits for a screen of data to be received from the host.
Parms arg 1 = Timeout value. This is the length of time to wait, in
milliseconds.
If no data is received by this time, processing continues
If no value is specified, a default of 15 minutes is assume
Return Returns a numeric value specifying the result of the function:
0 = data was received
-1 = timeout. No data was received within the time specified
Example:
Note: Since the WaitforScreen is waiting for input, it may take a long time before a
screen is received. If a stall has occurred and the system is not responding,
the script will stall. For this reason, there is a timeout value associated with
this function. If no data is received for 10 minutes, the wait is cancelled
automatically and a value of -1 is returned.
WaitForString
WaitForString waits for a screen containing the specified data at the specified
location to be received.
Parms arg 1 = The string to wait for
arg2 = The row,column position of the data
arg3 = Timeout value. This is the length of time to wait, in
milliseconds.
If no data is received by this time, processing will continue.
If no value is specified, a default of 15 minutes is assumed
Return Returns a numeric value specifying the result of the function:
0 = data was received
-1 = timeout. No data was received within the time specified
Example:
Note: Since the waitforstring is waiting for input, it may take a long time before a
screen is received. If a stall has occurred and the system is not responding,
the script will stall. For this reason, there is a timeout value associated with
this function. If no data is received within 10 minutes, the wait will be
cancelled automatically and a value of -1 will be returned.
// ---------------------------------------
// Check for Signon Error
// return 0 if no error
// 1 if the SignonError pop-up found
// ---------------------------------------
int FUNCTION signonErrorpop-up()
{
if ((findString("OMEGAVIEW") > 0) AND
(findString("User access denied") > 0) )
return TRUE;
return FALSE;
}
// ---------------------------------------
// Goto Command Panel
// 0 = not found
// 1 = found
// ---------------------------------------
int FUNCTION gotoCommandPanel()
{
rc = TRUE; // be optimistic
if (findString(CMD_PANEL_ID) < 0)
{
sendkey(DEFHOTKEY_CODE);
waitforScreen();
if (findString(CMD_PANEL_ID) < 0)
rc = FALSE; // not found
return rc;
}
sendkey("HOME");
sendkey("TAB");sendkey("TAB");sendkey("TAB");
sendstring("VGMVH"); // applid
waitforscreen();
waitforscreen(); // OV sends two screens (unlock)
while (1)
{
if( findString("Press Enter to begin") < 0)
{
rc = 4;
break;
}
// We have the Logo screen
setCursor(1,1);
sendkey("ENTER");
waitforScreen();
setString("MVPM");
sendKey("TAB");
setString("MVPM");
}
else
{
sendKey("F11");
waitforScreen();
setstring("MVPM");
sendKey("F24");
WaitForScreen();
}
// now continue the logon
sendKey("HOME");
setString(user);
sendKey("TAB");
setString(pswd);
sendKey("ENTER");
waitforScreen();
// if an error...
if (signonErrorpop-up() == TRUE)
{
sendkey("F12"); // clear the pop-up
waitForScreen();
sendkey("F3"); // end the session
waitForScreen();
;rc= 16; // signon error
break;
}
rc = gotoCommandPanel();
if (rc != 1)
{
rc = 24;
break;
}
rc=0;
break;
}
// success
return rc;
}
CMD_PANEL_ID = "KMVPMMAI";
DEFHOTKEY_CODE = "PA2";
EDITKEY_TAG = "=Cancel";
DEF_EDITKEY_TAG= "F12";
if (logon_complete != 0)
{
displayError(logon_complete);
return;
Formula editors
Formula editors are in the:
v Filters tab and Thresholds tab of the Properties editor
v Specification tab of the Query editor
v Condition tab of the Situation editor
When you open a view that contains a filter or threshold, or start a situation, the
sampled value of the referenced attribute is compared with the expression. A true
comparison causes the value to be filtered into the view, show as a threshold cell,
or open an event.
For example, the following expression uses the VALUE formula function and can
be read as, “When the VALUE of Day of Week is greater than or equal to 2
(Monday) and the VALUE of Day of Week is less than or equal to 6 (Friday), the
comparison is true.”
1 >= 2 <= 6
Here is another example using the MIN formula function, which is a group
function. This formula finds the process with the lowest priority base. If this
process also uses 20% or more privileged time, the comparison is true.
1 == *TRUE >= 20
Attribute characteristics
Formula functions treat attributes as numeric, text or timestamp. Attributes also
have other characteristics that further categorize them.
Numeric
Numeric attributes may represent a percentage, seconds, bytes or some other unit
of measurement.
When entering a hexadecimal value in a cell, prefix the number with zero and the
letter “x”, as in 0x123ab for hex value 123ab. In MVS applications, for example,
DASD volume serial numbers are hexadecimal.
Text
The timestamp and, usually, enumerated attributes are treated as text attributes.
Timestamp
Some timestamp functions enable you to add and subtract values from the second
attribute by using the + and - symbols. The value can be one or two digits
followed by D for Day, H for Hour, M for Minute, or S for Second.
Enumerated
Enumerated attributes have a predefined set of values and the tabular editor
supplies a list to choose from. These values are usually treated as text.
Some enumerated values are actually numeric, with text representing some or all
of the numbers, and you can type the numeric value instead of choosing a text
equivalent from a list. For example, the WebSphere MQ attribute, Action to Take has
values of n/a, delete, create, and discover. But you can also enter 5 or 6, which
represent other actions. See the help topic of the attribute in question for a list of
possible entries.
Single-row or multiple-row
Depending on the type of attribute group, data samplings return either a single
row of data or multiple rows. For example, the Windows Memory attribute group
returns one row of a data for a managed system, whereas the Windows Process
attribute group returns multiple rows, one for each process running.
A single-row attribute group will return multiple rows if it has been configured for
historical data collection.
Attributes from different attribute groups can be combined in the same situation if
they are from single-row attribute groups. Local Time and Universal Time are the
exception—they can be combined with any group.
When you create a query for an attribute group that returns multiple rows,
consider adding a pre-filter to limit the rows returned to those of interest, which
also reduces network overhead.
Cell Functions
Cell functions are available for both single-row and multiple-row attribute groups.
Numeric attributes
VALUE is the default—and most commonly used—function, and is available in all
editors; BETWEEN is available in every editor but Situation.
Hexadecimal: When entering a hexadecimal value in a cell, prefix the number with
zero and the letter “x”, as in 0x123ab for hex value 123ab.
Value of expression
Takes the sampled value of the attribute. When used with other functions, VALUE
is evaluated before the others, acting as a filter to the other functions. Example as
it appears in Show Formula:
VALUE(CPU Utilization)> 50
This formula looks through all CPU Utilization values. If one is over 50% the
comparison is true.
Tip: For situations on multiple-row attribute groups, you can add a display item
(in the Condition tab, click Advanced) to open an event for each row that
meets the condition and not just the first one.
Exclude range start/end from evaluation, when left unchecked, includes the
values entered in the range. The expression ends with 0 if this is left unchecked; 1
if it is checked.
The comparison is true if Copy Read Hits is between 50% and 60%.
Change in value
Change in value takes the amount of change between the sampled value of the
attribute and the previous value, then compares it with the value you enter here. If
the result meets the comparison, the situation is true. Valid values are numeric
integers. Example as it is displayed in Show Formula:
CHANGE (Virtual Bytes) >= 100
If the Virtual Bytes have increased by at least 100 bytes since the last data
sampling, the situation is true. For example, during the first monitor iteration the
value of Virtual Bytes is 200; during the second iteration the value is 500. Since the
metric increased by 300 between samples, the situation would be true.
Restrictions:
v You can have only one CHANGE function in a situation.
v The CHANGE function must be written on row 1 of the formula editor; all
subsequent rows are disabled.
v You cannot combine the CHANGE function with a PCTCHANGE, MISSING or
group function in a situation.
v A formula with the CHANGE function can use values from one attribute group
only.
v The function list shows CHANGE for monitoring agents that are of the correct
version; older versions will not display CHANGE in the list.
This situation is true when the memory usage of a process increases by 50% or
more between sampling intervals.
Restrictions:
v You can have only one PCTCHANGE function in a situation.
v The PCTCHANGE function must be written on row 1 of the formula editor and
all subsequent rows are disabled.
v You cannot combine the PCTCHANGE function with a PCTCHANGE, MISSING
or group function in a situation.
v A formula with the PCTCHANGE function can use values from one attribute
group only.
v The function list shows PCTCHANGE for monitoring agents that are of the
correct version; older versions will not display PCTCHANGE in the list.
Text attributes
VALUE, STR and SCAN are available in all editors; MISSING is for the Situation
editor only.
Value of expression
Takes the sampled value of the attribute. When used with other functions, VALUE
is evaluated before the others, acting as a filter to the functions. Examples as they
appear in Show Formula:
VALUE(Log Name) == S*
This will find System and Security. This formula uses a wildcard to find log files that
start with uppercase S.
If the formula is for multiple-row attribute group in a situation, add a display item
(in the Condition tab, click Advanced) if you want an event opened for every
occurrence of the condition that evaluates to true and not just the first occurrence.
Searches for text occurring at a specific location in the data returned by the
attribute.When you select STR, a Substring Comparison Information window opens
for you to enter the starting position of the string, such as 4 for the fourth
character from the left to begin looking for the string and what to look for.
Examples as they appear in Show Formula:
This formula looks for ar starting with the second character in returned values for
Handle of the User, so aardvark, parrot and sardine meet the comparison, but not
artist, star or SARDINE (case-sensitive).
Searches for text occurring anywhere in the data returned by the attribute.
Examples as they appear in Show Formula:
SCAN(Owner) == ABC
This formula scans the value of Owner for ABC anywhere in the text. For example,
an owner named ABCDEF would meet the comparison.
This formula uses a wildcard to scan the value of ProcessName for pad at the end
of the text, so wordpad and notepad would meet the comparison.
Compares the value of the specified text attribute with a list of values you supply.
The condition is true when the value does not match any in the list. This function
is for useful when you want notification that something is not present in your
system. Examples as they appear in Show Formula:
This example builds on the last one. Two names were added to the Missing List
and a system name specified with a wildcard. An event will open if any of these
processes is missing on any system whose name starts with SERVER (such as
SERVER_BLDG100 or SERVERSOUTH). If you wanted to be notified when this is
the case, you could add a notification action to be executed when the situation
becomes true.
Tip: If the formula is for a multiple-row attribute group, add a display item (in the
Condition tab, click Advanced) if you want the situation to continue testing
for missing items after opening an event for the first one.
Note: You can have no more than one MISSING in a situation and it cannot be
combined with any functions except VALUE.
Time attributes
STR, SCAN and DATE are available in all editors; TIME is in all editors except
Query; and TIMESPAN is available only in the Properties editor.
Searches for text occurring at a specific location in the data returned by the
attribute.When you select STR, a Substring Comparison Information window opens
for you to enter the starting position of the string, such as 4 for the fourth
character from the left to begin looking for the string and what to look for.
Example as it appears in Show Formula:
STR(Timestamp) == 7,03
This formula begins looking at the seventh character, the year, to find 03, so a
timestamp of 07/12/03 09:29:05 would meet the criteria but 01/20/04 11:07:05
would not.
Searches for text occurring anywhere in the data returned by the attribute.
Example as it appears in Show Formula:
SCAN(Timestamp) == 07/03
This formula scans the timestamp for a value of 07/03. A date of 07/03/04 would
meet the comparison as would 12/07/03.
Compare date/time
This is the default function for time attributes. Compares the Timestamp value
from the data sampling with the value entered here. When you select the DATE
function and click inside the value cell, the Select the Time Comparison window
opens so you can select the exact date and time to compare.The format is the date
as seen in the date columns (mm/dd/yy hh:mm:ss) or as defined for your locale.
Example as it appears in Show Formula:
This formula checks the Timestamp attribute value. When it matches the date set
here, the comparison is true.
Compares the time difference you enter with the timestamp returned by an
attribute.After you select the TIME function and click inside the value cell, the
Select Time Comparison Criteria window opens. Select a timestamp attribute from
the list. Specify the delta by combining + or - with the number of days (D), hours
(H), minutes (M), or seconds (S). The sampled timestamps are compared to the
delta. Example as it appears in Show Formula:
This formula compares the time the event was logged (Entry Time) with the
timestamp from the data sampling. If the event occurred seven days earlier, the
comparison is true. If the == were changed to <=, the comparison would be true
after eight days, nine days, and so on.
Used to filter a chart or table, or for a threshold in a table. It selects rows based on
the comparison of the Timestamp value to the time span indicated. When you
select this function and click inside the value cell, the Select Time Span window
opens for you to choose a time span. Note that only the == and != relational
operators are available for this function. Example as it appears in Show Formula:
TIMESPAN(Timestamp) == ,,7200
This formula selects all rows with timestamps within the last two hours.
Group Functions
Use these functions on attribute groups that return multiple rows of data or a
single-row attribute group that has been configured for historical data collection.
With the exception of COUNT, which can be used by all attribute types, Group
functions are available only for numeric attributes.
Minimum in group
Maximum in group
Count of group members
Average of group
Sum of group
Notes:
1. Time Span selection is not available for a table or chart view if it uses a
query that includes one of these functions.
2. When entering a hexadecimal value in a cell, prefix the number with zero and
the letter “x”, as in 0x456c for hex value 456c.
Minimum in group
For attributes that return multiple rows, finds the lowest returned value (or
values).
MIN(Priority Base)
This function finds the process with the lowest priority base. GROUP BY is Server
Name, so the view will show the process with the lowest priority base on each
system.
Situation editor: The relational operator is set to == and the value to TRUE. The
MIN function is meaningful when combined with another expression. Example as
it appears in Show Formula:
This formula finds the process with the lowest priority base. If it also has more
than 20% privileged time, the comparison is true.
Maximum in group
For attributes that return multiple rows, finds the highest returned value (or
values).
MAX(Thread Count)
This function finds the process with the highest thread count. GROUP BY is Server
Name, so the view will show the process with the highest thread count on each
system.
Situation editor: The relational operator is set to == and the value to TRUE. The
MAX function is meaningful when combined with another expression. Example as
it appears in Show Formula:
This formula finds the process with the highest thread count. If it also has more
than 150 million virtual bytes, the comparison is true.
COUNT(ID_Process)
This function counts the number of processes. GROUP BY is Server Name, and the
number of processes counted for each system appears in the ID Process column.
COUNT(Timestamp) > 10
The comparison is true when more than 10 rows have been counted.
This formula first filters the rows for those with the notepad process, then counts
the returned rows by referencing the Timestamp attribute. The attribute used for
the count does not matter, because the COUNT function is simply counting the
number of rows where this attribute appears. When the count exceeds four, the
comparison is true.
The next formula counts the processes that have been running for more than an
hour. When at least five processes have been counted, the comparison is true.
Note that when using COUNT in an AND expression, it must be the last function
in the expression.
Average of group
Totals the values that meet the comparison, then averages them.
This function averages all returned values of % User Time. GROUP BY is Server
Name, so the view will show the average user time, one row for each managed
system.
Situation editor: This calculated average is compared with the value specified and, if
there is a match, the comparison is true. Example as it appears in Show
Formula:
This formula averages all returned values of % User Time. If the average exceeds
20%, the comparison is true.
Sum of group
Takes the attribute values that meet the criteria and totals them.
SUM(CPU Utilization)
This formula totals all CPU Utilization values in the data sampling. GROUP BY is
Server Name, so the view will show the total for each managed system.
This formula totals all CPU Utilization values in the data sampling from the
system named redwood. If the sum of these values exceeds 50%, the comparison is
true.
Multiple expressions
Enter multiple expressions in the same row if they must all be met (Boolean AND
logic) and on separate rows if any of them may be met (Boolean OR logic) to set
the situation to true.
For example, if you want a situation to fire when either disk time OR disk space is
at least 90% on myserver, the condition would look like the one shown here.
1 >= 90 == myserver
2 >= 90 == myserver
Branching OR expressions
If you are building a situation or setting a filter or threshold where you want an
OR expression to branch at a specific AND expression, repeat the AND expression
in a new row with the OR expression.
In the situation example below, the comparisons are true if the notepad process
exceeds 50 seconds AND the virtual bytes exceed one million OR the notepad
process on myserver exceeds 50 seconds AND the page faults exceed 100,000 per
second.
Tip: You can double-click in the value text box to see and select an available
attribute from the Select Value window. Be sure the text box is clear before
double-clicking or the value will be inserted between existing text, and the
formula syntax will be incorrect.
Situation editor
If you are constructing a situation that requires repeating an attribute, each
instance of the attribute must appear in its own column. To repeat an attribute in
another column of the Situation editor:
v Click Add Conditions and select it from the Select condition window.
Examples:
The situation is true when the notepad process occurs more four times in the same
data sampling. The user wrote the first expression to check for notepad, then
clicked Add Conditions and selected Process Name again to create a new column
and add another expression to count these processes.
1 == notepad > 4
The situation is true when the day of the week is 02 to 06 (Monday to Friday).
1 >= 2 <= 6
If the condition already has another attribute to the right of the one you wish to
repeat, use the formula bar method described for the Properties editor, next. This
method is required because attributes are added after all other columns in the
condition.
where
v attribute is the attribute name to compare. Double-click to see and select from a
list of possible names.
v > is the relational operator. See the list below.
v 10 is the value to compare. If this is a text or timestamp value with a space in it,
enclose it in single quotes (’).
Examples:
The comparison is true when the notepad process occurs more four times in the
same data sampling. The user wrote the first expression, Process Name ==
notepad, in the tabular editor, then clicked inside the formula bar to add the rest,
double-clicking to see and select Process Name from a list: AND COUNT
(#’Process Name > 4).
Here is another process name example, which filters out the “Idle” and “Total”
processes from the table or chart view. It is written with && instead of AND to
show the other acceptable form:
The following comparison is true when the day of the week is 02, 03, 04, or 05
(Monday through Thursday):
Note: Be aware that if you are observing the same reporting in the portal user
interface as you are at the command line, there may be some minor variance
in the values.
tacmd createSit
Description
Use the tacmd createSit command to create a new situation.
CLI syntax
tacmd createSit {-s|--situation} SITNAME {-t|--type} TYPE {–p|--property|--
properties} NAME=VALUE ...
CLI example
The command in this example creates a new situation called SpaceLow with a
formula that tests the usage percentage attribute from the Windows LogInfo group.
A 95% or higher capacity causes an event to open and the advice given is Clear log.
tacmd createSit -s SpaceLow -p Formula=(#’NTLOGINFO.USAGE’ >= 95) Advice=Clear log
Return values
See “Return codes” on page 228
Related commands
“tacmd deleteSit” on page 219 “tacmd editSit” on page 220 “tacmd listSit” on page
222 “tacmd viewDepot” on page 226 “tacmd viewSit” on page 227
tacmd deleteSit
Description
Use the tacmd deleteSit command to delete a situation from your environment.
CLI syntax
tacmd deleteSit {–s|--situation} SITNAME [{–f|--force}]
-s|--situation
Specifies the name of the situation to delete.
-f|--force
Disables the message that asks if you are sure you want to delete the
situation.
CLI example
The command in this example deletes the situation named My_Situation without
asking the user to confirm.
tacmd deleteSit -s My_Situation -f
Return values
See “Return codes” on page 228
Related commands
“tacmd createSit” on page 218; “tacmd editSit” on page 220; “tacmd listSit” on
page 222; “tacmd viewSit” on page 227.
tacmd editSit
Description
Use the tacmd editSitcommand to edit a situation.
CLI syntax
tacmd editSit {-s|--situation} SITNAME {–p|--property|--properties}
NAME=VALUE
CLI example
The command in the example edits the No_Transactions definition to not run at
startup, which requires the situation to be started manually.
tacmd editSit -s No_Transactions -p RunOnStart=NO
Return values
See “Return codes” on page 228
Related commands
“tacmd createSit” on page 218 “tacmd deleteSit” on page 219 “tacmd listSit” on
page 222 “tacmd viewSit” on page 227
tacmd help
Description
Use the tacmd help command to display the name of all the available CLI
commands along with a short description of each command.
CLI syntax
tacmd help or tacmd ?
CLI example
tacmd help login
or
tacmd ? login
Return values
See “Return codes” on page 228
Related commands
“tacmd logout” on page 225
tacmd listSit
Description
The tacmd listSit command lists the situations on the hub monitoring server. You
can optionally filter the list for those distributed to a particular managed system or
managed system type.
CLI syntax
tacmd listSit [{-d|--delim} DELIM] [{-n|--noheader}]
CLI example
tacmd listSit –d “,” -n
This command lists all situations on the monitoring server separated by commas
and without a header. The result:
Candle Management Server,QOMEGAMON_ONLINE
Generic Configuration,NonPrimeShift
Generic Configuration,PrimeShift
Generic Configuration,Weekday
Windows NT,NT_Available_Bytes_Critical
Windows NT,NT_Available_Bytes_Warning
Windows NT,NT_Bottleneck_Disk
This command lists all the Universal Database situations. The result:
TYPE NAME STATUS
Universal Database UDB_Database_Lock_Warning Open
Universal Database UDB_Status_Warning Started
Return values
See “Return codes” on page 228
Related commands
“tacmd createSit” on page 218 “tacmd deleteSit” on page 219 “tacmd editSit” on
page 220 “tacmd viewDepot” on page 226 “tacmd viewSit” on page 227
tacmd login
Description
Use the tacmd login command to authenticate with the operating system and
create a security token, necessary for issuing subsequent tacmd commands during
this work session.
CLI syntax
tacmd login {-s|--server} {[PROTOCOL://]HOST[:PORT]} [{-u|--username}
USERNAME] [{-p|--password} PASSWORD] [{-t|--timeout} TIMEOUT]
where:
-s|--server
Specifies the host name of the monitoring server to log in to for this work
session.
-u|--user
Specifies the user to authenticate on this operating system.
-p|--password
Specifies the password of the user to authenticate on this operating system.
-t|--timeout
Specifies the number of minutes that can pass between invocations of
tacmd before the user is denied access to run tacmd. The default timeout is
15 minutes; the maximim timeout you can set is 1440 minutes (24 hours).
If a user name and password are not specified, you are prompted for them.
Enter a name and password valid for the workstation.
CLI example
This command logs into the monitoring server on pebble.ibm.com with the user
name, administrator, the password, mypassword, and a login expiration time of 120
minutes.
tacmd login –s pebble.ibm.com –u administrator –p mypassword –t 120
Return values
See “Return codes” on page 228
Related commands
“tacmd logout” on page 225
tacmd logout
Description
Use the tacmd logout command to disable the security token created by the tacmd
login command.
CLI syntax
tacmd logout
CLI example
This commands logs the user out of the tacmd session.
tacmd logout
Return values
See “Return codes” on page 228
Related commands
“tacmd login” on page 224
tacmd viewDepot
Description
Use the tacmd viewDepot command to display the types of monitoring agents you
can install from the deployment depot on the hub monitoring server or the
specified remote server.
CLI syntax
tacmd viewDepot [{{-j|--depot} DEPOT}]
-j|--depot
Specifies the name of the remote server that hosts the depot when you are
logged into the hub monitoring server.
CLI example
The following command displays the contents of the deployment depot on the
Tivoli Enterprise Monitoring Server you logged into using the tacmd login
command:
tacmd viewDepot
The following command displays the contents of the deployment depot on the
remote monitoring server, REMOTE_ROCK, which connects to the hub monitoring
server. You must log into the hub monitoring server before running this command:
tacmd viewdepot -j REMOTE_ROCK
Return values
See “Return codes” on page 228
Related commands
See tacmd listBundles, tacmd addBundles, and tacmd removeBundles in the IBM
Tivoli Monitoring Installation and Setup Guide.
tacmd viewSit
Description
Use the viewSit command to see the definition of a situation in your monitored
environment.
CLI syntax
tacmd viewSit {-s|--situation} SITNAME[{-m|--system} SYSTEM] [{-e|--export}
[FILENAME] ]]
-s|--situation
Specifies the name of the situation to view.
-m|--system
Specifies the managed system to view the situation definition for. Without
this parameter, the global situation definition will be returned.
-e|--export
Exports the situation definition to a file of the name specified.
CLI example
This example displays the definition for the situation named CalcMonitor and
exports the details to a file named CalcMonitor.sit, which can then be used to create
a new situation based on the original.
tacmd viewSit --situation CalcMonitor --export CalcMonitorOut.sit
Return values
See “Return codes” on page 228
Related commands
“tacmd createSit” on page 218 “tacmd deleteSit” on page 219 “tacmd editSit” on
page 220 “tacmd listSit” on page 222 “tacmd viewDepot” on page 226
Return codes
Table 13. Return Codes for tacmd CLI commands
Code Category Description
0 Success Indicates that the command was successful.
1 Syntax Error or Indicates either that the help command was given or that the
Help syntax used was incorrect.
2 No Permission Indicates that the user does not have permission to issue the
command.
3 Version Mismatch Indicates that the version of the server is not what was
expected.
4 Communication Indicates that an error occurred in the communications with
Error the server.
5 Timeout Indicates that an operation waiting for data did not receive it
within the time it was expected.
6 Input Error Indicates that the input to the command was not what was
expected.
7 Server Exception Indicates that an error occurred on the server that caused the
command to fail.
8 Command Error Indicates that an internal error occurred while executing the
command.
9 Invalid Object Indicates that a specified object does not exist.
Appendix C. Glossary
A
administration mode. Same as workspace administration mode.
AF/Operator. An IBM console automation solution for the z/OS environment, designed to support data center
operations, such as managing messages.
agent. Software installed on systems you want to monitor that collects data about an operating system, subsystem,
or application.
alert. A warning message that appears at a console to indicate an event has occurred that may require intervention.
alert monitor. A monitoring agent that monitors and relays alert information to the monitoring server. Sources of
alerts include message logs, system consoles, and network and system management products.
associate. The relationship between a situation and a Navigator item that enables a light to go on and a sound to
play for an open event. Predefined situations are associated automatically, as are situations created or edited through
the Navigator item pop-up menu. When you open the Situation editor from the toolbar, any situations you create
cannot be associated with a Navigator item during this editing session. You need to close the Situation editor, then
open it again from the pop-up menu of the Navigator item with which the situation should be associated.
attribute. A system or application element being monitored by the monitoring agent, such as Disk Name and Disk
Read/Writes Per Second. An attribute can also be a field in an ODBC-compliant database.
attribute group. A set of related attributes that can be combined in a data view or a situation. When you open the
view or start the situation, data samples of the selected attributes are retrieved. Each type of monitoring agent has a
set of attribute groups.
B
browser client. The software installed with the Tivoli Enterprise Portal Server system that is downloaded to your
computer when you start Tivoli Enterprise Portal browser mode.
C
chart. (1) A graphical view of data returned from a monitoring agent. A data point is plotted for each attribute
chosen and, for bar and pie charts, a data series for each row. Types of charts include pie, bar, plot and gauge. (2)
CICS
Customer Information Control System. IBM’s main on-line transaction processing subsystem that runs under MVS,
VSE, OS/2, OS/400, and AIX.
class file. A file containing Java object code for a single Java class.
class loader. A Java component that is responsible for loading Java classes.
client/server. An architecture in which the client (personal computer or workstation) is the requesting machine and
the server is the supplying machine. Servers can be microcomputers, minicomputers or mainframes. The client
provides the user interface and may perform application processing. A database server maintains the databases and
processes requests from the client to extract data from or update the database. An application server provides
additional business processing for the clients.
Tivoli Enterprise Monitoring Server. This is the host data management component for IBM Tivoli Monitoring.
Candle Management Workstation. This is the client component of a CandleNet Command Center environment. It is
replaced by the Tivoli Enterprise Portal user interface in the IBM Tivoli Monitoring environment.
Configure History permission. Your user ID must have Configure History permission to open the History
Collection Configuration window for setting up history files and data roll off. If you do not have this permission,
you will not see the menu item or tool for historical configuration.
CORBA. Common Object Request Broker Architecture is an architecture and specification that facilitates
communication among program components, or objects, in a network. The Tivoli Enterprise Portal Server is a
CORBA implementation.
critical state. The indication that a situation associated with the Navigator item is in an unacceptable state and that
you must take corrective action. The critical state is represented by the color red.
Custom Navigator Views permission. Your user ID has a Modify checkbox for the Custom Navigator Views
feature. This permission must be enabled or you will not be able to open the Navigator view editor to view and
maintain Navigator views.
D
detailed attribute name. The name used in formulas, expert advice, take action commands, and headers and footers
when referencing a monitoring agent attribute. In the Properties and Situation editors, you click Show Formula, then
check Show detailed formula to see the detailed attribute name.
display item. An attribute designated to further qualify a situation. With a display item set for a multiple-row
attribute group, the situation continues to look at the other rows in the sampling and opens more events if other
rows qualify. The value displays in the event workspace and in the message log and situation event console views.
You can select a display item when building a situation with a multiple row attribute group.
DLL. Dynamic Link Library is a composite of one or more executable objects, bound together by a linking
procedure, and loaded at run time.
DMZ. Demilitarized Zone is the area of a Web application that enables the company to host Internet services
without allowing unauthorized access.
DSN. Data Source Name. The name is stored in the database server and enables you to retrieve information from
the database through ODBC. The DSN includes such information as the database name, database driver, user ID and
password.
E
EIB. Enterprise Information Base is a database used by the monitoring server to store situations, policies, user
definitions and managed object definitions.
endcode. You assign endcodes in a policy as you connect one activity to another. The encode indicates the result of
this activity that will trigger the next activity.
event. An action or some occurrence, such as running out of memory or completing a transaction, that can be
detected by a situation. The event causes the situation to become true and an alert to be issued.
event indicator. The colored icon that displays over a Navigator item when an event opens for a situation.
event item. A Navigator item that shows when you open the event workspace for a true situation (by selecting it
from the event flyover listing or from the situation event console popup menu).
event sound. The sound file that plays when an event opens. Sound is set in the Situation editor when the situation
is associated with a Navigator item and can be different for different Navigator items.
F
Filter Criteria. Limits the amount of information returned to the data view in response to a query. You can apply a
pre-filter to the query to collect only certain data, or apply a post-filter to the view properties to show only certain
data from what was collected.
G
georeferenced map. A special type of graphic that has built-in knowledge of latitude and longitude and can be
zoomed into and out of quickly. The portal uses proprietary .IVL files generated with the map-rendering component.
These files cannot be opened or saved in a graphic editor.
H
historical data management. The procedures applied to short-term binary history files that perform roll off to either
a data warehouse or to delimited text files (krarloff utility on UNIX or Windows; KBDXTRA on z/OS Persistent Data
Store), and delete entries in the short-term history files over 24 hours old to make room for new entries.
hot standby. A redundant Tivoli Enterprise Monitoring Server that, if the primary or hub monitoring server should
fail, assumes the responsibilities of the failed monitoring server.
hub. 1) A central host system that collects the status of situations running on your systems. 2) The monitoring
server that has been elected to act as the focal point to which all portal servers and remote monitoring servers in this
monitored network connect. A remote monitoring server passes its collected data to the hub to be made available to
clients, creating an enterprise-wide view.
Tivoli Monitoring Services. An integrated, layered architecture consisting of data access, communication, and
presentation components that enable cross-platform operation and integration of data for systems management
applications.
integral Web server. A proprietary web server developed by IBM Tivoli Monitoring that is installed and configured
automatically with the Tivoli Enterprise Portal Server. You enter the URL of the integral Web server to start Tivoli
Enterprise Portal browser mode.
Tivoli Enterprise Portal Server. The server you log on to and connect to from the Tivoli Enterprise Portal client. The
portal server connects to the hub monitoring server. It enables retrieval, manipulation and analysis of data from
monitoring agents.
I
interval. The number of seconds that have elapsed between one sample and the next. A sample is the data that the
product collects for the server.
ior. (1) Interoperable Object Reference connects clients to the portal server. The IOR identifies a remote object,
including such information as name, capabilities and how to contact. In the URL you may have an ior reference. This
is because it goes through the web server and the portal server uses it to tell the client which ior to fetch. Once it
does that, it extracts the host and port and tells the client where to route the request. (2)
M
managed object. An icon created in the Candle Management Workstation from a managed object template that
represents resources you monitor with situations. Managed objects are converted to items in the Navigator Logical
view.
managed system. A particular operating system, subsystem, or application in your enterprise where a Tivoli
Enterprise Monitoring Agent is installed and running.
managed system list. A named list of managed systems of the same type. You can see and select a managed system
list when you distribute a situation or policy, edit a query specification, or assign managed systems to Navigator
items in custom Navigator views. Example: A list of Linux managed systems for a geographic region named
LINUX_LONDON.
middleware. Software that enables the exchange of information between components in a distributed computing
environment. IBM WebSphere MQ is an example of middleware.
monitor interval. A specified time, scalable to seconds, minutes, hours, or days, for how often the monitoring server
checks to see if a situation has become true. The minimum monitor interval is 30 seconds; the default is 15 minutes.
MVS. Multiple Virtual Storage, the operating system used on IBM mainframes since 1974. Newer versions are
OS/390 and z/OS.
N
NAT. Network Address Translation is a scheme used by LANs to establish an internal and external set of IP
addresses. Internal IP addresses are kept private and must be translated to and from the external address(es) for
outbound and inbound communications. NAT is often used in firewall configurations.
Navigator. The left pane of the Tivoli Enterprise Portal window. The Navigator Physical view shows your network
enterprise as a physical hierarchy of systems grouped by platform. You can also create other views to create logical
hierarchies grouped as you specify, such as by department or function.
O
ODBC. Open DataBase Connectivity, a standard for accessing different database systems. The Query editor enables
you to write custom SQL queries for creating views that retrieve data from ODBC-compliant databases.
IBM Tivoli Monitoring. A client-server implementation comprising a Tivoli Enterprise Monitoring Server, an
application server known as theTivoli Enterprise Portal Server, the Tivoli Enterprise Portal client, and Tivoli
Enterprise Monitoring Agents that collect and distribute data to a monitoring server.
Tivoli Enterprise Web Services. An open standards-based interface to the monitoring server using SOAP requests.
Any monitoring agent can be dynamically queried, so performance and availability data can be processed by other
applications.
P
platform. The operating system the managed system is using, such as OS/390 and Linux. The Navigator physical
mapping places the platform level under the enterprise level.
policy. A set of automated system processes that can perform actions, schedule work for users, or automate manual
tasks. It comprises a series of automated steps, called activities, whose order of execution you control.
product code. The three-letter code used by IBM Tivoli Monitoring to identify the product component. For example,
the product code for IBM Tivoli Monitoring for WebSphere Application Server is KWE.
Properties editor. A multi-tabbed window for specifying the properties of the individual views that make up a
workspace, as well as the general workspace properties.
pure event. A pure event is one that occurs automatically, such as when a paper out condition occurs on the printer
or when a new log entry is written. Situations written to notify you of pure events remain true until they are
manually closed or automatically closed by an UNTIL clause.
S
sample. The data that the monitoring agent collects for the server instance. The interval is the time between data
samplings.
sampled event. Sampled events happen when a situation becomes true. Situations sample data at regular intervals.
When the situation is true, it opens an event, which gets closed automatically when the situation goes back to false
(or you can close it manually).
situation. A set of conditions that, when met, creates an event. A condition consists of an attribute, an operator such
as greater than or equal to, and a value. It can be read as, “If - system condition - compared to - value - is true”. An
example of a situation is: IF - CPU usage - > - 90% - TRUE. The expression “CPU usage > 90%” is the situation
condition.
small icon. Small icons are used in conjunction with the graphic view stylesheets. The icon image should be no
taller than 16 x 16 pixels with a 2-pixel top and bottom margin, for a total of 20 x 20 pixels. The 2-pixel margins
ensure that the icon does not touch the one above or below it.
SNMP. Simple Network Management Protocol. A software protocol to facilitate communications between different
types of networks. IBM Tivoli Monitoring uses SNMP messaging to discover the devices on your network and their
availability.
SOAP. Single Object Access Protocol is an XML-based protocol that enables applications to converse with each other
and exchange data over the Internet, regardless of platform.
sound. WAV file that plays whenever the situation becomes true for this Navigator item. Sound is assigned to the
Navigator item for a situation in the same way a state is assigned.
SQL. Structured Query Language is a programming language for getting information from and updating a database.
The Query editor enables you to write SQL queries to ODBC data sources for retrieval and display in table and chart
views.
state. The severity of the situation event: critical, warning, or informational. Indicated by a colored event indicator,
state is set in the Situation editor and can be different for different Navigator items.
subnetwork. A configuration whereby a single IP network address is split up so it can be used on several
interconnected local networks. Subnetworking is a local configuration; outside it appears as a single IP network.
symbol. Represents a variable that can be added to header or footer text for data views, expert advice text, or query
specification. The detailed attribute name is enclosed in dollar signs, such as $ORGINNODE$, and resolves to the
attribute’s value. For Tivoli Enterprise Monitoring Server queries, == $NODE$ specifies from which managed systems
to retrieve data. For queries to be used in link target workspaces, you can create symbols for attributes using the
$symbolname$ format.
T
TCP/IP. Transmission Control Protocol/Internet Protocol. An open, portable communications protocol.
Telnet. A terminal emulation program used on TCP/IP networks. You can start a Telnet session with another system
and enter commands that execute on the other system. A valid user ID and password are required.
UDB. IBM’s DB2 Universal DataBase is a relational database management system. A UDB database is installed on
the same system as the Tivoli Enterprise Portal Server and stores queries, customized workspaces, user IDs, and
custom Navigator views.
V
Value of expression. A function in a situation condition, query specification, or data view filter or threshold that
uses the raw value of an attribute. A value can be a number, text string, attribute, or modified attribute. Use this
function with any operator.
view. A windowpane, or frame, in a workspace. It may contain data from an agent in a chart or table, or it may
contain a terminal session or browser, for example. A view can be split into two separate, autonomous views.
W
WAV. Waveform audio format for storing sound in files, developed jointly by Microsoft and IBM.
wildcard. An * (asterisk) used to represent any characters that may follow or precede those entered, such as Sys* to
find System and SysTray. Used in formulas with the VALUE function or MISSING function (in the Missing Task List).
Used also with the SCAN function, but at the beginning of the text as in *Z to find markZ and typeZ.
workspace. The viewing area of the Tivoli Enterprise Portal window, excluding the Navigator. Each workspace
comprises one or more views. Every Navigator item has its own default workspace and may have multiple
workspaces.
workspace administration mode. A global parameter set in the Administer Users editor, but is available only for
user IDs with administrator authority. While enabled for a user ID, customization of workspaces, links, and terminal
session scripts automatically become available to all users connected to the same Tivoli Enterprise Portal Server.
Z
z/OS . IBM’s operating system for mainframe computers that has the ability to manage large amounts of memory,
direct access storage, and data.
Appendix D. Accessibility
Accessibility features help users with physical disabilities, such as restricted
mobility or limited vision, to use software products successfully. The major
accessibility features in this product enable users to do the following:
v Use assistive technologies, such as screen-reader software and digital speech
synthesizer, to hear what is displayed on the screen. Consult the product
documentation of the assistive technology for details on using those technologies
with this product.
v Operate specific or equivalent features using only the keyboard.
v Magnify what is displayed on the screen.
To search multiple Internet resources for your product, use the Web search topic in
your information center. In the navigation frame, click Troubleshooting and
support Searching knowledge bases and select Web search. From this topic, you
can search a variety of resources, including the following:
v IBM technotes
v IBM downloads
v IBM Redbooks
v IBM developerWorks
v Forums and newsgroups
v Google
Obtaining fixes
A product fix might be available to resolve your problem. To determine what fixes
are available for your IBM software product, follow these steps:
1. Go to the IBM Software Support Web site at
http://www.ibm.com/software/support.
2. Click Downloads and drivers in the Support topics section.
3. Select the Software category.
4. Select a product in the Sub-category list.
5. In the Find downloads and drivers by product section, select one software
category from the Category list.
For more information about the types of fixes that are available, see the IBM
Software Support Handbook at
http://techsupport.services.ibm.com/guides/handbook.html.
If you experience problems with the My support feature, you can obtain help in
one of the following ways:
Online
Send an e-mail message to [email protected], describing your problem.
By phone
Call 1-800-IBM-4You (1-800-426-4968).
Before contacting IBM Software Support, your company must have an active IBM
software maintenance contract, and you must be authorized to submit problems to
IBM. The type of software maintenance contract that you need depends on the
type of product you have:
v For IBM distributed software products (including, but not limited to, Tivoli,
Lotus, and Rational products, as well as DB2 and WebSphere products that run
on Windows, or UNIX operating systems), enroll in Passport Advantage in one
of the following ways:
Online
Go to the Passport Advantage Web site at
http://www.lotus.com/services/passport.nsf/
WebDocs/Passport_Advantage_Home and click How to Enroll.
By phone
For the phone number to call in your country, go to the IBM Software
Support Web site at
http://techsupport.services.ibm.com/guides/contacts.html and click the
name of your geographic region.
v For customers with Subscription and Support (S & S) contracts, go to the
Software Service Request Web site at
https://techsupport.services.ibm.com/ssr/login.
v For customers with IBMLink, CATIA, Linux, OS/390, iSeries, pSeries, zSeries,
and other support agreements, go to the IBM Support Line Web site at
http://www.ibm.com/services/us/index.wss/so/its/a1000030/dt006.
v For IBM eServer software products (including, but not limited to, DB2 and
WebSphere products that run in zSeries, pSeries, and iSeries environments), you
can purchase a software maintenance agreement by working directly with an
IBM sales representative or an IBM Business Partner. For more information
about support for eServer software products, go to the IBM Technical Support
Advantage Web site at http://www.ibm.com/servers/eserver/techsupport.html.
If you are not sure what type of software maintenance contract you need, call
1-800-IBMSERV (1-800-426-7378) in the United States. From other countries, go to
the contacts page of the IBM Software Support Handbook on the Web at
http://techsupport.services.ibm.com/guides/contacts.html and click the name of
your geographic region for phone numbers of people who provide support for
your location.
Severity 2
The problem has a significant business impact. The program is usable, but
it is severely limited.
Severity 3
The problem has some business impact. The program is usable, but less
significant features (not critical to operations) are unavailable.
Severity 4
The problem has minimal business impact. The problem causes little impact
on operations, or a reasonable circumvention to the problem was
implemented.
Submitting problems
You can submit your problem to IBM Software Support in one of two ways:
Online
Click Submit and track problems on the IBM Software Support site
athttp://www.ibm.com/software/support/probsub.html. Type your
information into the appropriate problem submission form.
By phone
For the phone number to call in your country, go to the contacts page of
the IBM Software Support Handbook at
http://techsupport.services.ibm.com/guides/contacts.html and click the
name of your geographic region.
If the problem you submit is for a software defect or for missing or inaccurate
documentation, IBM Software Support creates an Authorized Program Analysis
Report (APAR). The APAR describes the problem in detail. Whenever possible,
IBM Software Support provides a workaround that you can implement until the
APAR is resolved and a fix is delivered. IBM publishes resolved APARs on the
Software Support Web site daily, so that other users who experience the same
problem can benefit from the same resolution.
Appendix F. Notices
This information was developed for products and services offered in the U.S.A.
IBM can 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 can be used. Any functionally equivalent product,
program, or service that does not infringe any IBM intellectual property right can
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 can have patents or pending patent applications covering subject matter
described in this document. The furnishing of this document does not give 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:
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.
IBM can use or distribute any of the information you supply in any way it believes
appropriate without incurring any obligation to you.
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
2Z4A/101
11400 Burnet Road
Austin, TX 78758 U.S.A.
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.
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 in softcopy form, the photographs and color
illustrations might not Web.
Trademarks
IBM, the IBM logo, DB2®, Tivoli, the Tivoli logo, and Tivoli Enterprise Console®
are trademarks or registered trademarks of International Business Machines
Corporation in the United States, other countries, or both.
Java™ and all Java-based trademarks and logos are trademarks or registered
trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.
UNIX® is a registered trademark of The Open Group in the United States and
other countries.
Other company, product, and service names can be trademarks or service marks of
others.
Index
Special characters B
*ALL_CMS 140 background, graphic view 102
*HUB 140 bar chart 55
BETWEEN function 207
books
Numerics feedback on xi
online xi
3270 or 5250 175
ordering xi
see publications xii
Boolean AND and OR 214
A browser view 36
accessibility xiii, 235 business view
acknowledge a situation event 32 Navigator views
acknowledge an event 118, 138 business 85
activities, workflow 146
connect 158
emitter 158
Evaluate a situation now 156
C
Candle Management Workstation
Make a choice 161
features not available 179
saving results 162
logical view 85
Start or stop a policy 156
policy save results 145
Start or stop a situation 157
cell functions 207
Suspend execution 157
chart view
Take action or Write message 157
bar 55
Wait until a situation is True 156
circular gauge 59
administration mode
customize 51
add query constraints 70
define link from 75
administrator
export 75
tutorial notes 20
filter a 52
user authorities 16
linear gauge 61
advanced automation 143
lookup table 46
agent
pie 53
remove offline 25
plot 57
alert
select a query for 51
lesson on responding to 30
set a time span 64
lights 30
styling 53
alert manager 11
Check for Missing Items 209
AND Boolean logic 214
child Navigator item 87
application window 15, 23
circular gauge chart 59
multiple 29
close an event 138
associate situations with Navigator items 84, 118, 132
column
attribute
thresholding in table views 49
substitution 131
column functions 211
symbol in queries 72
command
attribute groups 11
take action 171, 172
attributes 11
commands
characteristics 205
special characters xiv
description 11
syntax xiv
display item 127
Compare date/time 210
groups 11
Compare to time +/- delta 211
Tivoli Enterprise Monitoring Server and common 12
configure data collection 65
automated systems management
configuring historical data
advanced automation 143
overview 63
automation
consecutive true samples 126
create policy 144
console
description 143
universal message 165
reflex 143
Universal Message 173
autostart
console, universal message
policy 145
overview 165
Average of group 213
AVG function 213
conventions enterprise
typeface xiv status workspace 23
correlate policy workflow 145 workspace description 28
COUNT function 213 enumerated attributes 206
Count of group members 213 event
create acknowledgement 118
another situation 125 acknowledgment 138
chart view 51 close 138
managed system list 140 console view 95
message log view 92 graphic view 99
Navigator views 86 icons in flyover list 137
policy 144 indicator lights 117
situation 121 management 137
view 37 message log view 92
workspace 37, 40 turn off sound 137
creating Take Action entries 169 views 35, 91
customer support workspace 118
See Software Support workspace, delete item for 139
customize workspace, open 137
chart view 51 event-based monitoring
query 67 overview 115
situation 119 expert advice 128
table view 46 export query results 75
terminal view 175
workspace lesson 36
customizing your views
Terminal view 175
F
filter
chart view 52
functions 207
D quick 94
data views 35 situation event console view 97
database, query an ODBC 70 situations tree 120
DATE function 210 table view 48
delete first / last 70
event acknowledgement 138 fixes, obtaining 237
event Navigator item 139 flyover list of true situations 31
link definition 80 For CandleNet Portal users 1
Navigator items 83 formula functions 205, 214
Navigator view 88 See also if a time is within a range
policy 150 See also if value is within a range
query 71 attributes in 205
situation 134 Average of group 213
workspace 43 Boolean AND and OR 214
designing customized responses 165 cell 207
disassociate a situation 133 Check for Missing Items 209
display item 127 Compare date/time 210
distribute Compare to time +/- delta 211
policy 145, 148 Count of group members 213
situation 127 group 211
Maximum in group 212
Minimum in group 212
E Return a subset of the string 209, 210
Scan for string within a string 209, 210
editor
Value of expression 207, 209
HTML in expert advice 128
full screen view 29
link expression 76
functions
Navigator 84
formula 205
situation 115
terminal emulator scripting 188
situation - action 130
situation - condition 126
situation - distribution 127
situation - until 131 G
workflow 155 gauge chart
education circular 59
see Tivoli technical training xiii linear 61
emitter activities 158 graphic view
background image 102
H M
hexadecimal number entry 206 manage scripts 179
hide the Navigator 29 managed system
historical logs assigned to Navigator items 85
universal message console 165 description 5
Historical logs monitoring agent description 10
Universal Message console 173 Navigator hierarchy 25
historical reporting 63 remove offline 25
history status view 11
configure 65 managed system list
disable 65 create 140
start or stop data collection 66 monitoring server 140
time span to display 64 overview 140
HTML editor in expert advice 128 predefined 140
manuals
feedback on xi
I online xi
ordering xi
IBM Tivoli Monitoring
see publications xii
alert manager 11, 158
MAX function 212
applications and your user ID 20
Maximum in group 212
data flow diagram 6
message log view
description 5
apply quick settings 94
icons
columns 93
graphic view custom 103
overview 92
images
properties 94
change default background 105
MIN function 212
graphic view icons 103
minimize the Navigator 29
information centers, searching for problem resolution 237
Minimum in group 212
Internet
MISSING function 209
searching for problem resolution 237
monitoring
lesson, administrator notes 20
monitoring agent 10
K monitoring server
knowledge bases, searching for problem resolution 237 support in policies 163
mouseover 30
multiple windows 29
L multiple workspaces 26
multiple-row attribute groups 206
launch application
overview 165
legal notices 241
lesson N
building a Navigator view 81 navigating
creating a situation 118 back and forward 27
customizing a workspace 36 workspaces 24
navigating through workspaces 24 Navigator
Navigating Through Workspaces 24 associate situations with items 84, 132
responding to alerts 30 close situation event item 33
using views 29 event state and sound 118
using workspaces 27 hierarchy 25
Index 247
IBM Confidential
Index 249
IBM Confidential
view (continued)
terminal 175
types 35
view full screen 29
views
Logical 10
Physical 10
Terminal 175
W
window
create a new 29
open multiple 29
work groups 161
Workflows window 152
activities 156
workspace
administration mode 19
author mode 19
close situation event 33
create (save) new 37
create and edit 40
customization options 39
customize lesson 36
define a link 43
delete 43
design guidelines 40
enterprise 27
enterprise status 23
event 137
lesson on navigating 24
lesson on using 27
link from graphic view 105
link to 26, 44
multiple 26
navigate to a 24
opening a 26
overview 23
properties 42
refresh 28
restore original 43
save a new 40
situation event 31
stop loading 29
view types 35
Index 251
IBM Confidential
IBM Confidential
Printed in USA
SC32-9409-00