Escolar Documentos
Profissional Documentos
Cultura Documentos
Configuration and
Administration Guide
Version 8.0
Date: 10-2008
Copyright © 2008, CA. All rights reserved.
Wily Technology, the Wily Technology Logo, Introscope, and All Systems Green are registered
trademarks of CA.
Blame, Blame Game, ChangeDetector, Get Wily, Introscope BRT Adapter, Introscope
ChangeDetector, Introscope Environment Performance Agent, Introscope ErrorDetector, Introscope
LeakHunter, Introscope PowerPack, Introscope SNMP Adapter, Introscope SQL Agent, Introscope
Transaction Tracer, SmartStor, Web Services Manager, Whole Application, Wily Customer Experience
Manager, Wily Manager for CA SiteMinder, and Wily Portal Manager are trademarks of CA. Java is a
trademark of Sun Microsystems in the U.S. and other countries. All other names are the property of
their respective holders.
For help with Introscope or any other product from CA Wily Technology, contact Wily Technical
Support at 1-888-GET-WILY ext. 1 or support@wilytech.com.
If you are the registered support contact for your company, you can access the support Web site
directly at http://support.wilytech.com.
Please take this short online survey to help us improve the information we provide you. Link to the
survey at: http://tinyurl.com/6j6ugb
If you have other comments or suggestions about Wily documentation, please send us an e-mail at
wily-techpubs@ca.com.
Table of Contents
Contents iii
CA Wily Introscope
iv Contents
Configuration and Administration Guide
Index . . . . . . . . . . . . . . . . . . . . . . . . . . 297
Contents v
CA Wily Introscope
vi Contents
CHAPTER
1
This chapter provides instructions for starting and stopping the Enterprise
Manager (EM), and for automating startup in supported environments. It includes
these topics:
» Note See Introscope Properties Files on page 253 for details of properties
discussed in this guide.
Navigate to Start > Programs > Introscope > Administration > Introscope
Enterprise Manager.
Run the IntroscopeEnterpriseManager.exe located in the
<Introscope_Home> directory.
» Note Introscope uses a public domain Java Service Wrapper from Tanuki
Software (http://wrapper.tanukisoftware.org) to enable the
Enterprise Manager to run as a Windows Service. See the Configuration
Property Overview (http://wrapper.tanukisoftware.org/doc/english/
properties.html) for information about the Tanuki wrapper.
1 Stop the Enterprise Manager—see Stopping the Enterprise Manager on page 21.
2 In the IntroscopeEnterpriseManager.lax file, in your <Introscope_Home>
directory, set the lax.stdin.redirect property to blank, and save the file.
The Windows Services console shows that the Enterprise Manager is configured
as a Windows Service.
Repeat these steps for each Enterprise Manager you want to run as a service.
1 Stop the Enterprise Manager Service and shut down the Windows Services GUI.
2 Run <Introscope_Home>/DeregisterEMService.bat.
» Note If either the Enterprise Manager Service or the Windows Services GUI is
active, the service is not deleted, but is marked for deletion. This is
standard Windows Service behavior, and occurs because the Windows
Registry lock prevents the service from being removed. When you restart
the machine, the service is deleted.
./Introscope_Enterprise_Manager
Enterprise Manager output appears in the UNIX shell. The shell does not accept
user input, unless you start up the Enterprise Manager in nohup mode, as
described in the following section.
If you run the script from a directory other than <Introscope_Home>, identify
the home directory as shown below:
The output will default to the nohup.out in the directory from which the script is
executed.
» Note Use the runem.sh script to start the Enterprise Manager on Red Hat
Linux 5.
1 Go to <Introscope_Home>\bin directory.
2 Use these commands:
./EMCtrl.sh start—Starts the Enterprise Manager.
lib/EnterpriseManager.jar:lib/WebServices.jar:lib/IntroscopeClient.jar:lib/
SNMPAdapter.jar:lib/Workstation.jar:lib/IntroscopeServices.jar
Start command syntax can vary, depending on your version of Java and other
environmental factors.
» Note If you are running the Enterprise Manager as a Java Program on SAP, use
this command:
lib/EnterpriseManager.jar:lib/WebServices.jar:lib/
IntroscopeClient.jar:lib/SNMPAdapter.jar:lib/
Workstation.jar:lib/IntroscopeServices.jar:lib/
WebViewAPI.jar:lib/WebViewServer.jar
For instructions on running the EM as a Java program, please see Running the
Enterprise Manager as a Java program on page 12.
Software prerequisites
The specific software prerequisites to run Java (and therefore the Introscope
Enterprise Manager) on z/OS can be found in the Java for z/OS Program Directory
GI10-0614. The minimum software requirements are:
The Introscope Enterprise Manager requires JVM 1.5 (either 32 or 64 bits).
EXEC WILYPROC
Virtual memory
If the OMVS address space is not large enough, an out-of-memory condition
occurs when an attempt is made to run the Introscope Enterprise Manager. The
OMVS ASSIZEMAX(address-space-size) parameter in the RACF profile for the
owner of the Introscope Enterprise Manager job or started task must be large
enough to execute the Introscope Enterprise Manager. The maximum value for
this parameter is 2G.
In addition, in order to run the Enterprise Manager with Java 1.5 and avoid
encountering Java 1.5 GC Heap Initialization errors, you may need to raise the
MEMLIMIT in your SMFPRMxy PARMLIB member. Update your SMFPRMxy to add
the following line if it does not already exist:
DB2
1 To access JDBC and SQLJ from UNIX Systems Services, you must set the
following environment variables:
STEPLIB must include the SDSNEXIT, SDSNLOAD and SDSNLOD2 data sets
LIBPATH and LD_LIBRARY_PATH must include the DLL libraries for the JDBC
and SQLJ drivers
2 In order to run the Introscope Enterprise Manager as a z/OS job, the runem.sh
shell script must contain the following statements where DSNXXX denotes the
High Level Qualifier of your DB2 libraries:
export STEPLIB=DSNXXX.SDSNEXIT:DSNXXX.SDSNLOAD:DSNXXX.SDSNLOD2
export LIBPATH=/usr/lpp/db2/db2710/lib:$LIBPATH
export LD_LIBRARY_PATH=/usr/lpp/db2/db2710/
lib:$LD_LIBRARY_PATH
3 The CLASSPATH must include the JDBC and SQLJ driver classes. Include this file
in the classpath in the runem.sh shell script:
/usr/lpp/dsn710/db2/db2710/classes/db2sqljclasses.zip
» Note The character string “710” in dsn710 and db2710 refers to the version
and release of DB2 being used. If another version of DB2 is being used,
these directories must be changed.
JDBC
JDBC for z/OS is based on the DB2 Call Level Interface (CLI). You must ensure
that the DB2 CLI has been set up as follows:
1 The DB2 CLI application plan (the default name is DSNACLI) must be bound
before you can use the DB2 CLI. A sample bind job can be found in
DSNXXX.SDSNSAMP(DSNTIJCL) where DSNXXX denotes the high level qualifier
of your DB2 installation.
2 The DB2 CLI application plan must be public. Execute the following command
from SPUFI or from a batch job:
GRANT EXECUTE ON PLAN DSNACLI TO PUBLIC
3 Set DSNAOINI to point to the CLI initialization file. The CLI initialization file
provides information about DB2 subsystem names and additional configuration
parameters. You can place the file either in an HFS file or in an MVS data set using
one of the following statements:
export DSNAOINI=/usr/lpp/db2/db2510/dsnaoini
export DSNAOINI=DSNxxx.CLIINI
export DSNAOINI=DSNxxx.CLIINI(CONF1)
4 Make sure that the DB2 subsystem referenced in the CLI initialization file
references the DB2 subsystem that you want to connect to. DB2 subsystem
names usually take the form DB2n where n is a unique qualifier.
WILYPROC is a z/OS file that is used by the JES2 component of z/OS and by DB2
for z/OS. Make changes to this file using the ISPF editor.
1 Verify the version and release of DB2. The DB2 files in the runem.sh shell script
reference DB2 V7.1.
» Note If you are connecting to a DB2 subsystem other than version 7.1, you
must change all instances of 710 to the appropriate character string for
the version being used.
#export LIBPATH=/usr/lpp/dsn710/db2/db2710/lib:$LIBPATH
#export LD_LIBRARY_PATH=/usr/lpp/dsn710/db2/db2710/
lib:$LD_LIBRARY_PATH
» Note If LIBPATH and LD_LIBRARY_PATH have been commented out, remove
the #.
1 Edit WILYPROC using the ISPF editor. Make the following changes:
On the ISPF command line, type CAPS OFF and press Enter.
On the ISPF command line, type NUM OFF and press Enter.
Set the IHOME parameter equal to the fully qualified path to the directory that
contains runem.sh.
2 This statement is coded to end the batch job and the UNIX shell script within 20
seconds:
// PARM='SH nohup &IHOME/runem.sh &IHOME & sleep 20'
If z/OS is too busy to initiate the Introscope Enterprise Manager within 20
seconds, the Enterprise Manager does not start. If you encounter this problem,
try increasing the sleep time.
3 Modify the STDERR and STDOUT file names contained in the following statements
to satisfy installation naming conventions:
//STDOUT DD PATH='/<path>/stdout',
//STDERR DD PATH='/<path>/stderr',
Using ISPF option 3, copy the PROC to xxxx.PROCLIB where xxxx represents an
site-dependent high-level qualifier. If WILYPROC is not an acceptable name in
your installation, rename the PROC accordingly.
You can run the Enterprise Manager as an MVS started task (STC). A started task
is a familiar, operator-friendly environment that allows the Enterprise Manager to
be started, monitored, and cancelled from the MVS console. In this case, the
Enterprise Manager runs under the authorization of the STC user ID, allowing
assignment of specific authorities to the started task.
To run the Introscope Enterprise Manager as a started task, type this command
on the MVS console or on the command line of SDSF:
/start WILYPROC
You must type the member name of the PROC stored in an active PROCLIB. If you
were required to change the name of WILYPROC, you must use the new name in
the /start command.
You can run the Enterprise Manager as a batch job, using JCL (job-control
language) to describe the job's requirements.
To run the Enterprise Manager as a batch job, submit the following JCL:
You must execute the member name of the PROC stored in an active PROCLIB. If
you were required to change the name WILYPROC, you must use the new name
in the EXEC statement.
The z/OS batch job and the OMVS shell end shortly after the Enterprise Manager
processes start. If you submitted the batch JCL from your ISPF session and your
JOB card contains NOTIFY=&SYSUID, your ISPF session receives notification
when your batch job ends.
You can also determine that the Enterprise Manager has started from SDSF using
one of the following procedures:
If you started the Enterprise Manager as a started task, on the DA screen you
should see at least two active started tasks whose owner is the owner
associated with the Enterprise Manager PROC.
If you started the Enterprise Manager by submitting a batch job from your TSO
session, look for two active tasks with your TSO USERID as the owner.
You might see the job that invoked the WILYPROC, as well as the OMVS shell
script. These two entries disappear from the list after the Enterprise Manager
starts.
The owner of your TSO session is also your TSO/E USERID. Do not mistake your
TSO/E session for one of the Enterprise Manager tasks.
You can also run the Enterprise Manager as a batch job using the job scheduling
package you use to manage your batch workload.
By creating separate configuration directories, you can keep all the directories
within one instance of Introscope while maintaining separate config, logs, data,
and traces directories for each Enterprise Manager.
introscope.enterprisemanager.directory.config=config
The default directory is config, which is the configuration directory created when
Introscope was first installed. Change the location of this directory using either
an absolute path (e.g. C:\\Introscope\em1\\config) or a path relative to the
Introscope installation directory (e.g. config2). For example:
introscope.enterprisemanager.directory.config=
C:\\Introscope\\em1\\config
» Note In a Windows environment, backslashes must be escaped (doubled) for
the path to function.
This property modifies the Java command-line and can contain multiple
properties. Use the location of the config file you selected in step one. For
example:
lax.nl.java.option.additional=-Xms512m -Xmx512m -Djava.awt.headless=false -
Dcom.wily.introscope.em.properties=C:\Introscope\em1\config
» Note This property can point either to a directory containing a
Enterprise Manager properties file, or to an
IntroscopeEnterpriseManager.properties file directly. For
example:
-Dcom.wily.introscope.em.properties=C:\Introscope\em1\config
or
-Dcom.wily.introscope.em.properties=
C:\Introscope\em1\config\IntroscopeEnterpriseManager.properties
4 Save the changes to the Introscope Enterprise Manager.lax file.
5 Restart the Enterprise Manager.
iscopeshutdown
Command Result
iscopedebugpolling [true | false] Periodically reports debugging information to the
[delay in seconds] log
iscopehelp Display help screen
iscopeshutdown Shuts down the Enterprise Manager
This chapter describes how to use the Introscope Workstation to manage the
information collected and reported by the Introscope Enterprise Manager. It
includes these topics:
In a clustered environment, the metrics appear under the Collector cluster node.
You can also create Dashboards that present custom views of Enterprise Manager
metrics, and set up alerts based on the values of Enterprise Manager metrics.
» Note For all installations, you must apply the appropriate Daylight Savings
Time patch to your operating system to ensure the correct operation of
your Enterprise Manager. For more information, see the Introscope
Installation and Upgrade Guide.
Enterprise Manager
Host—The name of the machine on which the Enterprise Manager is running.
» Note This number does not reflect other processes running on the server or
overall server CPU in use, but rather how much CPU the particular
Enterprise Manager used.
This metric is acquired from the JVM using an API introduced in the JDK 1.5.
Therefore, it is supported only on some platforms.
Number of Historical Metrics—All the metrics that are present in the SmartStor
database.
Metrics with Data—The number of fully qualified metrics (agent name + partial
metric name) tracked by the Enterprise Manager for which there is metric data.
Partial Metrics with Data—The number of partial metrics (that is, metrics
without the agent name qualifier) tracked by the Enterprise Manager for which
there is metric data.
Data Append—Tracks whether the data appending task is running. When this
task is running, this Metric has the value 1; when not running, the value is 0.
Total Data Insertion Duration Per Interval (ms)—How much time spent per
time slice inserting the transaction trace data into internal data store.
Total Index Insertion Duration Per Interval (ms)—How much time spent per
time slice indexing the transaction trace data.
Total Query Duration Per Interval (ms)—How much time spent per time slice
fetching data from internal data store.
Log Volume Free (mb)—How much log volume space is free in megabytes.
SmartStor Data Volume Free (mb)—How much SmartStor data volume space
is free in megabytes.
Queued Metric Data Points—Number of metric data points not yet written to the
relational database.
In Use Post GC (mb)—Tracks how much heap is used after a major garbage
collection.
» Note This number does not reflect other processes running on the server or
overall server CPU in use, but rather how much CPU the particular
Enterprise Manager used.
This metric is acquired from the JVM using an API introduced in the JDK 1.5.
Therefore, it is supported only on some platforms.
Heap Capacity (%)—The maximum possible total heap vs. current in use
(tracked by GC Heap: In Use Post GC (mb). For example, if the JVM is launched
with -Xmx1024m, then the total possible heap is 1024m. A 25% buffer remains
when this metric is at 100% and when the actual heap would be at 100%. For
example, if the total heap is 1000MB and the current heap usage is 750MB, then
this metric will be 100%. This is because Java needs heap space for "normal
operation".
» Important To shut down the Enterprise Manager, you must have shutdown
or full permission for the Enterprise Manager.
1 Within a Management Module Editor window, select Manager > Shut Down
Enterprise Manager.
The Shut Down Confirmation message appears.
An agent that does not reconnect to and Enterprise Manager after a user-defined
time limit is automatically unmounted and removed from the Investigator tree
(see Auto-unmounting of disconnected agents on page 33); or it can be manually
unmounted at any time after disconnects.
Disconnected and unmounted agents that have recorded at least one data point
can be remounted.
In the Investigator tree, right-click the agent and choose Unmount <agent
name> from the menu.
» Note If the Unmount command is disabled, you do not have
historical_agent_control or full permission. Contact your
administrator.
Mounting agents
You might want to remount a disconnected agent to view previously collected
Metrics from a database. Disconnected and unmounted agents that connected
while database recording was enabled can be remounted.
If a user remounts an agent, any Metrics that agent ever reported to the database
appear as Resources in the Investigator tree.
To mount an agent:
You can individually turn on or shut off each agent, Resource, or Metric. You can
also turn on or shut off all components under an agent all at once.
It is important to remember that when you shut off a component, you are only
shutting off that component’s reporting—the component is still present.
turn on or off a component that is upstream (one that either directly contains
that component, or is several levels above)
To change the shutoff state of agents, Resources, or Metrics, you must have
either read and live_agent_control permissions, or full permission for the
Domain.
You can shut off and turn on agents, resources, and metrics:
To Do this
Shut off metric By default, individual metric reporting is on (Shutoff is not
reporting checked).
To shut off an individual metric’s reporting, right-click the metric
and choose Shutoff <Metric> from the menu.
When you shut off an individual Metric:
the metric’s toggle is shut off
the metric’s icon in the Investigator tree turns gray
the metric stops reporting (shows as a change in the Reporting
Status field in the settings)
Turn on metric To turn on a metric’s reporting, right-click the Metric and choose
reporting Shutoff <Metric> from the menu (this unchecks the Shutoff
option).
If data is available and metrics are not shut off because of an
upstream toggle, the metric begins reporting, and the metric’s
icon regains color. The Reporting Status field shows that the
metric is currently reporting.
To Do this
Shut off resource By default, individual resource reporting is on.
reporting To shut off resource reporting, right-click the resource and choose
Shutoff <Resource> from the menu. This checks the Shutoff
option.
When you shut off a Resource’s reporting:
the resource’s toggle is shut off
the resource’s icon turns gray
the resource stops reporting
any resources below (downstream) of the Resource turn gray
and stop reporting
any metrics below (downstream) of the Resource turn gray and
stop reporting
To Do this
Shut off all agent You can quickly turn on or shut off all components under an agent
components that is reporting.
To shut off reporting for everything under a specific agent:
1 Open an Investigator window.
2 Expand the Investigator tree to show the agent whose settings
you want to change.
3 Right-click on the agent and select Shut Off All Agent
Components. A warning dialog notifies that you cannot undo this
action.
4 Click Continue to shut off agent components.
The Agent and all components contained by it turn gray and stop
reporting.
Note: It is possible to have Agent reporting shut off and
individual Metrics underneath turned on. However,
upstream toggles override downstream toggles.
When you select Shut Off All Agent Components:
the Agent’s toggle is shut off
the Agent’s icon turns gray
the Agent stops reporting
all components under the Agent have their toggles shut off
the icons of all components under the Agent turn gray
all components under the Agent stop reporting
Note: This function is for shutting off reporting for an individual
Agent and all components under that Agent. It is not for
shutting off reporting for all connected Agents. Agent
reporting must be specifically turned on or shut off for
each Agent.
Turn on all Agent To turn on reporting for All Agent Components, right-click the
components agent and select Turn On All Agent Components.
After a short delay (usually the time slice during which new data
is being gathered), the Agent and all components contained by it
regain color and begin reporting if there is data available.
Icon appearance
This table details reasons why a component might not be reporting data:
Because of the Workstation’s shared state, several users could be editing the
same piece of information in the Management Module Editor or in the Console at
the same time.
You’ll encounter competing changes in the Management Module Editor if, for
example, you and another user are editing the same alert in the Management
Module Editor, and the other user clicks the Apply button first to save changes.
As soon as that user’s changes are applied, you see this message in your
Workstation:
introscope.enterprisemanager.serversocketfactory.<ChannelName>
introscope.enterprisemanager.port.<ChannelName>
introscope.enterprisemanager.serversockets.reuseaddr
introscope.enterprisemanager.enabled.channels
Each Agent that communicates with the Enterprise Manager has analogous
properties that must specify matching values, as described in Defining Agent
Connection and Name Properties in the Java Agent Guide or the .NET Agent
Guide, as appropriate for your environment.
Similarly, the WebView properties file specifies the Enterprise Manager port in the
introscope.webview.enterprisemanager.tcp.port property.
» Note Do not enable this property by default and use it only when a socket is
in an unusable state. You should disable it after the Enterprise Manager
starts, as there may be a valid reason that the port is in use (for
example, a collector on the same machine is already bound to the port).
Configuring SSL
Configuring the Enterprise Manager for SSL is done in
IntroscopeEnterpriseManager.properties by enabling a secure
communications channel. This can be in addition to the default non-secure
channel.
To use the tunneling transport on the Workstation, connect to the port for the
Enterprise Manager’s embedded web server. By default the port is 8081. You can
configure it with the introscope.enterprisemanager.webserver.port
property in the Enterprise Manager properties file. For more information, see
introscope.enterprisemanager.webserver.port.
In addition to using tunneling for the Enterprise Manager, you can configure
Agents to send information using tunneling technology. This feature enables
Agents to connect to an Enterprise Manager remotely. See the Java Agent Guide
for more information about Agent HTTP tunneling.
1 Open your Java security file, usually in your JVM's lib/security directory.
2 In the list of security providers, look for com.ibm.jsse.IBMJSSEProvider. If it
exists, make sure it is higher up the list and thus takes priority over other SSL
providers, including com.ibm.as400.ibmonly.net.ssl.Provider. If it not
present, add it to the list.
3 Set the following SSL properties, replacing any previous definitions:
ssl.KeyManagerFactory.algorithm=IbmX509
ssl.TrustManagerFactory.algorithm=IbmX509
ssl.SocketFactory.provider=com.ibm.jsse.JSSESocketFactory
ssl.ServerSocketFactory.provider=com.ibm.jsse.
JSSEServerSocketFactory
This is done by introducing an optional Jetty 6.0.2 XML configuration file for the
embedded Jetty web server in the EM. A default configuration file is provided that
sets up a secure listener on port 8444, which allows the WorkStation and Agent
to access the EM using HTTPS tunneling through the EM web Server.
introscope.enterprisemanager.webserver.jetty.configurationFile
=em-jetty-config.xml
When you configure the Jetty configuration properties in the EM Web Server
Settings section of IntroscopeEnterpriseManager.properties the
following rules apply:
If the Jetty config file is successfully loaded, the default non-secure listener
specified by introscope.enterprisemanager.webserver.port is not
created.
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<!-- Configure secure https listener for the Jetty Server -->
<!-- using an extension of org.mortbay.jetty.security.SslSocketConnector -
->
<!-- that can be configured to accept self-signed certificates and not
verfiy that -->
<!-- the host name in the client's URL matches the host name in the digital
certificate. -->
<!-- To require trusted certificates, set validateCertificates to true -->
<!-- To verify host names, set verifyHostnames to true -->
<!-- To require client authentication, set needClientAuth to true, -->
<!-- set validateCertificates to true, and set truststore to the location
-->
<!-- of a truststore containing the client's certificates. -->
<!-- To set the enabled cipher suites, set cipherSuites to an array of
cipher suites -->
<Call name="addConnector">
<Arg>
<New class="com.wily.webserver.TrustingSslSocketConnector">
<Set name="validateCertificates">false</Set>
<Set name="verifyHostnames">false</Set>
<Set name="port">8444</Set>
<Set name="keystore"><SystemProperty name="introscope.config"
default="./config" />/internal/server/keystore</Set>
<Set name="password">password</Set>
<Set name="keyPassword">password</Set>
<Set name="truststore"><SystemProperty name="introscope.config"
default="./config" />/internal/server/keystore</Set>
<Set name="trustPassword">password</Set>
<Set name="needClientAuth">false</Set>
<!--
<Set name="cipherSuites">
<Array type="java.lang.String">
<Item>SSL_DH_anon_WITH_RC4_128_MD5</Item>
</Array>
</Set>
-->
<Set name="ThreadPool">
<New class="org.mortbay.thread.BoundedThreadPool">
<Set name="minThreads">3</Set>
<Set name="maxThreads">100</Set>
<Set name="maxIdleTimeMs">60000</Set>
</New>
</Set>
</New>
</Arg>
</Call>
<!-- Configure non-secure http listener for the Jetty Server -->
<!-- using an extension of org.mortbay.jetty.bio.SocketConnector -->
<!-- that doesn't throw NPE on EM shutdown -->
<Call name="addConnector">
<Arg>
<New class="com.wily.webserver.NoNPESocketConnector">
<Set name="port">8081</Set>
<Set name="ThreadPool">
<New class="org.mortbay.thread.BoundedThreadPool">
<Set name="minThreads">10</Set>
<Set name="maxThreads">100</Set>
<Set name="maxIdleTimeMs">60000</Set>
</New>
</Set>
</New>
</Arg>
</Call>
</Configure>
Change the HTTPS port from the default 8444, by changing the value of the
port attribute, such as in the following example:
<Set name="port">8444</Set>
The location of the config directory is specified in the XML by the
introscope.config system property. This is set by the EM web server at
startup and is designed as such to support a configurable config directory.
SmartStor is enabled with default settings when installing Introscope, but can be
turned off—for more information about turning off SmartStor, see
introscope.enterprisemanager.smartstor.enable on page 265. SmartStor
requires approximately 8GB of disk storage. SmartStor data is set to age-out over
time, so the data store will not get excessively large.
If you use a dedicated disk for SmartStor data, set the property
to true (the Introscope installer sets this property to false by
default). See
introscope.enterprisemanager.smartstor.dedicatedcontroller on
page 266.
<Introscope_Home>/examples/SmartStorSizing.xls
You can experiment with different values for number of metrics, and different
periods and aging ranges for your data tiers. The resulting GB size usage appears
in the table below.
After you determine the appropriate data tier frequency and aging periods, you
enter your specifications into the appropriate SmartStor properties.
The frequency must not be greater than 1800 seconds (30 minutes).
Each tier's frequency must be an even multiple of the previous tier's frequency
(this multiple can be one; each tier can have the same frequency).
The age must not be zero.
All three tiers must be defined, and you cannot define more than three tiers.
The number of days that Introscope retains transaction event data is configured
during the Enterprise Manager installation. The default value of 14, can be
changed using the
introscope.enterprisemanager.transactionevents.storage.max.data.
age property.
» Note Increasing length of time that Introscope saves event data increases
system overhead and disk storage requirements.
The Enterprise Manager installer does not offer the option of selecting a different
location for baseline storage. However, you can define a different location for
baselines.db in the introscope.enterprisemanager.dbfile property in
the Enterprise Manager properties file.
For information about how Introscope uses Metric baselines to enable high-level
indicators of application health, see the Introscope Workstation User Guide.
A Workstation user who is logged into a MOM can see and access the data that is
reported by the agents that report to each of the Collectors the MOM manages.
This Workstation user can perform all usual Workstation functions on those
Collectors.
Every Agent in the Investigator automatically has a metric called EM Host. This
metric is helpful when running a cluster, so you can tell to which Collector EM the
Agent is actually connected.
If the logging level is VERBOSE, a message is written to the log for the first 10
consecutive failed attempts; after 10 consecutive failed attempts, a message
is written to the log that no further logging of failed connections attempts will
be made.
A message is always written to the log when the MOM connects or re-connects
to a Collector.
Clock synchronization among the MOM and the Collector Enterprise Managers is
not automatic.
To keep the MOM and Collector Enterprise Manager clocks synchronized, Wily
recommends that all Enterprise Managers synchronize their clocks at regular
intervals to an NTP server. If a Collector clock becomes more than three seconds
off from the MOM’s clock, error messages in the MOM’s log indicate that the MOM
is no longer accepting data from the Collector. If this occurs, increase the
frequency of synchronization with the NTP server. No restart of Enterprise
Managers is necessary after clock synchronization. The MOM will automatically
re-connect to the Collector when it detects the clocks are synchronized.
The MOM requires unique agent names across the cluster. Although each
Enterprise Manager ensures that the Agents that connect to it have a unique
name, as described in the discussion about resolving agent naming conflict in the
Java Agent Guide or the .NET Agent Guide, you must ensure that the Agents
across the Collectors in the cluster have unique names. If more than one Agent
in the cluster have the same name, only the last encountered by the MOM
appears in Workstation views. Configuring Agents to obtain their names from the
application server is a technique for assigning unique Agent names. For more
information, see the discussion about obtaining an Agent name from the
application server in the Java Agent Guide or .NET Agent Guide, as appropriate
to your environment.
For example, the name of a Custom Metric Agent in the Super Domain in a
Collector on myhost that listens for connections on port 5001 would be:
Pre-8.0 Agents may not connect to the MOM; they must instead directly connect
to one of the Collectors. If a pre-8.0 Agent connects to the MOM, the connection
is refused and a warning message is written to both the MOM's log and the
Agent's log.
An Agent is only assigned to a Collector that supports the same connection type
that the Agent used to connect to the MOM. For example, if the Agent connected
to the MOM using HTTP, then the Collector must have enabled HTTP connections.
The Load Balancer gives preference to Collectors that have data for the Agent in
SmartStor. This is to avoid an explosion of SmartStor metadata which causes
excessive memory overhead if Agents are bounced around the cluster. An Agent
is assigned to a Collector with history unless those Collectors are overloaded or
there is an alternate Collector that is under loaded.
A Collector is considered overloaded if its weighted metric load is over the cluster
average by more than the threshold. A Collector is considered under loaded if its
weight metric load is under the cluster average by more than the threshold. The
threshold is a user-defined value set by the
introscope.enterprisemanager.loadbalancing.threshold property in the
IntroscopeEnterpriseManager.properties file that represents the tolerance
for imbalance.
A weighting factor can be applied to adjust the relative load of a Collector. This
is desirable if the Collectors differ in overall metric capacity. The MOM then uses
weight-adjusted metric counts when assigning Agents to Collectors and when
rebalancing the cluster.
If no weight is specified, the Collector’s weight is the average for the cluster.
Example:
An Agent connects to the MOM. Collector A has 200,000 metrics and a weight of
100. Collector B has 160,000 metrics and a weight of 50. Collector A has the
lightest weighted load because it has 66% of the total weight but only 56% of the
metric load, so it's relatively under loaded compared to Collector B which has 33%
of the total weight but 44% of the load.
The Load Balancer can disconnect Agents from a Collector and re-direct them to
other Collectors if it detects that the cluster has become unbalanced. A cluster is
unbalanced if any Collector is either under loaded or overloaded.
The Load Balancer checks periodically for rebalancing. The interval is a user-
defined value set by the
introscope.enterprisemanager.loadbalancing.interval property in the
IntroscopeEnterpriseManager.properties file. If the cluster is unbalanced,
the Load Balancer seeks to redress the imbalance by disconnecting Agents from
Collectors that are over the weight-adjusted average. Ejected Agents re-connect
to the MOM and are re-directed to Collectors that are under the weight-adjusted
average. The goal is an assignment of Agents that equalizes the weight-adjusted
metric load across the cluster.
The Load Balancer does not disconnect Agents that connected directly to the
Collector. This includes pre-8.0 Agents and 8.0 Agents that are not participating
in load balancing. Also, an Agent is not disconnected if the Load Balancer
determines that it would be re-assigned to the same Collector.
If you have an Agent that prefers a particular Collector, connect the Agent
directly to that favored Collector. This prevents the MOM from ejecting the Agent,
because the MOM only rebalances Agents that connected directly to the MOM. For
example, if you extend Introscope with ChangeDetector to enable Introscope to
monitor and report changes in application code and configuration, a
ChangeDetector Agent may keep state in a particular Collector Enterprise
Manager. This would be the ChangeDetector Agent’s preferred Collector.
In this case, you would configure the Agent connection properties (see the Java
Agent Guide or the .NET Agent Guide) to have the Agent connect first to its
preferred Collector and secondarily to the MOM as the fallback EM enabled in case
of a failover situation. If the preferred Collector fails, the Agent then connects to
the MOM for load balancing to another Collector. However, the MOM connects the
Agent back to the preferred Collector upon failure recovery.
You can configure the Failover mechanism for a standalone Enterprise Manager
or MOM.
By default, Hot Failover is not enabled. To enable it, you will have to set the Hot
Failover properties in the IntroscopeEnterpriseManager.properties file.
For more information, see MOM Hot Failover on page 275.
When connecting to an EM, Agents and Workstations try all the IP addresses for
a host name. Thus, if you have defined a logical host in DNS with the IP
addresses of the primary and secondary EMs, then Agents and Workstations can
use this for the EM host name and will connect to whichever EM is running.
» Note In a failover environment, you can use the EMCtrl script to start a
Primary EM. The secondary EM should not use the control script. For
example, on a Unix platform, start the primary using the control script
EMCtrl.sh start and start the secondary as
./Introscope_Enterprise_Manager.
When you start the MOM with hot failover, you must start each MOM one at a
time. In case of a primary/secondary configuration, the primary first must be
started first.
If both EMs are primary, then the second primary waits for the first primary to
fail, and does not relinquish control when the first primary recovers.
It is possible for the Introscope installation and EMs to reside on the same host,
which will permit a second EM to take over if the first crashes when it is not
desirable to run the EM as a Windows service, or to restart it using a shell
script. For more information, see Configuring Failover to Work on a Single Host
on page 63.
If the EM's host matches one of the primary hosts, then the EM assumes the
role of primary.
If the EM's host matches one of the secondary hosts, then the EM assumes the
role of secondary.
If the EM's host matches neither the primary nor secondary host, then the EM
does a normal startup. However a warning message is logged.
A secondary EM checks every two minutes (configurable) to see if a primary
EM is waiting to start. If so, the secondary yields to the primary and shuts
down.
A primary EM does not yield to a secondary EM or another Primary EM.
The startup and shutdown sequence is as follows: When starting the Hot
Failover pair, start the primary EM first then the secondary, and when shutting
down the Hot Failover pair, stop the secondary first then the primary.
If you are using Windows you could use a command like this:
:RESTART
"Introscope Enterprise Manager"
IF ERRORLEVEL 23 GOTO RESTART
introscope.enterprisemanager.failover.primary=localhost
Configuring a Collector
To configure a Collector in a cluster of Enterprise Managers:
1 Set introscope.enterprisemanager.clustering.collector.enable
Collector’s properties file to true. (For more information, see
introscope.enterprisemanager.clustering.collector.enable.)
2 If you want this Collector to have a special identifier, you can set the optional
property introscope.enterprisemanager.clustering.collector.identifier in the
Collector’s properties file.
If you don’t specify a special identifier for the collector, the default of host@port
is used, where host is the Enterprise Manager’s host name, and port is the
Enterprise Manager's connection port.
The new value is when the Enterprise Manager checks the property file during a
hot deploy. A hot deploy occurs about once every 60 seconds.
This chapter describes how to create and edit Introscope Dashboards in the
Introscope Workstation. It includes these topics:
Introscope Dashboard Editor overview . . . . . . . . . . . . 68
Creating Dashboards . . . . . . . . . . . . . . . . . . 71
Creating Data Viewers in a Dashboard . . . . . . . . . . . . 76
Setting data-viewing properties of a Data Viewer . . . . . . . . . 82
Embedding an Investigator Tab View in a Dashboard . . . . . . . 91
Adding shapes and lines to Dashboard . . . . . . . . . . . . 92
Coloring shapes, lines and connectors . . . . . . . . . . . . 95
Creating and editing text . . . . . . . . . . . . . . . . 97
Inserting an image on a Dashboard . . . . . . . . . . . . . 100
Manipulating Dashboard objects . . . . . . . . . . . . . . 101
Creating and managing custom hyperlinks . . . . . . . . . . . 106
You create Data Viewers in the Dashboard Editor window. In addition, there are
now two ways to create Data Viewers:
Creating Data Viewers automatically by dragging and dropping data from the
Investigator tree onto a Dashboard
Creating an empty Data Viewer in the Dashboard Editor, then adding the data
to the viewer
For more information on Domains and Domain enforcement, see the Introscope
Installation Guide.
See the Introscope Workstation User Guide for more information about these
objects.
Editing a Dashboard
To add or manipulate Dashboard contents, you open the Dashboard in the
Dashboard Editor. Only a user with write access to a Domain or SuperDomain can
edit a Dashboard.
The Dashboard Editor contains the tools you use to change the look of a
dashboard, or create a new one.
Creating Dashboards
By creating new Dashboards, you can create collections of different Data Viewers
for different uses. For example, you might have one Dashboard containing
database information, and one Dashboard for system Alerts.
Creating Dashboards 71
CA Wily Introscope
2 Enter a name for the new Dashboard, and choose a Management Module to
contain the Dashboard.
Select a Management Module from the drop-down list.
Click Choose, select a Management Module from the list, and click Choose
again.
3 Click OK.
The new Dashboard opens in the Dashboard Editor.
The new Dashboard appears in the Management Module Editor tree, under the
Domain and Management Module in which you saved it.
6 If you are finished editing the Dashboard, select Workstation > Close Window.
2 Enter a name for the new Dashboard, and choose a Management Module to
contain the Dashboard.
Select a Management Module from the drop-down list box.
Click Choose, then select a Management Module from the list and click
Choose again.
3 Select the Description tab to enter descriptive text and any important
information about the dashboard in the Description Text field.
This field should contain no more than 64 KB of data. After it is applied, it will be
persisted in the management module jar.
4 Click OK.
The new Dashboard appears, highlighted, in the Management Module Editor tree.
5 To edit the Dashboard, open the Console, select the tab of the new Dashboard,
and use the Dashboard > Edit Dashboard command.
Creating Dashboards 73
CA Wily Introscope
Resizing a Dashboard
To resize a dashboard workspace area:
3 Enter new width and height values (in pixels) in the fields.
4 Enable Snap to Grid and set a grid size, if you want dashboards to snap to a
specific location as you drag them.
5 Enable Clear Previous Lens Settings if you want the lens cleared each time a
user selects this Dashboard. See Dashboard links support Agent lens on page 106
for more information.
6 Click OK.
The Dashboard workspace area resizes to the defined size.
7 Select File > Save to save Dashboard changes.
1 With a Dashboard open in the Dashboard Editor, select File > Save As.
2 Enter a name for the copy of the Dashboard.
Click Choose, then select a Management Module from the list and click
Choose again.
» Note You can only choose a Management Module that belongs to a Domain to
which you have access, and that has access to all elements and metrics
viewed in the dashboard.
4 Click OK.
The new Dashboard appears in the Management Module Editor tree, under the
Domain and Management Module in which you saved it.
Renaming a Dashboard
1 With a Dashboard open in the Dashboard Editor, select File > Save and Rename.
2 Enter a new name for the Dashboard.
3 Click OK.
» Note You can also rename a Dashboard by selecting it in the Management
Module Editor, and editing the name in the Preview pane.
Creating Dashboards 75
CA Wily Introscope
» Note When you create or make changes to a dashboard, always save the
dashboard as the last step. Although it isn’t necessary to save changes
to a dashboard after every individual edit, it is important that you save
changes frequently to make changes available to other Workstation
users with access to that dashboard.
These are the default data viewer types for each of the data types:
If you drop the selection when only an existing Data Viewer is highlighted, and
the Data Viewer type is compatible with the selection, the information you are
dragging replaces what is in that viewer.
4 Select File > Save to save Dashboard changes.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select a Dashboard object creation tool from the Tools Palette.
3 Click and drag the location and size of the empty Data Viewer on the Dashboard
area.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
If the Data Viewer already contains data, it is replaced by your new data when
you drop it.
4 Select File > Save to save Dashboard changes.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Right-click on the empty Data Viewer and select Data Options.
The Data Options window opens.
3 From the left side of the window (Data Type), select a data type for this Data
Viewer.
Data Type options differ depending on the Data Viewer type. Possible options are:
4 From the Data Selection list, select the data selection to appear in the Data
Viewer.
5 Click OK.
The Data Viewer is populated with the data selection.
6 Select File > Save to save Dashboard changes.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Right-click on the Data Viewer and select Data Options...
The Data Type and exact Data Selection that are used are highlighted in the Data
tab.
Because Metric data can consist of different information (text, dates, counters,
numbers, and so forth), not all data can appear in every Data Viewer type. For
example, the data from the metric Java Version cannot appear as a Graph,
because its data is text.
To find out what view display types are available for the selected view, right-click
on the Data Viewer and look at the View As... submenu.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the Data Viewer whose display type you want to change in one of these
ways:
Right-click and select View As and the new Data Viewer display type from the
submenu
Select Properties > View As and select the new Data Viewer display type from
the submenu
3 Select File > Save to save Dashboard changes.
The chart scaling feature is available only for graph charts in Live mode. It is not
available in Historical mode or for any other viewer type such as bar chart, top
ten, or string viewer.
» Note Scale changes that you make to a chart are temporary—the settings are
not saved with the dashboard. When you select a new dashboard or close
the Console window, Introscope discards the settings and returns to the
scale options that were applied when the dashboard was created.
Right-click the chart and select Scale Options from the context menu.
Setting the
Auto Scale
Minimum and
Maximum
default values
provides a
more readable
view of charts
in Live mode.
Right-click the chart and select Scale Options from the context menu.
2 Enter the minimum and maximum values for the data axis of the graph.
3 Click OK.
For example, if the chart data values lie primarily between 350 and 550 but the
chart value axis shows 0-1000, it might be helpful to set the scale Min value to
300 and Max value to 600 for a better view of the relevant data:
Right-click the chart and select Scale Options from the context menu.
2 Select Pin at on both the Minimum and Maximum sides of the dialog, and enter
a value for the minimum and maximum points of the data access.
3 Click OK.
Setting Min and Max values for a chart showing live data is risky, however, if
there is a chance the data may exceed the values you set.
To avoid this problem, use the Auto Scale option to automatically set the graph
to change its scale according to the data it displays.
Right-click the chart and select Scale Options from the context menu.
2 Select AutoScale on both the Minimum and Maximum sides of the dialog.
3 Click OK.
The resulting chart’s data axis is reset based on the data in the chart, as shown
in the illustration below. This often results in sharper valleys and peaks in the
graph display:
You can also set the scaling options to Auto Expand. This option uses 0 as the
bottom of the data axis and automatically expands and scales the data axis to
display all data for the time range.
Right-click the chart and select Scale Options from the context menu.
2 Choose Auto Expand on both the Minimum and Maximum side of the dialog.
3 Click OK.
» Note While sorting/filtering is in use, these Metric viewing options are not
available: bring to front, send to back, and hide/show Metric.
2 The window lists metrics that currently match the metric grouping, sorted
alphabetically. Metrics that are already defined in the Included or Excluded
Metrics lists do not appear.
3 Click to select the Metric to add to the Included Metrics list. Select multiple
Metrics using Shift or Ctrl key.
4 Click OK, then OK again.
The included Metrics appear in the Included Metrics list in the Sorting/Filtering
Options window.
A message notifies you if no additional Metrics are available.
5 Select File > Save to save Dashboard changes.
The window lists Metrics that currently match the Metric grouping, sorted
alphabetically. Metrics already defined in the Included or Excluded Metrics lists
are not shown.
2 Click to select the Metric to add to the excluded Metrics list. Select multiple
Metrics using Shift or Ctrl key.
3 Click OK, then OK again.
The excluded Metrics appear in the Excluded Metrics list in the Sorting/Filtering
Options window.
A message notifies you if no additional Metrics are available.
4 Select File > Save to save Dashboard changes.
1 In either the Included or Excluded Metrics list, click on the Metric you want to
remove from the list. Select multiple Metrics using Shift or Ctrl key.
2 Click Remove.
3 Click OK.
The Metric is removed from the Included or Excluded Metric list.
4 Select File > Save to save Dashboard changes.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the Data Viewer with the Selection tool.
3 Select Properties > Data Options, then click the Miscellaneous tab.
5 Click OK.
6 Select File > Save to save Dashboard changes.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select an alert status indicator with the Selection tool and right-click and select
Data Options, then click the Alert tab, or, select Properties > Data Options,
then click the Alert tab.
3 In the Alert Type field, use the pull-down menu to choose either a Single
Indicator or Multiple Indicator option.
4 Click OK.
The alert status indicator changes to the selected view.
5 Select File > Save to save Dashboard changes.
See the Introscope Workstation User Guide for a description of Investigator tab
views.
Rectangle Polygon
Rounded Rectangle Scribble (freeform draw tool)
Oval/Circle Basic Line
After you draw a shape or line with any tool, the Selection tool is automatically
selected, so you can then move or resize the shape or line.
1 In the Console, select Dashboard > Edit Dashboard to open the Dashboard.
2 Select the appropriate tool.
To Do this
Draw rectangles, 1 Click one of the shape tools:
rounded
rectangles or ovals Rectangle
on the Dashboard
Rounded Rectangle
Oval/Circle
2 Click on the yellow dot and drag it inward to change the edge
roundness.
Pulling the yellow dot in different directions changes the edge
roundness in different ways.
To Do this
Draw a polygon on 1 Click the Polygon tool.
the Dashboard
2 Click on a starting point, then hold down the mouse button and
draw a shape.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the appropriate tool.
To Do this
Connect two 1 Click the Straight Connector or the Elbow Connector tool.
Dashboard objects
with a connector Straight connector Elbow connector
Add arrowheads to 1 Right-click the line or connector to edit with the Selection
a line or connector tool.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the appropriate tool.
To Do this
Add fill color to a 1 Select the shape to color with the Selection tool.
shape
Add a custom fill or 1 Select a shape, line or connector with the Selection tool.
pen color
To Do this
Use choose a color 1 Click the Swatches tab.
from a selection of
swatches
To Do this
Define colors using 1 Click the RGB tab.
RGB (Red, Green,
Blue) values
Note that you can only change the font attributes for user-created text blocks
(created with the Label tool). You cannot change font attributes for Legend text
in a Data Viewer.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
4 Type in your text. To create text boxes with multiple lines, press Enter at the end
of a line of text—the cursor moves to the next line in the box for you to resume
typing.
5 To exit the text entry field, click anywhere on the Dashboard outside the text
field, or choose another tool.
6 Select File > Save to save Dashboard changes.
Editing text
To edit existing text:
1 Click the Label Tool and click on the text block. The text is highlighted and
you can edit it.
To Do this
Change text font 1 Select Properties > Text > Font, or right-click and select
Text > Font from the menu.
2 Select a font from the font list.
The text block updates with font selection.
Change text size 1 Select Properties > Text > Size, or right-click and select
Text > Size from the menu.
2 Select a text size from the list.
The text block updates with text size selection.
Change text color 1 Select Properties > Text > Color, right-click and select Text
> Color from the menu.
2 Select a color for the text by:
Selecting a color from the menu
Selecting Properties > Text > Color > Other... and
choosing a color from one of the color pickers.
For more information on additional color options, see Add a
custom fill or pen color on page 95.
The text block updates with color selection.
Change text style 1 Select Properties > Text > Style, or right-click and select
Text > Style from the menu.
2 Select a text style (Plain, Bold or Italic) from the list.
The text block updates with style selection.
Add a Text 1 Select Properties > Fill Color, right-click and select Fill
background color Color from the menu.
2 Select a background color for the text by:
Selecting a color from the menu
Selecting Fill Color > Other... and choosing a color from
one of the color pickers
For more information on additional color options, see Add a
custom fill or pen color on page 95.
The text block updates with color selection.
To Do this
Change text color 1 Select Properties > Text > Color.
2 Select color from menu, or Properties > Text > Color >
Other and choose other color from color pickers.
Add text 1 Select Properties > Fill Color
background color 2 Select color from menu, or Properties > Fill Color > Other
and choose other color from color pickers.
Change text style 1 Select Properties >Text >Style
2 Select text style (plain, bold or italic)
Change font size Select Properties > Text > Size
select text size, or
resize the text block freehand
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select Edit > Insert Image to browse for an image.
4 Click the Selection tool, then click on the image to select it and move it.
5 Select File > Save to save Dashboard changes.
Select Align
Move Arrange dashboard objects front to back
Resize Group and ungroup
Resize graph legend size Connect with connectors
Cut/copy/paste/duplicate/delete
Dashboard objects, except for connectors, can be moved and placed anywhere
on the dashboard area. Both line connectors and elbow connectors are
repositioned automatically when the objects to which they are connected are
moved.
Scribbles cannot be resized, although you can reposition the points in the
scribble, thus changing the length of the segments that make up the scribble.
When Data Viewers are resized, they simply get bigger or smaller—the
representation of data does not change (scale does not change, no more or
fewer points are visible).
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
3 To select multiple Dashboard objects, hold down the Shift key, and click on each
object to add it to the selection.
You can also use the Shift key to deselect an object from a multiple-object
selection.
4 Make changes as needed.
To Do this
Move a Dashboard Using the Selection tool drag the Dashboard object to the
object target location.
Dashboard objects, except for connectors, can be moved and
placed anywhere on the dashboard area. Both line connectors
and elbow connectors are repositioned automatically when the
objects to which they are connected are moved.
Move a dashboard With the object selected, use the keyboard’s arrow keys to
object in small move the dashboard object one pixel at a time in the arrow
increments key’s indicated direction.
Resize a Place the pointer over one of the object’s handles, click on it,
dashboard object and drag it inwards or outwards to resize the object.
Resize a polygon With the polygon selected, click and drag the yellow dot to
resize the polygon.
You can also rotate the polygon as you resize it.
Cut, copy, and 1 With the object selected, right-click on the object(s) and select
paste a Dashboard Cut or Copy from the menu
object Note: Introscope only allows objects to be pasted into
Dashboards within the same Domain as the Dashboard
they were copied or cut from.
2 Open the destination Dashboard by selecting Dashboard >
Edit Dashboard.
3 Right-click on the Dashboard and select Paste from the menu.
Note: A line connector is only cut/copied/pasted if both objects
it is connected to are cut/copied/pasted.
To Do this
Duplicate a With the object selected, right-click on the object and select
Dashboard object Duplicate from the menu or select Edit > Duplicate.
The Dashboard object is duplicated on the Dashboard. If
multiple items are selected, they are all duplicated.
Delete a With the object selected, select Edit > Delete, right-click and
Dashboard object select Delete, or press the Delete or Backspace keys.
The Dashboard object is deleted from the Dashboard.
Note: Dashboard objects are not displayed as Elements in the
Management Module Editor tree; you must delete
Dashboard objects in the Dashboard Editor window. If
multiple items are selected, they are all deleted.
Before resizing the Graph legend area. After resizing the Graph legend area.
» Note If you replace the data in this Graph with data that contains additional
Metrics, you might need to resize the Graph to show all the Metrics
(although scroll bars appear if the Metrics cannot all be viewed).
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the object to be moved with Selection tool and move it in one of these
ways:
Right-click on object and select either Bring to Front or Send to Back from
the menu.
Select Edit menu and then select either Bring to Front or Send to Back.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the objects to be grouped (shift+click to add objects to a selection), and
select Edit > Group, or right-click on the group of objects and select Group from
the menu.
Selected objects are grouped into one item, represented by one set of handles.
Ungrouped—
more than one
set of handles.
Grouped—one set of
handles.
1 Select the object to be ungrouped, and select Edit > Ungroup, or right-click on
the grouped object and select Ungroup from the menu.
The grouped object is separated into individual objects, all with their handles
highlighted.
» Note If the grouped object contained another grouped object, this object
remains grouped.
You can set Edit > Change Dashboard Properties > Clear Previous Lens
Setting for a dashboard, to clear the lens each time a user selects that
dashboard. For example, if the Clear Lens option is set for the Overview
Dashboard, when a user returns to the Overview Dashboard from another
Dashboard to which a different lens is applied, that lens is cleared so that the
Overview Dashboard shows data for multiple Agents, as intended.
Dashboard lens settings are part of the navigation history. When you navigate to
a previously viewed Dashboard using the Back button, a lens that was previously
applied is reapplied.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the Dashboard object to contain the custom link. These dashboard objects
cannot contain links: Line, Scribble, Connector, and Elbow Connector.
3 With the Dashboard object selected, right-click on the Dashboard object and
select Object Links from the menu. Or, select Properties > Object Links.
The Object Links dialog box opens.
4 Click Add.
The Add Object Link dialog box opens.
5 Select the Dashboard Link radio button.
6 Select a Dashboard from the Dashboard drop-down list and click Choose.
The Select Agent Lens dialog opens.
7 Select a single Agent, or select multiple Agents (click and drag, or CTRL/click) on
which to filter.
» Note You can begin typing an Agent name, hostname, or process name in the
Search field. As you type, the Agent list filters to match what you type.
8 Click OK in the Select Agent Lens dialog, then click OK in the Add Object Links
dialog.
The new Dashboard link appears in the Object Links dialog box.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Right-click on the Dashboard object and select Object Links from the menu, or
select Properties > Object Links.
The Object Links dialog box opens.
3 Click Add. The Add Object Link dialog box appears.
4 Select the Web link radio button.
5 In the Name field, enter a name for the Web link. Keep the name short and
descriptive, because it appears under the Links menu.
6 In the URL field, enter the address of the Web page link.
» Note The URL must be fully specified or it will not work correctly on all
platforms. For example, instead of entering www.wilytech.com, you
must enter http://www.wilytech.com.
7 Click OK.
The new web link appears in the Object Links dialog box.
1 In the Console, open the dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the dashboard object that contains the custom link and right-click on the
Dashboard object and select Object Links from the menu, or select Properties
> Object Links.
The Object Links dialog box appears.
3 Select the row that contains the link for which to define a default link for.
4 Click Set As Default.
The defined default link appears in bold in the list in the Manage Links dialog
box.
To change the default link, click on a different link, and click Set As Default.
The default link changes.
To clear the default link, click Clear Default.
5 Click OK.
6 Select File > Save to save changes to the Dashboard.
This quick link can be accessed by a user by double-clicking on the object with
the custom default link.
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the Dashboard object to contain the custom link and select Properties >
Object Links, or right-click on the Dashboard object and select Object Links
from the menu.
The Object Links dialog box opens.
Removing links
To remove a custom link:
1 In the Console, open the Dashboard to edit by selecting Dashboard > Edit
Dashboard.
2 Select the Dashboard object to remove the custom link from and right-click on
the Dashboard object and select Object Links from the menu, or select
Properties > Object Links
The Object Links dialog box opens.
Management Modules for each domain contain elements. Elements are objects
that contain and organize metric data with monitoring logic, for presentation in
the Workstation. Introscope elements are:
Metric Groupings
Dashboards
Calculators
Report Templates
SNMP Collections
The Introscope Workstation User Guide describes the contents of the sample
Dashboards.
To create or edit Elements in the Workstation, you must have the appropriate
permissions. To perform most changes to Elements, you need write permission
to the Domain in which the Element is contained. Some functions require a
specific permission.
For more information about domains and user permissions, see Defining User and
Group Permissions on page 228.
Links for an item in a Dashboard or the Management Module Editor appear on the
Links menu, with link types separated by a horizontal line. In the Management
Module Editor, links on top of the menu are for Management Module Editor tree
items; links on the bottom of the menu are for Dashboards. In the Console, links
on bottom of the menu are for Management Module Editor tree items; links on
the top are for Dashboards.
If no links are available for a selected object, the Links menu is disabled.
For simplicity, CA suggests that you either use Management Module Agent
Expressions, or Metric Grouping Agent Expressions, but not a mix of both within
a single Management Module. You might also use only Metric Grouping Agent
Expressions if you want to monitor a specific set of Metrics from a specific set of
Agents.
3 Enter a name for the Management Module in the Name field (this name appears
in the Management Module Editor tree.)
4 Enter a .jar file name for the Management Module, using alphanumeric characters
without spaces (to comply with all operating systems).
5 In the Domain Name field, use the pull-down menu to select which Domain
contains the Management Module.
6 Click OK.
The Management Module appears in the Management Module Editor tree. Modules
are active and editable when they are created.
2 Click Add.
A blank Agent Expressions field appears. You can supply Agent Expressions
information, in one of two ways:
Open another Investigator window, select an Agent or Metric and drag the
information to the Agent Expressions field, so that a the line appears around
the Agent Expressions field. For example:
3 Click Apply.
» Note The Agent Expressions defined here are not automatically applied to
metric groupings within. You must specifically choose to use the
Management Module’s Agent Expressions instead of the Metric
Grouping’s Agent Expressions. For information on this process, see
Configuring metric groupings on page 119.
4 In the Domain Name field, use the pull-down menu to select which Domain
contains the Management Module.
5 Click OK.
The new Management Module appears in the Management Module Editor tree. It
is active and editable.
2 Click Yes.
Custom Management Modules you create are editable, but you can make them
non-editable to prevent others from changing them.
The Metric Grouping Agent Expressions field specifies the data up to and including
the Agent name. The Metric Expressions field specifies the Resource (the chain of
folders leading to the Metric) and the Metric.
To populate these fields, you can either type in the information using Perl 5
regular expressions language, or you can select and drag Metrics and Agents from
the Investigator into the fields.
By default, every metric grouping uses its own Agent Expressions to match
Agents. If you want instead to use the Agent Expressions from the Management
Module, choose this option in the metric grouping’s settings panel. If you select
this option, the matching Agents automatically change if the Management
Module’s Agent Expressions change.
Domain|Hostname|Process|AgentName|Resource:Metric
For example, a fully qualified Metric name of a Metric in a Resource looks like this:
If a Metric is located within two Resources, the name looks like this:
Acme|c1737019-a|AcmeUSA|AcmeWest|Servlets|FileServlet:Responses
Per Second
If there are deeper Resource layers, Resources are separated by the pipe
character (|).
» Note Users in Domains other than the SuperDomain see the Metric name
without Domain information in the following syntax:
Hostname|Process|AgentName|Resource:Metric. For example:
1 Right-click the Metric and select New Metric Grouping from Metric <Name>
from the menu.
Click Choose, select a Management Module from the list, then click Choose
again
4 Click OK.
The new metric grouping you created is highlighted in the Management Module
Editor tree, under the Management Module in which you saved it.
» Note The metric grouping is active when it is created, and cannot be de-
activated.
In the Settings pane for the metric grouping, Metric Grouping Agent Expressions
and Metric Expressions fields already contain the Metric information.
5 Select the Description tab to enter descriptive text and any important
information about the metric groupings in the Description Text field.
This field should contain no more than 64 KB of data. After it is applied, it will be
persisted in the management module jar.
6 Select which Agent Expressions to use:
Select Use Management Module Agent Expressions to use the Agent
Expressions defined for the Management Module
Select Use Metric Grouping Agent Expressions to use Agent Expressions
defined for this metric grouping
7 Click Apply.
Click Choose, select a Management Module from the list, then click Choose
again.
5 Click OK.
The metric grouping you just created is highlighted in the Investigator tree, and
its settings appear in the settings pane.
» Note The metric grouping is active when it is created, and cannot be de-
activated.
6 Enter specific Agent and Metric information in the Metric Grouping Agent
Expressions and Metric Expressions fields.
open another Investigator window, select a Metric, and drag the information
to the Metric Groupings window, so that the blue line appears around the
Metric Grouping Agent Expressions and Metric Expressions fields:
When you release the mouse button, the Metric Grouping Agent Expressions
and Metric Expressions fields automatically fill with Metric information.
7 Select which Agent Expressions to use:
Select Use Management Module Agent Expressions to use the Agent
Expressions defined for the Management Module.
Select Use Metric Grouping Agent Expressions to use Agent Expressions
Both types of Alerts appear together under the Alerts node in the Investigator
tree.
Not reporting data—this could happen if the Simple Alert is not matching any
Metrics, if the Metrics it is matching are not reporting (perhaps because they
are shut off), or if the Simple Alert itself is inactive
Green (OK)
Yellow (Caution)
Red (Danger)
You can define Actions to be triggered for Caution and/or Danger states. Simple
Alerts can use Danger and Caution Action Delays (SmartTrigger functionality) to
determine when to initiate specified Actions.
The Simple Alert is the foundation Alert in Introscope. Simple Alerts can trigger
Actions and notifications, or can provide input for a Summary Alert.
Create a Simple Alert from the Elements menu, then add the Metric information
using regular expressions
1 In the Management Module Editor tree, right-click on the metric grouping from
which to create the Simple Alert. From the menu, select New Simple Alert from
Metric Grouping <Name>.
2 In the Name field, enter a name for the Simple Alert. The Management Module
is the same one that the metric grouping belongs to.
3 Select the Description tab to enter descriptive text and any important
information about the alert in the Description Text field.
This field should contain no more than 64 KB of data. After it is applied, it will be
persisted in the management module jar.
4 Click OK.
Proceed to the section, Configuring Simple Alert settings on page 127, to
configure specific Simple Alert settings.
1 In the Management Module Editor window, select Elements > New Alert > New
Simple Alert.
2 In the Name field, enter a name for the Simple Alert.
3 Choose a Management Module to contain the Simple Alert in one of these ways:
Select a Management Module from the drop-down list box.
Click Choose, select a Management Module from the list, then click Choose
again.
4 Click OK.
The Simple Alert you just created is highlighted in the Management Module Editor
tree, and its settings appear in the settings pane.
When you create a Simple Alert, a metric grouping with the same name as the
Simple Alert is automatically created. You can either:
Customize the newly created metric grouping with regular expression
information (follow the instructions in the section Configuring metric groupings
on page 119).
Choose an existing metric grouping to supply data for this Simple Alert
(described here).
1 In the Metric Grouping area, choose a metric grouping to supply data to the
Simple Alert:
Click Choose, select a metric grouping from the list, then click Choose again.
1 If the Simple Alert settings is not already visible, locate the Simple Alert you just
created in the Management Module Editor tree, under the Management Module
into which you placed it. Click on the Simple Alert to select it and display its
settings.
2 In the settings pane, check the Active checkbox to activate the Simple Alert.
Field Setting
Resolution Select or enter a time period resolution in hours, minutes, or
seconds.
A Simple Alert uses input data from a selected metric grouping. For
the time resolution you select, Introscope gathers information and
summarizes a value for that time period. The resulting value
depends on the type of data in the Metric. For example, if the
Metric is a rate, the summarized value is the average rate during
that time period. Or if the Metric is a counter, it produces the most
recent value of the counter.
Note: Time resolution values must be in 15-second increments.
Combination Choose a value from the drop-down list:
any—a Simple Alert is triggered when one Metric goes over a
threshold
all—a Simple Alert is triggered only when all Metrics go over a
threshold
Note: The Combination field is ignored when the Notify by
individual Metric box is checked.
Comparison Choose a value from the drop-down list for the condition that
Operator triggers the Simple Alert, either Less Than, Greater Than, Equal
To, or Not Equal To.
The Comparison Operator, along with Danger and Caution
Threshold values, defines the condition that trigger the Simple
Alert.
The Comparison Operator relates to the Danger and Caution
threshold values. For example, if you want to be notified when an
average servlet response time is greater than 5000, you would use
the “greater than” operator. The Comparison operator also affects
the Caution and Danger Threshold values. If the Comparison
operator is set to greater than, the Danger Threshold value must
be greater than the Caution Threshold value. Conversely, if the
Comparison operator is set to less than, the Danger Threshold
value must be less than the Caution Threshold value.
Notify by Select to trigger individual Metric Alerts. You can use the Individual
individual Metric Alert Notification and Resolution Alert together.
metric The Notify by Individual Metric feature (also called Metric Level
Alert) configures Introscope to trigger a Simple Alert status when
an individual Metric crosses a user-defined threshold. This is
helpful if you create a Simple Alert on a metric grouping and use
this option—you only need to set up one Simple Alert, and you can
receive individual Simple Alerts for each individual metric in the
metric grouping.
Notifications are sent as if there were separate Simple Alerts for
each Metric, so be aware that multiple Alerts/Resolutions are
possible in the same period.
Field Setting
Trigger Alert Choose an option from the drop-down list:
Notification Each Period While Problem Exists—produces a problem
message every period that the Simple Alert is in Caution or
Danger.
When Severity Increases—produces a problem message on
any period when the state of the Simple Alert escalates from
Normal to Caution, from Normal to Danger, or from Caution to
Danger. This is the default state for the Simple Alert.
Whenever Severity Changes (Resolution Alert)—produces
problem and/or resolution messages on any state transition. For
example, a change of state of the Simple Alert from Danger to
Caution would produce a resolution message (Danger status has
been resolved) and a problem message (the Caution status is still
a problem). This type of resolution Alert produces a resolution
message if the state changes from Caution or Danger.
Report Only Final State Whenever Severity Changes
(Resolution Alert)—produces a problem or resolution message
only for the final state of an Alert transition. For example, for a
change from Danger to Caution, the Simple Alert would trigger
only a problem message for the final state, which is Caution. This
type of resolution Alert produces a resolution message only if the
state goes to Normal.
For more alert notification information, see About Alert Notification
options, messages, and exceptions on page 140.
Danger Area Settings
Danger Enter the value that triggers a Danger Alert.
Threshold Danger Thresholds specify when Simple Alerts are to be triggered.
The units in the Danger Threshold values correspond to the value
used in the metric grouping. For example, if you are making a
Simple Alert for Servlet Average Response Time, the value is
milliseconds. You set Danger Thresholds in conjunction with the
Comparison Operator.
Sustained Alert Settings
Sustained Alert settings allow you to configure the Alert to only
trigger if a Danger status is sustained over one or more time
periods.
Using this option, the Alert is not triggered until the metric
grouping(s) cross the danger threshold X times in Y periods.
At least n of the Enter the number of instances of the status of Danger that would
last n periods trigger Alert notification.
Actions Add Actions as described in Adding actions on page 132.
Field Setting
Action Delay Enter the delay in hours, minutes, and seconds.
Note: When using the Resolution Alert option, Danger Action
delay is not available.
Danger Action Delays (also known as SmartTrigger functionality),
determine when a Simple Alert Action is triggered.
To prevent being flooded by Simple Alert notifications when values
remain in or re-enter a danger region, enter delay for Danger
Action Delay. The Action is not repeated until the delay time has
elapsed. For more information on SmartTrigger functionality, see
Alerts and the SmartTrigger feature on page 140.
Caution Area Settings
Caution Enter the value that triggers a Caution Alert.
Threshold Caution Thresholds specify when Simple Alerts are to be triggered.
The units in the Caution Threshold values correspond to the value
used in the metric grouping. For example, if you are making a
Simple Alert for Servlet Average Response Time, the value is
milliseconds. You set Caution Thresholds in conjunction with the
Comparison Operator.
Sustained Alert Settings
Sustained Alert settings allow you to configure the Alert to only
trigger if a Caution status is sustained over one or more time
periods.
Using this option, the Alert is not triggered until the metric
grouping(s) cross the caution threshold X times in Y periods.
At least n of the Enter the number of instances of the status of Caution that is to
last n periods trigger Alert notification.
Actions Add Actions as described in Adding actions on page 132.
Caution Action Enter the delay in hours, minutes, and seconds.
Delay Caution Action delays (also known as SmartTrigger functionality),
determine when a Simple Alert Action is triggered.
To prevent being flooded by Simple Alert notifications when values
remain in or re-enter a caution region, enter delay for Caution
Action Delay. The Action is not repeated until the delay time has
elapsed. For more information on SmartTrigger functionality, see
Alerts and the SmartTrigger feature on page 140
Note: When using the Resolution Alert option, Caution Action
delay is not available.
Adding actions
Add Actions to occur when the Alert Comparison condition is met (when a caution
or danger threshold value has been exceeded). You can add an Action for either
or both of the Danger or Caution conditions. You can also create multiple Actions
for the same condition.
» Note If you define both a Caution and a Danger Threshold Action for a Simple
Alert, and a Simple Alert status goes directly from normal (green) to
danger (red) during a defined time period, only Danger Actions are
triggered.
To add an action:
Activating an Action
The default actions included with Introscope (and any new Actions created from
this dialog) must be activated before first use.
To active an action:
1 In the Management Module Editor tree, find and select the Action you just defined
(or created) for the Simple Alert. Notice it is grayed out because it is not yet
active.
2 In the Action’s settings pane, check the Active checkbox to activate the Action.
3 Click Apply.
A Simple Alert has one of four states—not reporting, green, yellow, and red.
Because the Summary Alert state is defined as the worst state among the Simple
Alerts it contains, Summary Alerts have no explicit danger or caution thresholds
or comparison expressions, as with Simple Alerts.
To understand the relationship between the states of the underlying Simple Alerts
and the containing Summary Alert, consider an example Summary Alert, which
includes two Simple Alerts—GC Heap Alert, and Connection Pool Alert.
All Alerts have the same time period—There is no delay between the
evaluations of any of the Alerts on the latest Metric data.
All Alerts have different time periods—The Summary Alert still evaluates its
own state on its own period, using the most recently calculated state from each
of the Alerts it depends on. For example, if Summary Alert A depended upon
Alert X (30 second period) and Alert Y (45 second period), then every 30
seconds, Summary Alert A would determine its state based upon the current
states of Alert X and Alert Y using whatever states they had most recently
calculated for their own periods.
If the underlying Simple Alerts have different time periods, the minimum
period is used as the Summary Alert time period. This works well if the
underlying Simple Alerts have time periods that are relatively close together.
However, with underlying Simple Alerts with a wide variance of time periods,
this can lead to old or stale states in which the user might expect the Summary
Alert to be Green, but because of a Simple Alert with a long period, it might
have a state reflective of a time far back in the past.
For example, if a Summary Alert (Application Health) depends upon a Simple
Alert (WebServerSlow) which has a time period of one hour, then the Summary
Alert could show a state that is triggered by the WebServerSlow state, which
could be as old as an hour. If the WebServer was slow one hour ago, but
corrected itself 50 minutes ago, the real application state might be apparent
as Green/OK, but the WebServerSlow Simple Alert might still be Red, and by
extension the Summary Alert, Application Health, is still red.
The best way to prevent this situation from occurring is to compose Summary
Alerts of Simple Alerts whose time periods are the same or at least close
together.
Summary Alerts are only viewable with the alert status indicator Data Viewer
Including a Simple Alert in a Summary Alert does not disable any notification
Actions the Simple Alert might have. If a notification Action is defined at both
the level of the Simple Alert and the level of the Summary Alert, it is possible
to get multiple notifications with duplicate information for the same problem.
Therefore, you might want to disable the actions in the Simple Alert if you don’t
want duplicate notifications for the same problem.
1 In the Management Module Editor window, select Elements > New Alert > New
Summary Alert.
2 In the Name field, enter a name for the Summary Alert.
» Note Since Summary Alerts and Simple Alerts appear together under the
Alerts node, it might be helpful to name the Summary Alert to distinguish
it from a Simple Alert.
Click Choose, select a Management Module from the list, then click Choose
again.
4 Click OK.
The Summary Alert you created is highlighted in the Management Module Editor
tree, and appears in the settings pane.
5 In the settings pane, check the Active checkbox to activate the Summary Alert.
6 Specify the alerts to be included in the Summary alert, by selecting one or more
alerts and using the arrows to move them from the Available list to the Included
list:
Both Simple and Summary alerts appear in the list of available alerts. Basing a
Summary alert on other Summary alerts enables you to build high-level alerts.
For example, you can create a high-level summary alert that incorporates system
health alerts into one overall system health alert.
» Note Do not define two Summary alerts that are inputs for one another. The
resulting recursive effect produces unpredictable results.
Field Setting
Trigger Alert Select a Trigger Alert Notification state for Any Alert or All
Notification Alerts. The Any Alert option will take the maximum state of all
the alerts and the All Alerts option will take the minimum state
of all the alerts having a state of more than 0 (not reporting).
For example if you have a summary alert that consists of the
following alerts:
Alert: A State: 0
Alert: B State: 1
Alert: C State: 1
Alert: D State: 2
Alert: E State: 3
The Any Alert option will take 3 and the All Alerts option will
take 1.
The trigger state determines how the Summary Alert behaves:
Field Setting
Trigger Alert Each Period While Problem Exists—produces a problem
Notification message every period that the Summary Alert is in Caution or
(cont.) Danger.
When Severity Increases—produces a problem message on
any period when the state of the Summary Alert escalates from
Normal to Caution, from Normal to Danger, or from Caution to
Danger. This is the default state for the Summary Alert.
Whenever Severity Changes (Resolution Alert)—produces
problem and/or resolution messages on any state transition. For
example, a change of state of the Summary Alert from Danger
to Caution would produce a resolution message (Danger status
has been resolved) and a problem message (the Caution status
is still a problem). This type of resolution Alert produces a
resolution message if the state changes from Caution or
Danger.
Report Only Final State Whenever Severity Changes
(Resolution Alert)—produces a problem or resolution message
only for the final state of an Alert transition. For example, for a
change from Danger to Caution, the Summary Alert would
trigger only a problem message for the final state, which is
Caution. This type of resolution Alert produces a resolution
message only if the state goes to Normal.
Resolution Alert Information
You need to know when a Summary Alert status goes to a Caution
or Danger status, and it is also helpful to know when that Caution
or Danger status has decreased in severity (has been resolved.)
The Resolution Alert can be set to notify you when:
a Summary Alert status changes to Caution or Danger
a Summary Alert status changes from Caution or Danger
For more alert notification information, see About Alert
Notification options, messages, and exceptions on page 140.
Field Setting
Danger Area Settings
Alerts Add Actions as described in Adding an Action, below.
Action Delay Enter the delay in hours, minutes, and seconds.
Danger Action delays (also known as SmartTrigger functionality)
determine when a Summary Alert Action is triggered.
To prevent being flooded by Summary Alert notifications when
values remain in or re-enter a danger region, enter delay for
Danger Action Delay. The Action is not repeated until the delay
time has elapsed. For more information on SmartTrigger
functionality, see Alerts and the SmartTrigger feature on
page 140.
Note: When you use the Resolution Alert option, Danger Action
Delay is not available.
Caution Area Settings
Actions Add Actions as described in Adding an Action, below.
Caution Action Enter the delay in hours, minutes, and seconds.
Delay Caution Action delays (also known as SmartTrigger functionality)
determine when a Summary Alert Action is triggered.
To prevent being flooded by Summary Alert notifications when
values remain in or re-enter a caution region, enter delay for
Caution Action Delay. The Action is not repeated until the delay
time has elapsed. For more information on SmartTrigger
functionality, see Alerts and the SmartTrigger feature on
page 140.
Note: When you use the Resolution Alert option, Caution Action
Delay is not available.
Adding an Action
Add Actions to occur when the aggregate Summary Alert status is Danger or
Caution. You can add an Action for either or both of the Danger or Caution
conditions. You can also create multiple Actions for the same condition.
» Note If you define both a Caution and a Danger Threshold Action for an Alert,
and an Alert status goes directly from normal (green) to danger (red)
during a defined time period, only Danger Actions are triggered.
To add an action:
Activating Actions
The default actions included with Introscope (and any new Actions created from
this dialog) must be activated before they are used for the first time.
To activate an Action:
1 In the Investigator tree, select the Action you just defined (or created) for the
Alert.
It is grayed out, because it is not yet active.
2 In the Action’s settings pane, check the Active checkbox to activate the Action.
3 Click Apply.
a list of the underlying Simple Alerts that triggered the current state of the
Summary Alert
This information can be output (through a Shell Command Action, for example)
to an external enterprise control panel (such as CA Unicenter). The four Alert
notification options produce a combination of these messages under different
conditions.
» Note An Action must be defined for the Simple Alert or Summary Alert in order
to output the problem/resolution message information.
Imagine a situation where you have your Alert time period set for 30 seconds. If
the information generates a Danger Alert status and you defined an Action for it,
the Action is triggered. Without SmartTrigger set, if the Danger status continues,
you are notified every time the Danger Threshold is exceeded, as shown in this
illustration.
30s 1m 2m 3m 4m 5m 6m
Caution
threshold
As the illustration shows, you would be notified eight times over this short period.
However, if the Danger status occurs again during that five-minute Action
blackout period, and the Danger threshold is still exceeded when the blackout
period ends, you are not notified by a second Action until five minutes after the
first notification, as this illustration shows:
Action Action
Danger
Threshold
30s 1m 2m 3m 4m 5m 6m
Caution
threshold
Let’s go back to the previous example. You might only want to be notified if the
status worsens to danger, not if it exceeds the danger threshold and stays there.
This illustration shows what happens with a Danger Action delay of five minutes,
and the When Severity Increases option selected:
Action
Danger
Threshold
30s 1m 2m 3m 4m 5m 6m
Caution
threshold
In this example, you wouldn’t receive a Danger Alert notification at the 5.5
minute mark as in the previous illustration, because the values are on a decline—
the status is improving.
a chart showing the percentage of time an Alert spent in each Alert state over
a period of time
When you delete or rename an Alert, the old metric for it is grayed out.
You can view Alert state metrics in the Investigator (see Alert state metrics in the
Investigator) and in the Management Module Editor (see Alert state metrics in the
Management Module Editor).
This example shows the All EJB Response Time metric in a state of 3—Danger:
» Note You can configure a different Metric name for the node that contains Alert
state Metrics in the Enterprise Manager properties file, using the
property introscope.enterprisemanager.alertstatemetric.prefix.
This example shows a red alert status indicator for the all Agent Connection
Status metric; it is in a state of Caution:
An Alert Downtime Schedule can be associated with one or more alerts. It also
provides a convenient way of associating alerts in one or more management
modules. While any action associated to an alert will not occur during a downtime
period, the alert status will still be reported. For more information, see About
Summary Alerts on page 133.
This feature is also capable of handling overlapping downtime periods that affect
the same alert. For example if you have two downtimes scheduled that affect the
same alert, the system is sophisticated enough to know this and maintain the
down time.
1 From the Management Module Editor, choose Elements > New Alert
Downtime Schedule.
2 Enter a name for the alert downtime schedule in the Name field.
3 The Force Uniqueness check box is selected by default to ensure that the Alert
Downtime Schedule names are unique within a within a Management Module. If
you create a new schedule with a name already in existence, the system will
append a number to the name to force uniqueness. Deselect this check box to
turn off this option.
4 Choose a Management Module from drop-down menu or click Choose to enter a
search string.
5 Click OK.
The new Alert Downtime Schedule will appear highlighted in the Management
Module editor tree and its definitions will appear in the Settings tab in the lower
editor pane:
You can select the Description tab to enter information about the alert or the
Settings tab to define the alert time downtime settings. For more information,
see Defining Alert Downtime Schedules on page 146.
1 In the Name field enter or rename the existing Alert Downtime Schedule.
2 Select the Active check box to make the make the Alert Downtime Schedule
active.
3 Select a Management Module from the drop-down menu or click Choose to enter
a search string.
4 Select one of the following scheduling options:
Simple Schedule–allows you to schedule weekly, monthly, and daily one time
or recurring alerts that can be set to start and end at a specific time.
Cron Schedule–a Unix scheduling tool that uses expressions. While this tool
provides a wide range of capabilities, the values entered in the fields need to
be precise. For more information, see Using Cron to Schedule Alert Downtimes
on page 146.
5 Select the Alerts or Management Modules option to pick from a list of alerts
or Management Modules to which you wish to apply the settings.
You can apply settings only to alerts in your Management Module. This is done as
a safeguard measure, so alerts aren’t inadvertently deactivated.
6 Click Apply to or Revert to
Use it by selecting the Cron Schedule option when you define alert downtime
schedules (For more information, see Defining Alert Downtime Schedules on
page 146):
For more sample expressions, see Cron Sample Expressions on page 148.
The following table lists the values and special characters that are allowed in the
Cron Schedule fields:
aFor more information about special characters, see Cron Special Charac-
ters on page 147.
The following table lists the Cron special characters and their meanings.
Special Definition
Character
* Selects all values within a field. For example, "*" in the minute
(all values) field means "every minute".
Special Definition
Character
L Specifies the last of something. This special character has a
(last) different meaning in the two fields for which it is allowed: Day
of Month and Day of Week. For example, the if you insert an
L in the Day of Month field, it means the last day of the month,
which would be day 31 for January, day 28 for February on non-
leap years. If used in the day-of-week field by itself, it simply
means "7" or "SAT". But if used in the day-of-week field after
another value, it means "the last xxx day of the month" - for
example "6L" means "the last friday of the month". When using
the 'L' option, it is important not to specify lists, or ranges of
values, as you'll get confusing results.
Note: The 'L' and 'W' characters can also be combined in the
day-of-month field to yield 'LW', which translates to "last
weekday of the month".
W Specifies the weekday (Monday-Friday) nearest the given day.
(weekday) As an example, if you were to specify "15W" as the value for the
day-of-month field, the meaning is: "the nearest weekday to the
15th of the month". So if the 15th is a Saturday, the trigger will
fire on Friday the 14th. If the 15th is a Sunday, the trigger will
fire on Monday the 16th. If the 15th is a Tuesday, then it will fire
on Tuesday the 15th. However if you specify "1W" as the value
for day-of-month, and the 1st is a Saturday, the trigger will fire
on Monday the 3rd, as it will not 'jump' over the boundary of a
month's days. The 'W' character can only be specified when the
day-of-month is a single day, not a range or list of days.
# Specifies "the nth" XXX day of the month. For example, the value
of "6#3" in the day-of-week field means "the third Friday of the
month" (day 6 = Friday and "#3" = the 3rd one in the month).
Other examples: "2#1" = the first Monday of the month and
"4#5" = the fifth Wednesday of the month. Note that if you
specify "#5" and there is not 5 of the given day-of-week in the
month, then no firing will occur that month.
c This means values are calculated against the associated
(calendar) calendar, if any. If no calendar is associated, then it is equivalent
to having an all-inclusive calendar. A value of "5C" in the day-of-
month field means "the first day included by the calendar on or
after the 5th". A value of "1C" in the day-of-week field means
"the first day included by the calendar on or after Sunday".
The following table lists the Cron special characters and their meanings.
Expression Meaning
0 0 12 * * ? Trigger an alert at 12pm (noon) every day
0 15 10 ? * * Trigger an alert at 10:15am every day
Expression Meaning
0 15 10 * * ? Trigger an alert at 10:15am every day
0 0/5 14,18 * Trigger an alert every 5 minutes starting at 2pm and ending at
* ? 2:55pm, AND fire every 5 minutes starting at 6pm and ending at
6:55pm, every day
0 0-5 14 * * ? Trigger an alert every minute starting at 2pm and ending at
2:05pm, every day
Creating Actions
An Action is caused by an Alert, and defines what happens when an Alert is
triggered.
Introscope includes two default Actions in the Sample Management Module: SMTP
Email Notification and Workstation Notification. They must be configured and
activated to be used.
1 In the Management Module Editor, select Elements > New Action > New
Workstation Notification Action.
2 Name the Action and select a Management Module to contain it.
4 Click Apply.
5 Click Test Now to see the result of the Action (the Action must be active).
This example shows a test of a Workstation Notification Action.
» Note The Test Now button produces a test result only for the last applied
Action.
1 In the Management Module Editor, select Elements > New Action > New Shell
Command Action.
2 Name the Action and select a Management Module to contain it.
3 Select the Force Uniqueness check box to make the name unique within a
Management Module.
4 Choose a Management Module from the drop-down menu or click Choose to enter
a search string and narrow the list of options.
5 Click OK.
Click Choose, select a Management Module from the list, then click Choose
again.
7 Check the Active checkbox to activate the Action.
8 Enter the name of the shell command in the Shell Command field.
9 Enter an optional parameter that needs to be passed to the shell command In the
User-defined parameter field.
10 Click Test Now to see the result of the Action.
» Note The Test Now button produces a test result only for the last applied
Action.
a management system that can take the e-mail text as input and trigger an
Action
1 In the Management Module Editor, select Elements > New Action > New SMTP
Email Action.
2 Name the Action and select a Management Module to contain it.
3 Check the Active checkbox to activate the Action.
4 Enter the return address of the e-mail message in the From: field.
5 Enter the recipient name in the To: field (can be a single e-mail address, or
multiple addresses separated by commas)
6 Enter the name of the SMTP host in the SMTP Host field.
7 Select Send Short Message to send an abbreviated version of the notification
message, for bandwidth-sensitive channels such as a pager.
8 Click Apply.
9 Click Test Now to see the result of the Action.
» Note The Test Now button produces a test result only for the last applied
Action.
Using Calculators
Calculators take the values from a metric grouping as input, average or sum the
values, and output the resulting value as a custom metric in the Investigator tree.
Metrics generated by calculators appear under a virtual process, Custom Metric
Process, running on a virtual host, Custom Metric Host.
Creating Calculators
To create a calculator:
Click Choose, select a Management Module from the list, then click Choose
again.
3 Click OK.
The calculator you created is highlighted in the Management Module Editor tree,
with its settings shown in the settings pane.
You must specify a metric grouping to supply data to the calculator. When the
calculator was created, a metric grouping was automatically created with the
same name as the calculator. However, the metric grouping must be customized
before it can supply data to the calculator—see Configuring metric groupings on
page 119.
4 To choose another metric grouping:
Select a metric grouping from the drop-down list box.
Click Choose, select a metric grouping from the list, then click Choose again.
5 From the Operation menu, choose average or sum to determine the Action to
perform on the input from the metric grouping.
6 If you are creating a Sum calculator, from the Metric Type menu select the Metric
type for the calculator, either counter or interval counter. Use an interval counter
when the calculator is to create a sum of interval counts; otherwise, use counter.
7 In the Destination field, specify a name for the Metric to label the calculator’s
output:
To have the Metric appear in a Resource folder instead of directly under
Custom Metrics, specify the Resource name, followed by a colon (:), followed
by the Metric name.
For example, if you have a calculator that generates a Metric from the average
response time for five servlets, a straight average would add up the response
time for a defined time period, and divide by five. A weighted average would give
more weight to the servlets that were called more often, giving a more accurate
average.
JavaScript calculators specify input metrics and produce one or more output
metrics.
function execute(metricData,javascriptResultSetHelper)
where
function execute(metricData,javascriptResultSetHelper) {
log.info("message");
log.error("message");
log.debug("message");
}
» Note If you want to use advanced JavaScript features or are concerned with
ECMA compliance, note that the script engine embeds the Mozilla Rhino
JavaScript library, version 1.6_R1.
javascriptResultSetHelper.addMetric(metricName,
heapUsedValue,Packages.com.wily.introscope.spec.metric.MetricTypes.kInte
gerFluctuatingCounter,frequency)
» Note Specify regular expressions with care, as they can potentially match any
Metrics you produce. For instance, a regular expression of "EJB.*Time.*"
could insert a new value under EJB. (that is, inserting a new value under
"EJB" when you have a regex on "EJB.*Time.*"). You can either change
your regular expression to do this, or remove metric data from your own
metrics.
Scripts are automatically deployed from this scripts directory at the frequency
specified by the introscope.enterprisemanager.javascript.refresh property, which
by default is 60 seconds.
After successful deployment, the new Metrics appear in the Investigator tree.
To use the Management Module hot deployment, copy the Management Module
.jar file or files into the <Introscope_Home>/deploy directory, or a Domain-
specific subdirectory of the deploy directory, as appropriate.
The Management Modules are deployed at the next polling interval which, by
default, occurs within 60 seconds. The Management Module .jar file is:
copied to the config/modules folder
You may perform a hot deployment during development and when developing
Management Modules. However, if you are working with a large fully loaded
Enterprise Manager or a large cluster, avoid performing a Management Module
hot deployment, as it is likely that the system will stop responding.
For more information about Virtual Agents, see the Introscope Java Agent Guide.
The CLW is useful for automating or scheduling Introscope operations tasks. For
example, you can perform repetitive tasks such as disabling multiple alerts in
several Management Modules more quickly with the CLW than with the
Workstation interface. Similarly, the CLW is useful for scheduling tasks that need
to be performed automatically or on a periodic basis.
JVM requirements
The CLW requires JVM 1.5 or later.
Interactive mode will read command line arguments for a command, execute,
then exit. However, if no command line arguments are passed, other than JVM
options like -DHost=, then it will read and execute one line of standard input and
will continue to do so until it reaches the end of the file is reached or you exit the
system. If no arguments are passed, and no input is provided, an error will be
printed and it will exit the system. All lines that begin with the # symbol will be
ignored.
Invoking CLW
CLW command syntax is:
java –Xmx128M < EM_logon> -jar CLWorkstation.jar <command>
Where:
–Xmx128M sets the Java heap size, preventing
java.lang.OutOfMemoryError errors that might otherwise occur.
<EM_logon> is your Enterprise Manager logon information:
-Duser=<user name>
–Dpassword=<password>
–Dhost=<Enterprise Manager host / ip address>
–Dport=<Enterprise Manager port number>
<command> is one of the commands described in the CLW command reference
on page 167.
For example:
java –Xmx128M -Duser=jdoe –Dpassword=mypassword –Dhost=jdoeDT
–Dport=5001 -jar CLWorkstation.jar <command>
Default logon values for accessing the Enterprise Manager are used if you invoke
the CLW without supplying your logon information:
Every CLW command you enter at the command line or in a script must start with
the CLW invocation:
java –Xmx128M -jar CLWorkstation.jar
CLW is case-sensitive
CLW commands accept arguments that specify agents, Management Modules,
and other named items in your Introscope deployment. CLW is case-sensitive—
you must enter the names of Introscope objects exactly as they are named. For
example, if an agent is named WebLogic1, a CLW command that refers to
weblogic1 does not execute for that agent.
You designate the target or targets of a CLW command using exact text strings
or Perl regular expressions. For example, this CLW command lists all agents
connected to the Enterprise Manager:
This command lists only agents whose name contains the string weblogic:
\"2005/01/01 12:20:37\"
» Note The syntax shown for each command does not include the invocation
portion of the command. As described in Invoking CLW on page 165,
each CLW command must begin with: java -jar CLWorkstation.jar
Syntax: shutdown
Example: shutdown
Output: None
List Agents
The List Agents command lists one or more Agents that are connected to the
Enterprise Manager. You supply a regular expression that determines which
Agents are listed.
Turn on Agents
This command starts or resumes Metric reporting from one or more Agents. You
supply a regular expression that specifies the target Agents.
The default value of this property is domainconfig.xml, which is the file that
contains all the information that Wily Introscope needs to recognize transactions
for Wily CEM. For more information about the Wily CEM integration with
Introscope, see the Wily CEM Integration Guide.
In the Copy Management Module command, you identify the Management Module
you want to copy, a name for new Management Module, and a name, excluding
the file extension, for the .jar file for the new Management Module.
Then log into the Workstation, open the Management Module Editor and note that
management modules matching the regular expression have a lock icon next to
them, have the Editable checkbox unchecked—changes to these Management
Modules are no longer allowed.
» Note This feature is intended for use by Wily Technology Division partners.
Please contact Wily Technology Division Customer Support before using
this feature in your environment.
Action Commands
An Action is a behavior, such as a notification, that can be triggered by an Alert.
List Actions
The List Actions command lists one or more Actions in one or more Management
Modules. You supply two regular expressions—one that specifies the Actions, and
one that specifies the Management Modules.
Activate Actions
The Activate Actions command activates one or more Actions in one or more
Management Modules. You supply two regular expressions—one that specifies the
Actions to activate, and one that specifies the Management Modules in which to
activate them.
Deactivate Actions
The Deactivate Actions command deactivates one or more Actions in one or more
Management Modules. You supply two regular expressions—one that specifies the
Actions to deactivate, and one that specifies the Management Modules in which
to deactivate the Actions.
Query Actions
The Query Actions command lists the state—active or inactive—of one or more
Actions in one or more Management Modules. You supply two regular
expressions—one that specifies the Actions, and one that specifies the
Management Modules.
Rename Action
The Rename Action command renames an Action. You specify the name of the
Action and the Management Module that contains it, and a new name for the
Action.
Delete Action
The Delete Action command deletes one or more Actions from one or more
Management Modules. You supply two regular expressions—one that specifies the
Actions, and one that specifies the Management Modules from which to delete
them.
Alert commands
An Alert indicates potential problems in your managed Java Application by
comparing Metric values to user-defined threshold values.
List Alerts
The List Alerts command lists one or more Alerts in one or more Management
Modules. You supply two regular expressions—one that specifies the Alerts, and
one that specifies the Management Modules.
Activate Alerts
The Activate Alerts command activates one or more Alerts in one or more
Management Modules. You supply two regular expressions—one that specifies the
Alerts to activate, and one that specifies the Management Modules in which to
activate those Alerts.
Deactivate Alerts
The Deactivate Alerts command deactivates one or more Alerts in one or more
Management Modules. You supply two regular expressions—one that specifies the
Alerts to deactivate, and one that specifies the Management Modules in which to
deactivate those Alerts.
Query Alerts
The Query Alerts command lists the state—active or inactive—of one or more
Alerts in one or more Management Modules. You supply two regular expressions—
one that specifies the Alerts, and one that specifies the Management Modules.
Rename Alert
The Rename Alert command renames an Alert. You specify the name of the Alert
and the Management Module that contains it, and a new name for the Alert.
Delete Alert
The Delete Alerts command deletes one or more Alerts from one or more
Management Modules. You supply two regular expressions—one that specifies the
Alerts, and one that specifies the Management Modules from which to delete
them.
» Note You cannot delete a Alert that is used or referenced by another element—
for example, one that is used on a dashboard.
Calculator commands
Calculators create custom Metrics by summing or averaging Metric data.
List Calculators
The List Calculators command lists one or more calculators in one or more
Management Modules. You supply two regular expressions—one that specifies the
calculators, and one that specifies the Management Modules.
Activate Calculators
The Activate Calculators command activates one or more calculators in one or
more Management Modules. You supply two regular expressions—one that
specifies the calculators to activate, and one that specifies the Management
Modules in which to activate those calculators.
Deactivate Calculators
The Deactivate Calculators command deactivates one or more calculators in one
or more Management Modules. You supply two regular expressions—one that
specifies the calculators to deactivate, and one that specifies the Management
Modules in which to deactivate those calculators.
Query Calculators
The Query Calculators command lists the state—active or inactive—of one or
more calculators in one or more Management Modules. You supply two regular
expressions—one that specifies the calculators, and one that specifies the
Management Modules.
Rename Calculator
The Rename Calculator command renames a calculator. You specify the name of
the calculator and the Management Module that contains it, and a new name for
the calculator.
Delete Calculators
The Delete Calculators command deletes one or more calculators from one or
more Management Modules. You supply two regular expressions—one that
specifies the calculators, and one that specifies the Management Modules from
which to delete them.
Dashboard commands
A dashboard is a page in the Workstation that contains Data Viewer objects such
as Graphs, Bar Charts, and alert status indicators, along with graphic and text
objects.
List Dashboards
The List Dashboards command lists one or more Dashboards in one or more
Management Modules. You supply two regular expressions—one that specifies the
Dashboards, and one that specifies the Management Modules.
Activate Dashboards
The Activate Dashboards command activates one or more dashboards in one or
more Management Modules. You supply two regular expressions—one that
specifies the Dashboards to activate, and one that specifies the Management
Modules in which to activate those Dashboards.
Deactivate Dashboards
The Deactivate Dashboards command deactivates one or more dashboards in one
or more Management Modules. You supply two regular expressions—one that
specifies the Dashboards to deactivate, and one that specifies the Management
Modules in which to deactivate those Dashboards.
Query Dashboards
The Query Dashboards command lists the state—active or inactive—of one or
more dashboards in one or more Management Modules. You supply two regular
expressions—one that specifies the dashboards, and one that specifies the
Management Modules.
Rename Dashboard
The Rename Dashboard command renames a dashboard. Specify the name of the
dashboard and the Management Module that contains it, and a new name for the
dashboard.
Delete Dashboards
The Delete Dashboards command deletes one or more dashboards from one or
more Management Modules. You supply two regular expressions—one that
specifies the dashboards, and one that specifies the Management Modules from
which to delete them.
Generate Report
Use the Generate Report command to generate a report. You supply these
arguments:
report name start time
management module name end time
filename—This file is written to the current working directory, unless
a path is specified. The file is written in the format associated with
the file extension, which must be one of these: HTML, PDF, XLS,
TEXT, XML, or CSV.
There are three Generate Report commands, basic, expanded, and an Agent
override command:
Command syntax
There are many aspects of a Transaction Trace Session that a CLW command can
specify. Some of these include:
The syntax for starting a Transaction Trace Session, specifying the threshold
in seconds, is:
trace transactions exceeding <EXACT MATCH>
(second|seconds|sec|secs|s) in agents matching <REGULAR
EXPRESSION> for <EXACT MATCH> <second|seconds|sec|secs|s>
Other CLW command options are detailed in Command options, below. For
Transaction Trace CLW command examples, see Transaction Trace command
examples on page 199.
Command options
This section describes Transaction Trace command options.
Trace mode
The CLW supports two modes of capturing Transaction Trace Session results:
Synchronous Mode—By default, the CLW writes the trace at the end of the
session to the Transaction Events Database, and to a single XML file named
TransactionTraceData-yyyyMMddhhmmss.xml, where the date-time string
reflects the start of the session.
Asynchronous Mode—In this mode, the CLW writes the trace for each
transaction as soon as it is reported to the Transaction Events Database, and
to its own XML file named nnnn(sec)-
TransactionTraceDatayyyyMMddhhmmss-<sequence number>.xml, where
nnnn is the transaction duration in seconds, and the date-time string reflects
the start of the transaction. If you provide your own file name, it will append
the sequence number before the last ".". If file name provided does not have
".", it will append the sequence number at the end of the file name.
-Dintroscope.clw.tt.mode=(Synch|Asynch)
Use this option to run a transaction trace and save the output only to the
Transaction Events Database (no XML file output). This command is useful when
triggered by an Introscope Alert to automatically start tracing transactions when
the Alert is triggered.
Use this option to specify the directory to which the CLW writes Transaction Trace
Session results. The directory must exist. If you specify a directory that does not
exist, the Transaction Trace are written to the current working directory.
-Dintroscope.clw.tt.dirname=<directory>
Output to console
Use this option to redirect the output of a Transaction Trace Session to the
command line shell. If you use this option, results are still sent to the Transaction
Events Database, but not to a file.
-Dintroscope.clw.tt.console=<true|false>
» Note This property is deprecated with this release of Introscope.
In some cases, when retrieving a large amount of transaction trace data via CLW,
the traces.db file may grow without bound, causing CLW to take a long time to
return. Setting this property to false solves the problem by reducing the amount
of data returned by the EM.
CLW will then return only header trace data. By default or when this property is
set to true, getting transaction trace data via the CLW will return both the header
and body.
-Dwily.ps.workstation.clws.gettracebody
The size of an individual Transaction Trace is now clamped when it reaches 5000
trace components by default. Any Transaction Trace exceeding the clamp will be
discarded at the Introscope Agent and a warning message like the following will
be logged in the Introscope Agent log file:
introscope.agent.transactiontrace.componentCountClamp=max_TT_components
(default is 5000)
introscope.agent.transactiontrace.componentCountClamp=30000
» Note All example commands use default login settings to connect to the
Enterprise Manager.
For examples of scripts that run Transaction Trace Sessions, see Sample scripts
on page 202.
This CLW command starts a Transaction Trace Session using default settings for:
This CLW command starts a Transaction Trace Session using the default directory
location for session output:
This CLW command starts a Transaction Trace Session using the default setting
for Trace Mode—Transaction Trace data is captured synchronously. All results are
written to a single XML file:
This command specifies a non-default location for the XML file—the C:\mytraces
directory.
You can initiate a Transaction Trace session that specifies the number of seconds
to run and uses the same filters that are available in the Workstation—user ID,
URL, URL query, session ID, request header, request parameter, session
attribute, and error:
Filtering on errors
trace transactions with errors containing [EXACT MATCH] in agents matching
[REGEX] for [EXACT MATCH] (second|seconds|sec|secs|s)
quietly trace transactions with errors containing [EXACT MATCH] in agents
matching [REGEX] for [EXACT MATCH] (second|seconds|sec|secs|s)
This command retrieves a full event XML output file from the Transaction Events
Database. A full event (as opposed to a summary event, below) is the full data
available in the lower section of the Transaction Event Viewer.
</Parameters>
</CalledComponent>
<CalledComponent RelativeTimestamp="0" Duration="0" ComponentType="JNDI"
ComponentName="ProxyDirContext"
MetricPath="JNDI|Context|ProxyDirContext">
<Parameters>
<Parameter Value="lookup" Name="Method"/>
</Parameters>
</CalledComponent>
</CalledComponents>
</TransactionTrace>
</TransactionTracerSession>
This command retrieves only the event summary XML from the Transaction
Events database and outputs an XML file. An event summary is information
available in the top pane of the Transaction Event Viewer. This command is useful
to export data from the Transaction Events database for generating reports on
the number of errors the system experiences by day, for example.
Sample scripts
This section contains sample scripts that use CLW commands:
Additional sample scripts are available on the Wily Community site at http://
community.wilytech.com.
Name: clwTxnTracer
Syntax: clwTxnTracer <threshold> <duration>
where:
threshold is the transaction execution time threshold, in seconds
duration is duration of the session, in seconds
@ECHO OFF
SETLOCAL
TITLE Introscope -- Transaction Tracer Session
REM ****
REM Sets the current working directory with quotes around it
REM This enables this file to execute correctly if it is
REM invoked somewhere other than its location.
REM ****
FOR /f "tokens=1 delims=" %%a in ('cd') DO SET PWD=%%a
REM ****
REM Set the command directory to the command argument itself,
REM namely the full path of this file or the relative path
REM to where the file was invoked.
SET CMD_DIR=%0
REM Now simply strip out the name of this file to get dir
REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
REM Use current filename
SET CMD_DIR=%CMD_DIR:clwTxnTracer.cmd=%
REM !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
REM Strip the quotes
REM add quotes if they're not there
SET CMD_DIR="%CMD_DIR%"
REM if not add quotes, then this statement chokes
SET CMD_DIR=%CMD_DIR:"=%
REM if the current dir wasn't determined, just set it to working dir
IF NOT EXIST "%CMD_DIR%" SET CMD_DIR=.
IF "%CMD_DIR%" == %0 SET CMD_DIR=.
IF "%CMD_DIR%" == "%0" SET CMD_DIR=.
REM ****
REM Now set the home directory for Introscope, and others
IF NOT EXIST "%CMD_DIR%\setIscEnv.cmd" goto noSetEnvFile
call "%CMD_DIR%\setIscEnv.cmd"
SET TT_THRESHOLD_IN_SECS=%1
SET TT_DURATION_IN_SECS=%2
SET AGENT_STR=%TT_AGENTS%
REM Remove the spaces, parentheses
SET AGENT_STR=%AGENT_STR:(=%
SET AGENT_STR=%AGENT_STR:)=%
SET AGENT_STR=%AGENT_STR: =%
if "X%TT_AGENTS%" == "X(.*)" SET AGENT_STR=AllAgents
FOR /f "tokens=1-4 delims=:." %%a in ("%time%") DO SET
SECS_STR=%%a%%b%%c%%d
FOR /f "tokens=1-4 delims=/ " %%a in ("%date%") DO SET
TRACES_DIR=%ISC_TRACES%\%%d\%%b\%%c
:badArg
ECHO Arguments should be greater than zero.
:noSetEnvFile
ECHO There is no environment setup file: setIscEnv.cmd
ECHO Please re-run configureWily.cmd in installation directory!
goto finish
:finish
ENDLOCAL
The script parses the Alert message text for the Agent that reported the data that
triggered the Alert, and the danger level value that was exceeded, which it uses
as the agent and threshold values for the Transaction Trace Session. Session
results are stored in a date-oriented directory structure.
Name: alert2TxnTracer
Syntax: See Creating a Shell Command Action on page 151 for instructions.
Results: The Transaction Trace data is written to a single file, in a directory that
corresponds to current date:
<Introscope_Home>\traces\<year>\<month>\<day>\<agents>
_<threshold>secs_for<duration>secs.<start_time>.xml
For example:
C:\introscope\\traces\2004\11\11\AllAgents_1secs_for600secs.1409
1705.xml
Additionally, realm types can be added by creating plugins extending the EM's
realms extension point.
Defining Realms
1 Open the <Introscope_Home>/config/realms.xml file.
2 Set the properties to meet the needs of your desired configuration. For more
information, see Simple Admin Realm Parameters on page 209 and Local Realm
Parameters on page 209.
3 Save changes to the file, and restart the Enterprise Manager for the changes to
take affect.
If a user id other than Admin is specified, that user will not have any permissions
in the EM until the domain definitions are updated with additional grants.
If you desire to make additional configurations to the simple admin realm, you
should instead use the local realm.
» Note When creating an admin user, keep in mind that users and permissions
are case insensitive, meaning if a user logs in using admin or Admin; the
permissions for that user role are applied.
The following table, lists the available parameters for a simple admin realm:
Parameter Definition
userid The user or group identification for the administrator
user.
password The user or group password. This is blank by default.
useGust The guest password that is set to true if an account
Guest is enabled. The password can't be changed from
Guest.
A local realm obtains user and group definitions from XML files in the config area.
The XML files store user passwords.
The following table, lists the available parameters for a local realm:
Parameter Definition
usersFile The file name relative to the config directory where
users are stored.
By default, users.xml. This file also contains group
definitions.
passwordPattern A regular expression to match all passwords. Allows you
to specify a minimum length for passwords.
Default is to allow any password.
<!-- Set the URL for the remote LDAP server. -->
<!-- The url has the format: ldap://server:port -->
<property name="url">
<value>ldap://myActiveDirectoryServer.mydomain.com:389</value>
</property>
<!-- Indicate whether SSL is used to connect to the remote LDAP server.
-->
<property name="useSSL">
<value>false</value>
</property>
<!-- Set the base DN for all user object queries. -->
<property name="baseDN">
<value>DC=myDomain,DC=com</value>
</property>
<!-- Set the search depth when querying for a user object. -->
<!-- Valid values: onelevel|subtree -->
<property name="scopeDepth">
<value>subtree</value>
</property>
<!-- Set the "LDAP search filter" that is used to query a user object.
-->
<!-- The tokens "%u" and "{0}" (no quotes) will be filled in with the
-->
<!-- Introscope username before the query executes. -->
<!-- All XML special characters in the query must be escaped: -
->
<!-- Use & to indicate an ampersand, & -->
<!-- Use < to indicate a left angle ("less than") character
-->
<!-- Use > to indicate a right angle ("greater than") character
-->
<!-- Use " to indicate a quotation mark, " -->
<!-- Use ' to indicate an apostrophe, ' -->
<property name="userObjectQuery">
<value>(&(objectClass=organizationalPerson)(cn={0}))</value>
</property>
<!--
<property name="groupNameAttribute">
<value>cn</value>
</property>
-->
<!-- Optionally set a search filter to match LDAP groups for a member.
-->
<!-- The tokens "%u" and "{0}" (no quotes) will be replaced by the
-->
<!-- member's distinguished name. -->
<!-- All XML special characters in the query must be escaped. See
-->
<!-- comments for userObjectQuery property above. -->
<!--
<property name="groupMemberQuery">
<value>(&(objectClass=groupOfUniqueNames)(uniquemember=%u))</
value>
</property>
-->
<!-- Set the search filter used to match an LDAP group name. -->
<!-- The tokens "%g" and "{0}" (no quotes) will be replaced by the
-->
<!-- group name before the query executes. -->
<!-- All XML special characters in the query must be escaped. See
-->
<!-- comments for userObjectQuery property above. -->
<!--
<property name="groupObjectQuery">
<value>(&(objectClass=groupOfUniqueNames)(cn=%g))</value>
</property>
-->
<!-- When using SSL, specify the full path name of -->
<!-- the LDAP Server Certificate (if available). -->
<!-- It is not necessary to escape backslashes. -->
<!--
<property name="serverCertificate">
<value>C:\path\to\my\cert\cert.cer</value>
</property>
-->
</realm>
</realms>
» Note If you renamed your Introscope directory during the upgrade, and your
property files used absolute paths to reference files in the Introscope
directory, then you will have to update these paths as a manual post-
upgrade task. To avoid this, CA Wily recommends using relative paths to
refer to any file inside the Introscope root directory.
The following example shows LDAP properties configured for use with the IBM
Directory Server, using SSL.
<value>ldap://sqw32vserv01.ca.com:389</value>
</property>
<property name="serverCertificate">
<value/>
</property>
<property name="bindPassword">
<value>jon</value>
</property>
<property name="useSSL">
<value>false</value>
</property>
<property name="userObjectQuery">
<value>(&(objectClass=organizationalPerson)(cn={0})) </value>
</property>
<property name="groupNameAttribute">
<value>cn</value>
</property>
<property name="groupObjectQuery">
<value>(&(objectClass=organizationalUnit)(cn={0}))</value>
</property>
<property name="groupMemberQuery">
<value>(&(objectClass=groupofNames)(member={0}))</value>
</property>
<property name="bindAuthentication">
<value>simple</value>
</property>
<property name="bindName">
<value>cn=Jon Doe,ou=Groups,o=unitTest</value>
</property>
<property name="usernameAttribute">
<value>cn</value>
</property>
<property name="scopeDepth">
<value>subtree</value>
</property>
</realm>
</realms>
This example shows LDAP properties configured for use with the Sun ONE
Directory Server, using SSL.
</property>
</realm>
<realm active="true" id="Introscope LDAP Realm" descriptor="LDAP Realm">
<property name="bindName">
<value>uid=JDOE1,ou=Users,dc=ca,dc=com</value>
</property>
<property name="scopeDepth">
<value>subtree</value>
</property>
<property name="baseDN">
<value>DC=ca,DC=com</value>
</property>
<property name="bindPassword">
<value>jim</value>
</property>
<property name="url">
<value>ldap://123serv01.company.com:389</value>
</property>
<property name="usernameAttribute">
<value>cn</value>
</property>
<property name="userObjectQuery">
<value>(&(objectClass=organizationalPerson)(cn={0}))</value>
</property>
<property name="groupNameAttribute">
<value>cn</value>
</property>
<property name="groupObjectQuery">
<value>(&(objectClass=group)(cn={0}))</value>
</property>
<property name="groupMemberQuery">
<value>(&(objectClass=group)(member={0}))</value>
</property>
<property name="useSSL">
<value>false</value>
</property>
<property name="bindAuthentication">
<value>simple</value>
</property>
<property name="serverCertificate">
<value/>
</property>
</realm>
</realms>
MS Active Directory
This example shows LDAP properties configured for use with MS Active Directory,
using SSL.
<value>uid=admin,ou=system</value>
</property>
<property name="scopeDepth">
<value>subtree</value>
</property>
<property name="baseDN">
<value>o=unitTest</value>
</property>
<property name="bindPassword">
<value>secret</value>
</property>
<property name="url">
<value>ldap://localhost:389</value>
</property>
<property name="usernameAttribute">
<value>uid</value>
</property>
<property name="userObjectQuery">
<value>(&(objectClass=inetOrgPerson)(uid=%u))</value>
</property>
<property name="groupNameAttribute">
<value>cn</value>
</property>
<property name="groupObjectQuery">
<value>(&(objectClass=groupOfUniqueNames)(cn=%g))</value>
</property>
<property name="groupMemberQuery">
<value>(&(objectClass=groupOfUniqueNames)(uniquemember=%u))</
value>
</property>
<property name="useSSL">
<value>false</value>
</property>
<property name="bindAuthentication">
<value>simple</value>
</property>
</realm>
</realms>
to use local authentication, follow the instructions in this section, then proceed
to Defining User and Group Permissions on page 228, to define permissions for
each user or group.
If you will be using an external authentication mechanism, see Defining User
and Group Permissions on page 228.
Local authentication changes are dynamic: when a user attempts to log in, login
values are compared to users.xml file each time an authentication request is
made. Changes to the contents of the users.xml file do not require an
Enterprise Manager restart.
generating passwords
However, you might want to configure the name or location of this username/
password file. Because you can specify the name and location of this file, several
Enterprise Managers could share the same authentication file.
» Note If you are migrating users from a previous Introscope installation, do not
change the name or location of the users.xml file until after migration
is complete.
» Note When creating an admin user, keep in mind that users and permissions
are case insensitive, meaning if a user logs in using admin or Admin; the
permissions for that user role are applied.
<users>
<user password="adb831a7fdd83dd1e2a39ce7591dff8" name="Guest"/>
<user password="" name="Admin"/>
</users>
<groups>
<group description="Administrator Group" name="Admin">
<user name="Admin"/>
</group>
</groups>
Generating passwords
The passwords stored in the users.xml file used by the local authentication
mechanism are currently stored as encrypted by default. You have the option to
generate additional passwords using the MD5 scripts. This scripts take input as
plain text and give the encrypted form. However, you can use either plain text or
encrypted passwords by adding them to users.xml.
To generate a password:
2 Copy the generated encrypted password, and paste it into the second line of the
users.xml file:
<user password="5b5ab9639b79259f54bc39515540aeaf" name="john"/>
3 You can optionally use a plain text password by inserting a plaintextPasswords
parameter with a true value into the second line of the users.xml file:
<principals xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
plainTextPasswords="false" version="0.3"
4 Save changes to users.xml file.
Domain types
There are two types of Domains in Introscope:
SuperDomain—The SuperDomain is the superset domain that contains all
user-defined domains in the system. All Agents are visible in the SuperDomain,
but may also appear in user-defined domains. The default Introscope
configuration contains only the SuperDomain. If no other domains are
configured by a user, all agents are mapped to the SuperDomain.
User-defined domain—New domains are defined in the <Introscope_Home>/
config/domains.xml file. The file provides mappings of domain names to
regular expressions.
An AgentDomain is a user-defined domain. This is configured in the
agentclusters.xml file as well as the domains.xml file. For more
information, see The AgAgentDomain on page 225.
Creating Domains
If you add, remove, or edit Domains, the changes are not recognized until the
Enterprise Manager is restarted.
Any Domain must be placed inside the root XML domain’s element.
An agent will always map to the first Domain it is assigned to. If no Domain
has been assigned, the agent will map to the SuperDomain; if a custom
Domain has been assigned, the Agent will map to the custom Domain.
If you do not alter the current SuperDomain Agent mapping (by default it is
configured to match all Agents), any newly created Domains are placed before
Domain attributes
Domain syntax
The Domain syntax is:
The AgAgentDomain
The AgAgentDomain is defined in the agentclusters.xml file:
To copy the Sample Management module into the newly created Domain:
Deleting a Domain
You might need to delete a Domain when you:
assign an Agent to a different Domain
Permissions determine what tasks the user or group can perform including
configuring monitoring logic in the Workstation, or Enterprise Manager
administration tasks.
Permissions in Introscope are defined for Domains and the Enterprise Manager.
Users and groups can be granted permissions to either or both.
Permissions rules
Permissions are “fixed” when a user or group logs in; if changes are made for that
while they are logged in, they will not be recognized until the login attempt. This
means if a permissions are changed during a session, the session will not be
terminated.
Introscope permissions are dynamic; the domains.xml and server.xml files are
checked whenever a login attempt is made. Thus, permissions changes can be
made without restarting the Enterprise Manager.
Users are given permissions on domains during log in according to the following
scheme:
All grants listed in each domain for any group to which the user belongs.
Domain permissions
If a user or group has multiple permissions, use one line for each user/
permission pair.
Permission Definition
read Users or groups can view all Agents and business logic in Domain.
This includes tasks such as:
Viewing Investigator tree (which will show Agents in the Domain
user has access to)
Viewing dashboards in the Console
Viewing metric and element data in the Investigator Preview pane,
including default Top N Filtered Views for certain Resources in the
Investigator tree
Viewing any Management Module, Agent or Element settings
Viewing Alert messages
Refreshing historical data in a historical Data Viewer, and zoom in
and out
Changing historical date range options for historical Data Viewer
Showing/Hiding metrics in a graph
Moving metrics in a Data Viewer to the back or front
Changing group and user preferences (setting a home dashboard,
displaying Management Module names with dashboard names)
Note: Users or groups with read permission will be able to see all
commands in the Workstation, but the commands they do not
have access to will be disabled.
write A user or group with write permission can do everything a those with
read permission can, but can also:
view all Agents and business logic in Domain
create and edit dashboards
edit all monitoring logic in a Domain
run_tracer Users or groups can start a Transaction Trace Session for an Agent.
Note: This permission also requires the assignment of read
permission.
historical_ag Users or groups can mount and unmount Agent(s).
ent_control
Note: This permission also requires the assignment of read
permission.
live_agent_ Users or groups can shut off reporting for Metrics, Resources, and
control Agent within Domain
Note: This permission also requires the assignment of read
permission.
full Users or groups have all possible permissions for Domain.
Here is the syntax for configuring user or group permissions for a Domain:
In the default Domain configuration the following apply. Users and permissions
are case insensitive, meaning if you login using admin or Admin; the
permissions for that user role are applied:
the user or group, “Admin” has full permission in the SuperDomain
the user or group, “Guest” has read (view only) permission in the
SuperDomain
» Note SAP user or group permissions vary slightly and are as follows:
Server Permissions
Server permissions are defined for activities relating to operation of the
Enterprise Manager.
shutting down the Enterprise Manager
Permission Definition
shutdown Users or groups can shut down the Enterprise Manager.
publish_mib Users or groups can publish SNMP collection data to a MIB.
Note: In order to have a MIB to publish, a user must create a
SNMP Collection. This task requires write access to the
Domain the SNMP Collection will be saved to.
full Users or groups have all possible server permissions.
A user or group can have multiple permissions for the Enterprise Manager. To
grant a multiple permissions, use one line for each user/permission or group/
permission pair.
In the default Server configuration, the “Admin” user or group has full
permission.
» Note For more information on Agent failover, see Configuring Agent Failover in
the Java Agent Guide or the .NET Agent Guide, as appropriate to your
environment.
This chapter describes how to configure optional behavior for the WebView
application. It includes these topics:
If you do not define a context path, access WebView with this URL:
http://servername:port
http://servername:port/contextpath/
http://servername:8080/webview/
» Note WebView runs only on z/OS 1.7 and later. To run WebView on z/OS, you
must edit the WebView startup script to use a 1.5 JVM. See Editing
runwv.sh to use a 1.5 JVM on page 242.
Software prerequisites
The software prerequisites to run Java, and hence Introscope WebView, on z/OS
are located in the Java for z/OS Program Directory GI10-0614.
UNIX System Services as specified by the OMVS parameter in the RACF profile
EXEC WVPROC
Virtual memory
If the USS/OMVS address space is not large enough, an out of memory condition
will occur when an attempt is made to run WebView. The OMVS ASSIZEMAX
(address-space-size) parameter in the RACF profile for the owner of the
Introscope WebView job or started task must be large enough to execute the
WebView. The maximum value for this parameter is 2G.
log4j.appender.console.encoding=IBM-1047
log4j.appender.console=com.wily.org.apache.log4j.ConsoleAppender
log4j.appender.logfile.encoding=IBM-1047
log4j.appender.logfile=com.wily.org.apache.log4j.RollingFileAppender
Overview
The infrastructure required to run the Introscope WebView as an MVS batch job
or started task is straightforward. The MVS utility program, BPXBATCH, enables
users to invoke UNIX System Services to run shell commands, shell scripts and
executable files in MVS batch. Specifically, WebView can be started using the
BPXBATCH utility.
On the ISPF command line, type NUM OFF and press Enter.
Set the IHOME parameter equal to the fully qualified path to the directory that
contains the runwv.sh.
The following statement is coded so that the batch job and the UNIX shell script
will end within 20 seconds:
// PARM='SH nohup &IHOME/runwv.sh &IHOME & sleep 20'
In the unlikely event that the z/OS is too busy to complete WebView initiation
within 20 seconds, WebView will not be started. If you encounter this problem,
try increasing sleep time.
2 Modify the STDERR and STDOUT file names contained in the following statements
to satisfy installation naming conventions:
//STDOUT DD PATH='/<path>/stdout',
//STDERR DD PATH='/<path>/stderr',
To run WebView as a started task, type the following command on the MVS
console or on the command line of SDSF:
/start WVPROC
You must type the member name of the PROC stored in an active PROCLIB. If you
were required to change the name of WVPROC, you must use the new name in
the /start command.
You must execute the member name of the PROC stored in an active PROCLIB. If
you were required to change the name WVPROC, you must use the new name on
the EXEC statement.
The z/OS batch job and the OMVS Shell will end shortly after WebView processes
have started. If you submitted the batch JCL from your ISPF session and your JOB
card contains NOTIFY=&SYSUID, your ISPF session will receive notification when
your batch jobs ends.
You can also determine that WebView has started from SDSF by following one of
the procedures below:
If you started WebView as a started task, on the DA screen you should see at
least two active started tasks whose owner is the owner associated with the
WebView PROC.
If you started e WebView by submitting a batch job from your TSO session,
look for two active tasks with your TSO USERID as the owner.
You may also see the job that invoked the WVPROC, in addition to the OMVS shell
script. These two entries will disappear from the list once the WebView job has
started.
The owner of your TSO session is also your TSO/E USERID. Do not mistake your
TSO/E session for one of the Introscope WebView tasks.
2 You must type the member name of the PROC stored in an active PROCLIB. If you
were required to change the name of WVPROC, you must use the new name in the
/start command.
You can also run Introscope WebView as a batch job using whatever job
scheduling package you use to manage your batch workload.
runwv.sh &
nohup ./runwv.sh &
If you run the script from a directory other than WebViewHome, identify the home
directory as shown below:
This section describes how to configure optional behavior for the Introscope
Workstation. It includes these topics:
If the login is successful (the correct information was supplied in the commands
using the correct syntax), you are logged into the Workstation and a Console
opens.
If login fails, the Workstation does not start, and an error message is logged.
To Do this
Generate Asian-language Install the Supplemental Language Support to East
reports in RTF and HTML Asian Languages in Windows. See http://
formats www.microsoft.com/globaldev/handson/user/
xpintlsupp.mspx
Generate Asian-language Download and install the Acrobat Reader Asian Font
reports in PDF formats Pack from http://www.adobe.com/products/
acrobat/acrrasianfontpack.html
System Configurations
Turning back time is something that can happen both explicitly (the operator
changes the clock time), or implicitly via automatic clock synchronizations, which
is likely to occur with large installations.
For large clock adjustments the system issues an error and exits.
For small backwards clock adjustments, a warning is issued and the harvest
cycle is stopped until the timestamp is as far along as it was previously.
The value of this threshold is set at a default of 60 seconds, but can be
configured. A negative clock adjustment of less than seconds results in a
warning and temporary harvest suspension, while anything greater results in
a system exit.
If the EM detects your system clock has been set back, which is a common
occurrence when a fast CPU clock is reset by a network time service, it will delay
the harvest cycle until the clock catches up to its previous time. This delay is
usually accompanied by a warning message. If you want to suppress warning
messages, you can set the optional
introscope.enterprisemanager.clock.skewsuppresswarn property. The
value of this property is the number of milliseconds the metric harvest will be
delayed before it is considered serious enough to be logged.
New settings are applied when the Enterprise Manager checks the property file
during a hot deploy, which occurs about once every 60 seconds.
It limits the volume of data queried on the Enterprise Manager. If it is not set, it
could cause an Enterprise Manager overload, which will cause your system to
perform slowly and could potentially cause an out of memory error. Additionally,
if not set, it may prompt the Command Line Workstation or Workstation to extract
too much data, which in turn may cause the Enterprise Manager to stop
responding.
The properties files in the following folders allow you to control the settings the
Enterprise Manager, Workstation, and WebView:
IntroscopeEnterpriseManager.properties
A variety of Enterprise Manager behaviors are controlled by properties defined in
the Enterprise Manager properties file,
IntroscopeEnterpriseManager.properties.
After configuring most Enterprise Manager properties, you must restart the
Enterprise Manager before any changes you make will take effect.
Available Processors
Available Processors
Property Description Default
Value
introscope.enterprisemanager. Use this property to set the number of processors <blank>
availableprocessors available to this EM. It should be used if there is more
than one Enterprise Manager on a host.
Alert Behaviors
Alert Behaviors
Property Description Default
Value
introscope.enterprisemanager. Name of the Investigator node under which Alert state Alerts
alertstatemetric.prefix metrics are shown.
IntroscopeEnterpriseManager.properties 255
CA Wily Introscope
Communications
Communications
Property Description Default
Value
introscope.enterprisemanager. Specifies the communication channels that the channel1
enabled.channels Enterprise Manager can use. To enable a
communication channel, add the channel type to the
comma separated list of enabled channels. To disable a
communication channel, remove it from the list.
The enabled.channels property works in conjunction
with the
introscope.enterprisemanager.port.<ChannelName>
property.
For example:
If you have two communications channels called
channel1 and channel2, you would set these properties:
introscope.enterprisemanager.enabled.channels=ch
annel1,channel2
introscope.enterprisemanager.port.channel1=500
1
introscope.enterprisemanager.port.channel2=500
2
introscope.enterprisemanager. This listener port that the Enterprise Manager uses for 5001
port.<ChannelName> encrypted communication with Workstations and
Agents.
To create a custom communication channel, add these
properties to the properties file:
introscope.enterprisemanager.port.ChannelName
introscope.enterprisemanager.serversocketfactory.Ch
annelName
where ChannelName is the name of the new channel.
To enable the custom channel, add its name to the
introscope.enterprisemanager.enabled.channels
property.
Communications
Property Description Default
Value
introscope.enterprisemanager. This property identifies the classname of the Server com.wily.isen
serversocketfactory.<ChannelN Socket Factory that the Enterprise Manager uses for gard.postoffic
ame> encrypted communication with Workstations and ehub.link.net.
Agents. DefaultServer
If you create a custom communication channel, add a SocketFactory
new property to the properties file, for instance,
introscope.enterprisemanager.serversocketfacto
ry.ChannelName
where ChannelName is the name of the new channel,
and set the property value to the fully qualified
classname of the custom Server Socket Factory that
implements the
com.wily.isengard.postofficehub.link.net.
IServerSocketFactory interface.
You must also specify the listener port for the channel,
and enable it, as described in
introscope.enterprisemanager.port.<ChannelName>
on page 256.
For example, if you have two communications channels
called channel1 and channel2 set like this:
introscope.enterprisemanager.enabled.channels
=channel1,channel2
introscope.enterprisemanager.port.channel1=
5001
introscope.enterprisemanager.port.channel2=
5002
you would set the serversocketfactory property like
this:
introscope.enterprisemanager.serversocketfact
ory.channel1=<classname>
introscope.enterprisemanager.serversocketfa
ctory.channel2=<classname>
introscope.enterprisemanager. Set this property to true to allow a communication False
serversockets.reuseaddr channel server socket to rebind to a local port that is
stuck in a FIN_WAIT or TIME_WAIT state. Once the
EM starts up again, this property should be disabled.
Do not enable this property by default, since there may
be a valid reason that the port is already in use.
IntroscopeEnterpriseManager.properties 257
CA Wily Introscope
Communications
Property Description Default
Value
introscope.enterprisemanager. Disables interactive console (whether or not the console true
disableInteractiveMode accepts input).
Note: On many UNIX platforms, nohup will not work
if the application is trying to read from standard
input. To run in nohup mode, set this property
to true, and change the lax.stdin.redirect
property in the Introscope Enterprise
Manager.lax file to <blank>. If both of these
properties are not set exactly as stated above,
it can either render the application unable to
start up in nohup, or cause maximum CPU
utilization.
introscope.enterprisemanager. The port on which the Enterprise Manager’s embedded 8081
webserver.port Web server listens.
introscope.enterprisemanager. The maximum number of listener threads in the Web 100
webserver.max.threads server—that is, the number of concurrent HTTP clients
that can be served by the Enterprise Manager’s
embedded Web server.
Note: Configure this property only if more than 80
HTTP tunneling agents are connecting to this
Enterprise Manager. In this situation, CA
recommends setting the property value to 20
more than the maximum number of connecting
HTTP tunneling agents. If you expect fewer
than 80 concurrent HTTP Agents, do not modify
this property value.
Communications
Property Description Default
Value
introscope.enterprisemanager.i Binds all Enterprise Manager communication channels, <Red
paddress including the embedded Web server, to a specific local Font>PLAC
IP address. EHOLDER
When this property is not configured, the Enterprise
Manager accepts connections on all local addresses.
Rules to consider when configuring this property:
If this property is configured to a IPv4 address, the
EM will only accept connections from agents or clients
on machines running an IPv4 compliant JVM.
If the property is configured to an IPv6 address, the
EM will only accept connections from agents or clients
on machines running an IPv6 compliant JVM.
If you do not bind the EM or WebView instance to a
specific IP address, it can accept connections from
both IPv4 and IPv6 environments.
Workstations, Agents, Browsers, and other clients
should use the DNS name, not the IP address, to
connect to the EM or WebView instance.
IPv6 support on the Agent is dependent upon IPv6
support in the environment (JVM, operating system,
hardware stack) in which the agent is running.
introscope.enterprisemanager. Specifies the channel for connecting to the WebStart channel1
workstation.connection.channel Workstation.
IntroscopeEnterpriseManager.properties 259
CA Wily Introscope
Application Heuristics
Application Heuristics
Property Description Default
Value
introscope.enterprisemanager. To improve Enterprise Manager performance, you can true
application.overview.baselines turn off heuristics by setting the property to false.
If you do this the Enterprise Manager turns off the
Enterprise Manager’s assessment of JVM, application,
and backend health. It also turns off the Baseline
Engine, which means that matrices in the Workstation
will be inactive and report no values. They will appear
gray unless the configuration is set back to true, at
which point they will be active again.
Logging
Logging properties define the level of detail in the Enterprise Manager logs and
the name and location of Enterprise Manager log files. See Log4J documentation
at http://jakarta.apache.org/log4j/docs/documentation.html for information on
advanced Log4J functions.
Logging
Property Description Default
Value
log4j.logger.Manager Controls the level of detail, and destination for log INFO,
messages. console,
Level of detail value can be: INFO or logfile
VERBOSE#com.wily.util.feedback.Log4JSever
ityLevel.
Destination value can be console or logfile. The default
setting writes log information to the console and the log
file.
Logging
Property Description Default
Value
log4j.appender.logfile.File Name and location of Enterprise Manager logfile, logs/
relative to the Introscope home directory. IntroscopeEn
terpriseMana
ger.log
log4j.appender.logfile.layout.C Allows you to customize your log files. <blank>
onversionPattern The property can be set the following values:
d{M/dd/yy hh:mm:ss a z} [%-3p] [%c] %m%n
The pattern is implemented in the log4j library and the
format is described here: http://logging.apache.org/
log4j/docs/api/org/apache/log4j/PatternLayout.html
The date/time format appears in the %d{..} and
follows a pattern described here: http://
java.sun.com/j2se/1.4.2/docs/api/java/text/
SimpleDateFormat.html
IntroscopeEnterpriseManager.properties 261
CA Wily Introscope
Introscope includes an API that enables you to extract metric and event data for
historical ranges, then use a data analysis tool such as Excel or SAS to view
Introscope data. CA recommends that you use this API record data—see Using
the JDBC API on page 123. You can also use the Command-Line Workstation
commands for extracting persisted data—see Using the Command-Line
Workstation on page 163.
IntroscopeEnterpriseManager.properties 263
CA Wily Introscope
SmartStor
The properties in this section define the directory where SmartStor data is stored,
and configure data collection and aging behavior for three tiers of storage. It also
allows you to disable SmartStor if desired.
» Note All three tiers must be defined. You cannot define more than three tiers.
SmartStor
Property Description Default
Value
introscope.enterprisemanager. Allows you to enable or disable SmartStor. While True
smartstor.enable disabling SmartStor will save disk space, it will not store
statistics and you will be prevented from monitoring
them.
Set to False to disable SmartStor.
Note: If you do not see the property in the SmartStor
section, then SmartStor is enabled. To disable
SmartStor add the following line to the
properties file:
introscope.enterprisemanager.smarts
tor.enable=false
introscope.enterprisemanager. Specifies the directory, relative to the Enterprise data
smartstor.directory Manager home directory, that SmartStor will use.
IntroscopeEnterpriseManager.properties 265
CA Wily Introscope
SmartStor
Property Description Default
Value
introscope.enterprisemanager. Specifies the directory that SmartStor will use to data/archive.
smartstor.directory.archive store archived data.
introscope.enterprisemanager. Specifies whether SmartStor data is written to a false
smartstor.dedicatedcontroller dedicated disk.
Set to true if SmartStor data is being written to a
dedicated disk.
introscope.enterprisemanager. Specifies the frequency (in seconds) of data collection 15
smartstor.tier1.frequency for the first data tier. The frequency:
must be a multiple of 15 seconds.
must not be greater than 1800 seconds (30 minutes).
must be an even multiple of the previous tier's
frequency—this multiple can be one; each tier can
have the same frequency).
introscope.enterprisemanager. Specifies the number of days after which data in first 7
smartstor.tier1.age tier ages out of SmartStor. The value cannot be zero.
introscope.enterprisemanager. Specifies the frequency (in seconds) of data collection 60
smartstor.tier2.frequency for the second data tier. The frequency:
must be a multiple of 15 seconds.
must not be greater than 1800 seconds (30 minutes).
must be an even multiple of the previous tier's
frequency—this multiple can be one; each tier can
have the same frequency).
introscope.enterprisemanager. Specifies the number of days after which data in second 23
smartstor.tier2.age tier ages out of SmartStor. The value cannot be zero.
introscope.enterprisemanager. Specifies the frequency (in seconds) of data collection 900
smartstor.tier3.frequency for the third data tier. The frequency:
must be a multiple of 15 seconds.
must not be greater than 1800 seconds (30 minutes).
must be an even multiple of the previous tier's
frequency—this multiple can be one; each tier can
have the same frequency).
introscope.enterprisemanager. Specifies the number of days after which data in third 335
smartstor.tier3.age tier ages out of SmartStor. The value cannot be zero.
IntroscopeEnterpriseManager.properties 267
CA Wily Introscope
IntroscopeEnterpriseManager.properties 269
CA Wily Introscope
SNMP Collections
SNMP Collections
Property Description Default
Value
introscope.enterprisemanager. Enables SNMP Agent (only relevant if you have installed false
snmp.enable SNMPServices.jar)
introscope.enterprisemanager. Enterprise Manager port that communicates with the 161
snmp.agent.port SNMP Agent
WebView
WebView
Property Description Default
Value
introscope.enterprisemanager. Determines whether WebView can establish a connection false
webview.disableLogin with Enterprise Manager.
introscope.enterprisemanager. Specifies password WebView users to connect to WebView
webview.password Enterprise Manager.
JavaScript Deployment
JavaScript Deployment
Property Description Default
Value
introscope.enterprisemanager.j Defines the directory, relative to the Introscope home scripts
avascript.dir directory, to check for updated JavaScript files to deploy.
introscope.enterprisemanager.j Specifies how often, in seconds, to check for updated 60
avascript.refresh JavaScript files to deploy.
Clustering Settings
For more information about Enterprise Manager clustering, see When to cluster
Enterprise Managers on page 38.
Clustering Settings
Property Description Default
Value
introscope.enterprisemanager. Setting this property to true identifies the Enterprise false
clustering.manager.enable Manager as the Manager of Managers, or MOM, in a
cluster of Enterprise Managers.
introscope.enterprisemanager. Set this property to define the threshold for the ping 10000 (in
clustering.manager.slowcollect metric for your environment. The ping metric monitors milliseconds)
orthreshold only the lower boundary of the round-trip response time
from the MOM to each Collector.
IntroscopeEnterpriseManager.properties 271
CA Wily Introscope
Clustering Settings
Property Description Default
Value
introscope.enterprisemanager. Set this property to define the threshold for which the 60 (in
clustering.manager.slowcollect MOM will automatically disconnect from the Collector if seconds)
ordisconnectthresholdseconds exceeded. This will prevent the entire cluster from
hanging, which is a side effect of when one Collector in a
cluster is greatly under performing.
If this property is set to zero or a negative value, which
is not recommended, this will not be enabled.
Note: The MOM checks collectors every 7.5 seconds, so
small changes will not affect its behavior.
introscope.enterprisemanager. Hostname or IP address of the Collector Enterprise <blank>
clustering.login.<emName>.ho Manager.
st
introscope.enterprisemanager. Value of the Collector Enterprise Manager’s <blank>
clustering.login.<emName>.po introscope.enterprisemanager.port.<ChannelName>
rt property.
introscope.enterprisemanager. Specifies the public key for encrypting the password the config/
clustering.login.<emName>. MOM uses to connect to a Collector Enterprise Manager. internal/
publickey server/
EM.public,
commented
out
introscope.enterprisemanager. Specifies the private key a Collector Enterprise Manager config/
clustering.privatekey uses to decrypt the password the MOM uses to connect internal/
to it. server/
EM.private
introscope.enterprisemanager. Set to true to identify an Enterprise Manager as a false
clustering.collector.enable Collector, for clustering. If an Enterprise Manager is
configured for both the Manager of Managers role and
the Collector role, the Enterprise Manager becomes the
Collector.
If the Enterprise Manager is designated a Collector
during installation, the installer configures this property.
If the Enterprise Manager is designated a Manager of
Managers (MOM), the installer can configure up to 5
collectors. If you want a MOM to track 6 or more
collectors, set this property manually.
You can also use this property if you configured the
Enterprise Manager standalone during installation, then
decide later it will be part of a cluster.
introscope.enterprisemanager. Optional. You can set this property if you want to give false
clustering.collector.identifier this Collector a descriptive name.
If you don’t specify an identifier, Introscope uses the
default identifier of host@port, where host is the EM's
host name, and port is the EM's connection port.
Clustering Settings
Property Description Default
Value
introscope.enterprisemanager.l Set this property to define the tolerance of the Load 20000
oadbalancing.threshold Balancer for imbalance. The number of metrics in a (metrics)
collector must differ from the weight-adjusted cluster
average (i.e. the average for all collectors) by at least
the threshold before the Load Balancer rebalances the
cluster.
Rebalancing means redistributing Agents among
collectors to equalize the weight-adjusted metric load.
For more information, see Clustering and Load Balancing
on page 40.
introscope.enterprisemanager.l Set this property to determine how often the Load 600 (10
oadbalancing.interval Balancer should rebalance in seconds. The minimum minutes)
value, is 120 seconds.
introscope.enterprisemanager. Set this optional property to control the relative load of Average
clustering.login.em1.weight the collector. value for the
All other things being equal, the weight divided by the cluster, with
total weight for the cluster is the percentage of metric the weight
load assigned to that collector. For example, if the weight being the
of a collector is 50 and the sum of the weights of all load
collectors is 250, the collector should get 20% of the balancing
cluster's metric load. weight for
this
Enterprise
Manager
collector.
IntroscopeEnterpriseManager.properties 273
CA Wily Introscope
Agent interactions
Most agent interaction properties are not included in the Enterprise Manager
properties file. To change their default values, add them to the
IntrscopeEnterpriseManager.properties file. After adding the properties to
the file, you must shutdown and restart the Enterprise Manager to enable the new
values.
Agent interactions
Property Description Default
Value
introscope.enterprisemanager. Controls whether or not the Enterprise Manager True
agentconnection.metrics.enabl generates Agent connection metrics.You can set this
e to True or False.
Note: This property is not included in the Enterprise
Manager properties file. To change the value,
add the property to the properties file and
restart the Enterprise Manager to enable the
property.
introscope.enterprisemanager. Specifies how many minutes after an agent disconnect 30
agentconnection.metrics.agent the Enterprise Manager stops generated connection (minutes)
TimeoutInMinutes metrics for the agent.
Note: This property is not included in the Enterprise
Manager properties file. To change the value,
add the property to the properties file and
restart the Enterprise Manager to enable the
property.
ntroscope.enterprisemanager.a Number of metrics the agent reports before it is shut off. 50000
gent.metrics.limit The default number of metrics is 50,000, but an
inappropriately configured agent can create thousands of
metrics in quick succession, overloading the Enterprise
Manager. You can use this property to prevent this
metric overload.
Note: This property is not included in the Enterprise
Manager properties file. To change the value,
add the property to the properties file and
restart the Enterprise Manager to enable the
property.
introscope.enterprisemanager. Number of minutes the Enterprise Manager continues to 60 (minutes)
autoUnmountDelayInMinutes track an agent after the agent is disconnected, in case
the disconnection is temporary. After this time runs out,
the Enterprise Manager releases agent tracking
resources.
Configuration directory
This property allows you to specify the location of the Enterprise Manager config
directory.
Configuration directory
Property Description Default
Value
introscope.enterprisemanager. The directory the EM will use for configuration. In The config
directory.config Windows, backslashes must be escaped (doubled). For directory in
example: C:\\Introscope\\config the original
Introscope
installation.
IntroscopeEnterpriseManager.properties 275
CA Wily Introscope
EMService.conf File
The EMService.conf file, in <Introscope_Home> contains settings used when the
Enterprise Manager is run as a Windows Service.
» Note Before configuring these properties, you must unregister the Enterprise
Manager Service. After configuring properties, re-register the Enterprise
Manager Service.
EMService.conf File
Property Description Default
Value
wrapper.java.command The Java application wrapper command. jre\\bin\\jav
a.exe
wrapper.java.mainclass The Java main class wrapper command. org.tanukisof
tware.wrapp
er.WrapperSi
mpleApp
wrapper.java.classpath.x The Java Classpath that includes the wrapper.jar. n/a
Class path elements should be added in a sequential
manner, such as follows:
wrapper.java.classpath.1=./lib/
ServiceWrapper.jar
wrapper.java.classpath.2=./launcher.jar
wrapper.java.classpath.3=
wrapper.java.library.path.1 The Java library path is the location of the Wrapper.DLL ./lib
or libwrapper.so .
wrapper.java.additional.x= Additional Java parameters that are applicable only on -Xrs
64-bit Windows.
The first additional parameter must be -Xrs. From there
you can add parameters as needed. For example:
wrapper.java.additional.1=-Xrs
wrapper.java.additional.1=-
Djava.awt.headless=false
wrapper.java.additional.2=-showversion
wrapper.java.additional.3=-
XX:+UseConcMarkSweepGC
wrapper.java.additional.4=-
XX:+UseParNewGC
wrapper.java.initmemory Wrapper’s initial memory size in megabytes. 128
wrapper.java.maxmemory Wrapper’s maximum memory size in megabytes. 512
EMService.conf File
Property Description Default
Value
wrapper.app.parameter.x Application parameters. You can add parameters as n/a
needed. For example:
wrapper.app.parameter.1=org.eclipse.core.
launcher.Main
wrapper.app.parameter.2=-consolelog
wrapper.app.parameter.3=-noExit
wrapper.app.parameter.4=-product
wrapper.app.parameter.5=com.wily.introsco
pe.em.product
wrapper.app.parameter.6=-install
wrapper.app.parameter.7=./product/
enterprisemanager
wrapper.app.parameter.8=-configuration
wrapper.app.parameter.9=./product/
enterprisemanager/configuration
wrapper.startup.timeout The number of seconds to allow between the time that 30 (seconds)
the wrapper launches the JVM process and the time that
the JVM side of the wrapper responds that the application
has started. Entering a 0 value means the system will
never time out.
wrapper.console.format The format of output for the console. PM
wrapper.console.loglevel The log level for the console output. INFO
wrapper.logfile The name and location of the log file used for wrapper ./logs/
output logging. EMService.l
og
wrapper.logfile.format The format of the output for the log file. LPTM
wrapper.logfile.loglevel The log level for log file output. INFO
wrapper.logfile.maxsize The maximum size that the log file will be allowed to 0
grow to before the log is rolled. Size is specified in bytes.
With the 0 default value disabling the log roll. You can
abbreviate with a k (kb) or m (mb) suffix. For example,
10m = 10 megabytes.
wrapper.logfile.maxfiles The maximum number of rolled log files that will be 0
allowed before old files are deleted. The default value of
0 implies no limit.
wrapper.syslog.loglevel The log level for the system and event log output. NONE
Note: Do not modify any of the following ntservice properties when an application using this
configuration file has been installed as a service. Please uninstall the service before modifying
this section. After you have made modifications, the service can then be reinstalled.
wrapper.ntservice.name Name of the service. IScopeEM
EMService.conf File
Property Description Default
Value
wrapper.ntservice.displayname Display name of the service. Introscope
Enterprise
Manager
wrapper.ntservice.description Description of the service. Introscope
Enterprise
Manager
wrapper.ntservice.dependency. Service dependencies. Add dependencies as needed n/a
x starting from 1. For example:
wrapper.ntservice.dependency.1=
wrapper.ntservice.dependency.2=
wrapper.ntservice.dependency.3=
IntroscopeWorkstation.properties
A variety of Workstation behaviors are controlled by properties defined in this file.
IntroscopeWorkstation.properties
Property Description Default
Value
log4j.logger.Workstation Controls the amount of logging detail and the output INFO,
location of the Workstation log. console
Level of detail value can be:
FATAL
WARN
INFO
VERBOSE#com.wily.util.feedback.Log4JSeverityLevel
(This value increases the level of detail logged.)
DEBUG
TRACE
Destination value can be console or logfile.
log4j.appender.logfile.File Name and location of Workstation logfile. IntroscopeW
orkstation.lo
g
IntroscopeWorkstation.properties 281
CA Wily Introscope
IntroscopeWorkstation.properties
Property Description Default
Value
Note: While this file contains the following properties, they should not be modified for normal use:
log4j.additivity.Workstation=false
log4j.appender.console=com.wily.org.apache.log4j.ConsoleAppender
log4j.appender.console.layout=com.wily.org.apache.log4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss a z} [%-
3p] [%c] %m%n
log4j.appender.logfile=com.wily.org.apache.log4j.RollingFileAppender
log4j.appender.logfile.layout=com.wily.org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d{M/dd/yy hh:mm:ss a z} [%-
3p] [%c] %m%n
log4j.appender.logfile.MaxBackupIndex=4
log4j.appender.logfile.MaxFileSize=200MB
IntroscopeWorkstation.properties
Property Description Default
Value
transport.tcp.truststore If you configure SSL this optional property specifies the <blank>
location of the truststore that contains the trusted EM
certificates. This value is either an absolute path or a
path relative to the Workstation's working directory.
If you are on Windows, backslashes must be escaped.
For example:
transport.tcp.truststore=C:\\Introscope\\c
onfig\\internal\\server\\keystore
If no truststore is specified, the Workstation trusts all
certificates.
transport.tcp.trustpassword The password for the truststore. password
transport.tcp.truststore The location of a keystore containing the workstation's ..\\Intros
certificate. Either an absolute path or a path relative to cope\\conf
the Workstation's working directory. If you are on ig\\intern
Windows, backslashes must be escaped. For example: al\\server
\\keystore
transport.tcp.keystore The property for the location of the keystore. This is internal/
needed only if the EM requires client authentication. server/
keystore
transport.tcp.keypassword The password for the keystore. password
transport.tcp.ciphersuites Set this to enable cipher suites using a comma-separated <blank>
list of cipher suites. If this property is not specified, the
default enabled cipher suites will be used.
Introscope Workstation.lax
A variety of Workstation behaviors are controlled by properties defined in this file.
Introscope Workstation.lax
Property Description Default
Value
lax.application.name Note: It is important not to edit the default name of Introscope
this executable. Workstation.
exe
Introscope Workstation.lax
Property Description Default
Value
lax.command.line.args What command line arguments will be passed to the $CMD_LINE_
main method. Can use this property to supply ARGUMENTS$
Workstation with login values, bypassing the Login
screen when starting Workstation.
lax.dir The path to the directory holding LaunchAnywhere's <blank>
native launcher.
lax.main.class The class that contains the main method for the org.eclipse.c
application. ore.launcher
.Main
lax.main.method The method in the main class that will be invoked. main
Introscope Workstation.lax
Property Description Default
Value
lax.nl.valid.vm.list A string containing one or more of [ ALL JDK JRE J1 J2 J2
JRE_J1 JDK_J1 JRE_J2 JDK_J2 MSJ ] delimited by spaces
or commas.
If the native launcher cannot find the current virtual
machine, it will search for ones defined in this list.
lax.nl.win32.microsoftvm.min.v The minimum version with which this version of 2750
ersion Microsoft's virtual machine launcher will run.
lax.root.install.dir The path to the installdir magic folder. <blank>
lax.stderr.redirect Standard Error Output. Leave blank for no output, <blank>
console to send to a console window, or any path to a file
to save to the file.
lax.stdin.redirect Standard Input. Leave blank for no input, console to read <blank>
from the console window, or any path to a file to read
from that file.
lax.stdout.redirect Standard Output. Leave blank for no output, console to <blank>
send to a console window, or any path to a file to save to
the file.
lax.user.dir This property will cause the native launcher to not alter <blank>
the platform default behavior for setting the user
directory.
To override this you may set this property to a relative
or absolute path. Relative paths are relative to the
launcher.
lax.version The version of LaunchAnywhere that created this 8.0
properties file.
IntroscopeWebView.properties
A variety of WebView behaviors are controlled by properties defined in this file.
IntroscopeWebView.properties
Property Description Default
Value
introscope.webview.jetty.config The path to a Jetty 6.0.2 XML configuration file. Either an webview-
urationFile absolute path, or a path relative to the config directory. jetty-
For advanced Jetty configuration, uncomment this config.xml
property and modify the settings in the Jetty
configuration file.
The default is webview-jetty-config.xml. This file creates
an SSL listener on port 8443 for HTTPS traffic.
If uncommented, the http listener specified by the
introscope.webview.tcp.port property is not created, but
if desired it can be configured in the Jetty configuration
file.
introscope.webview.tcp.ipaddre A WebView HTTP server setting property for binding (set to a
ss WebView to a specific local IP address. When it is not valid IP
configured, WebView will accept incoming connections address on
on all local addresses (the wildcard address). WebView
machine)
introscope.webview.tcp.port The port on which WebView listens for HTTP traffic. 8080
introscope.webview.context.pat The WebView application context path. This string will be <blank>
h appended to the fully qualified hostname and port to
form the WebView root URL.
For example, if the context path is... The WebView root
URL will be...
introscope.webview.enterprise Settings WebView uses to find the Enterprise Manager. (set to your
manager.tcp.host computer
user
identification
)
introscope.webview.enterprise Settings WebView uses to find the Enterprise Manager. 5001
manager.tcp.port
log4j.logger.WebView Amount of logging detail for the WebView log. INFO,
Level of detail value can be: INFO or console
VERBOSE#com.wily.util.feedback.Log4JSeverityLevel.
Destination value can be console or logfile.
log4j.logger.WebServer Amount of logging detail for the WebServer log. INFO,
Level of detail value can be: INFO or VERBOSE console
com.wily.util.feedback.Log4JSeverityLevel.
Destination value can be console or logfile.
IntroscopeWebView.properties
Property Description Default
Value
log4j.logger The logging property for the third-party software INFO,
WebView uses. Level of detail value can be: INFO or console
VERBOSE com.wily.util.feedback.Log4JSeverityLevel.
Destination value can be console or logfile.
IntroscopeWebView.properties 287
CA Wily Introscope
IntroscopeWebView.properties
Property Description Default
Value
Logging Configuration The following properties should not be modified for dependant
Properties normal use: on property
log4j.additivity.WebView=false
log4j.additivity.WebServer=false
log4j.additivity.com.wily=false
log4j.appender.console=com.wily.org.apache.log4j.Co
nsoleAppender
log4j.appender.console.layout=com.wily.org.apache.lo
g4j.PatternLayout
log4j.appender.console.layout.ConversionPattern=%d
{M/dd/yy hh:mm:ss a z} [%-3p] [%c] %m%n
log4j.appender.logfile=com.wily.org.apache.log4j.Rolli
ngFileAppender
log4j.appender.logfile.layout=com.wily.org.apache.log
4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%d{
M/dd/yy hh:mm:ss a z} [%-3p] [%c] %m%n
log4j.appender.logfile.MaxBackupIndex=4
log4j.appender.logfile.MaxFileSize=200MB
Note: If the value are set to true, graphs will be
antialiased (better looking). For example,
introscope.workstation.graph.antialiased=true
introscope.workstation.graph. Graphs will be antialiased—better looking—if you true
antialiased keep the default true value.
introscope.explorer.refresh.inte Frequency (in seconds) at which the Investigator tree 15
rval refreshes.
introscope.webview.context.pat The application context path for WebView. The specified /
h context path is appended to the fully qualified hostname
and port number of the WebView server, to form the
WebView root—the URL for accessing Webview. This
feature allows the user to define an application name for
WebView.
If the context path is webview, the URL to access
WebView is:
http://host:port/webview/
introscope.webview.enterprise Enterprise Manager hostname to connect to. localhost
manager.tcp.host
introscope.webview.enterprise Enterprise Manager port to connect to. 5001
manager.tcp.port
introscope.webview.svg.text.as Set to true to enable WebView to display non-Latin false
.images character sets, such as Kanji.
introscope.webview.tcp.port Port on which WebView listens for HTTP traffic 8080
IntroscopeWebView.properties
Property Description Default
Value
log4j.appender.console This property is added to the WebView properties file, to
logs/
write messages to the console.
IntroscopeW
ebView.log
log4j.appender.console.encodin This property is added to the WebView properties file, <blank>
g and set to the value “IBM-1047” to enable WebView to
write messages in EBCDIC format when running under z/
OS.
log4j.appender.logfile This property is added to the WebView properties file, to com.wily.or
append messages to the log file. g.apache.lo
g4j.RollingFi
leAppender
log4j.appender.logfile.encoding This property is added to the WebView properties file, <blank>
and set to the value “IBM-1047” to enable WebView to
write messages in EBCDIC format when running under z/
OS.
log4j.appender.logfile.File Name and location, relative to the Introscope home logs/
directory, of the WebView logfile. IntroscopeW
ebView.log.
IntroscopeWebView.properties 289
CA Wily Introscope
Introscope WebView.lax
The runtime behavior of WebView is controlled by properties defined in this file.
IntroscopeWebView.properties
Property Description Default
Value
lax.application.name LaunchAnywhere Executable Properties File - <blank>
Macrovision Corp.
lax.class.path The Java classpath necessary to run this application. lib/
WebServices
.jar:lib/
IntroscopeCli
ent.jar:lib/
Workstation.
jar:lib/
WebViewAPI.
jar:lib/
WebViewSer
ver.jar:lib/
IntroscopeSe
rvices.jar
lax.command.line.args Command line arguments to pass to the main method. $CMD_LINE_
Can use this property to supply WebView with login ARGUMENTS
values, bypassing the Login screen when starting $
WebView.
lax.dir The path to the directory where the LaunchAnywhere’s <blank>
native launcher resides.
lax.main.class The class that contains the main method for the org.eclipse.c
application. ore.launcher.
Main
lax.main.method The method in the main class that will be invoked. main
lax.nl.current.vm VM to use the next time the Workstation is started. Can Varies by
be set to any installed JDK or JRE version 1.5.0.8. operating
system
lax.nl.java.launcher.main.class The main class of LaunchAnywhere's java launcher. com.zerog.l
Note: This property should not be adjusted. ax.LAX
IntroscopeWebView.properties
Property Description Default
Value
lax.nl.java.option.additional Optional settings for JVM, such as heap size. -Xms128m -
Xmx512m -
Djava.awt.he
adless=false
-
Dsun.java2d.
noddraw=tru
e
lax.nl.message.vm.not.loaded The message displayed in a user dialog if no VM from n/a
the lax.nl.valid.vm.list can be found.
Note: This property is internal to the InstallAnywhere
launcher. Introscope has separate Java
requirements. For more information, consult the
System Requirements section of the Installation
and Upgrade Guide.
lax.nl.valid.vm.list A string containing one or more of [ ALL JDK JRE J1 J2 J2
JRE_J1 JDK_J1 JRE_J2 JDK_J2 MSJ ] delimited by spaces
or commas. If the native launcher cannot find the current
virtual machines, it will search for ones defined in this
list.
lax.nl.win32.microsoftvm.min The minimum version of Microsoft's VM this 2750
.version application will run against.
lax.root.installation.dir The path to the installdir magic folder. <blank>
IntroscopeWebView.properties
Property Description Default
Value
lax.version The version of LaunchAnywhere that created this 8.0
properties file.
lax.nl.valid.vm.list a string containing one or more of [ ALL JDK JRE J1 J2
J2 JRE_J1 JDK_J1 JRE_J2 JDK_J2 MSJ ] delimited by
spaces or commas. If the native launcher cannot find
the current virtual machine, it will search for ones in
this list
Introscope includes an API that enables you to use a data analysis tool such as
Excel or SAS to view Introscope data. Using the JDBC interface, you can extract
metric and event data for historical ranges. The data is returned in a table with
a single column containing an XML string that describes the table metadata, and
contains the table of results.
For example:
jdbc:introscope:net//Admin:@localhost:5001
trace_headers
traces
Metric queries
The basic metric query syntax is:
For example:
// match one metric_data and aggregate all values. This returns one row of
data select * from metrics where agent='.*' and metric='.*Average
Response.*' and timestamp between '01/01/01 00:00:00' and '01/01/07
00:00:00' maxmatches=1 aggregateall
The optional limit flag limits the number of rows returned by the query. If no
limit is specified, the default transaction limit defined in the server is used.
The query for trace bodies is identical, but references a different view:
select * from traces where timestamp between {starttime} and {endtime} and
query={lucene query string} [limit {rows}]
select * from traces where timestamp between '01/01/01 00:00:00' and '01/01/
07 00:00:00' and query='host:blinky' limit 100
The rows of data returned by trace queries include agent information like the
domain, host, process and agent name, and the XML representation of the
transaction trace.
Index
A manually 33
actions Agent Failover
activate with simple alerts 133 Domains and User issues with 234
activating with summary alerts 139 alerts
adding with simple alerts 132 commands 177, 180
adding with summary alerts 138 monitoring performance with 125
commands 174 notification options 140
creating actions 150 settings
default 150 SmartTrigger 140
shell command action 151 simple
SMTP email action 153 about 125
types 150 activate actions 133
workstation notification 150 adding actions 132
activate actions command 174 configuring 127
activate alerts command 177, 180 creating from elements 126
activate calculators command 182 creating from existing data 126
activate dashboards command 185 metric groupings with 127
activate management modules command 172 summary
activate report templates command 189 about 133
activate snmp collections command 193 activating actions 139
agent adding actions 138
clusters creating 135
Enterprise Manager 25 notifications 139
expressions time periods 134
with management modules 114, 116 arrowheads
mounting historical 33 adding 93
shutoff 34 Authentication
agent reporting 36 LDAP 213
all agent components 37 local 219
metric reporting 35 Auto Expand 85
resource reporting 36 Auto Scale 84
why component not reporting 37
icon appearance 38 B
status messages 38 bootstrap
unmounting disconnected 33 Management Module 270
automatically 33
Index 297
CA Wily Introscope
298 Index
Configuration and Administration Guide
Index 299
CA Wily Introscope
300 Index
Configuration and Administration Guide
creating monitoring
default link 108 configuring 112
to dashboard 106
to web page 107 M
managing Management Module
removing 110 hot deployments and virtual agents 161
Management Module Bootstrapping
I configuring settings 270
images, inserting 100 Management Module Editor
internals competing changes in shared Workstations
Enterprise Manager 30 39
Introscope Agent, commands 169 management modules
Investigator, alert state in 144 about 112
activating and deactivating 118
J agent expressions and 114, 116
JavaScript commands 171
adding a calculator 159 copying 117, 160
calculators 155 creating 113, 116
running calculators on the MOM 158 deleting 118
writing calculators 155 deploying 160
JDBC API editing 118
configuring 294 hot deploy service 161
metric queries 294 Management Module Editor
transaction trace queries 296 alert state metrics 144
JDBC, z/OS 15 creating calculators 154
JVM, configuring Enterprise Manager 20 hyperlinks in 114
notification actions 150
L shell command action 151
lax files SMTP email action 153
Introscope Enterprise Manager.lax 276 Management Module Editor elements 113
Introscope WebView.lax 290 naming 115
Introscope Workstation.lax 283 updating 160
lines Maximum Data Point Retrieval Property
adding arrowheads to 93 setting 251
drawing 93 setting Workstation property 251
list actions command 174 messages, alert notifications 140
list agents command 169 metric groupings
list alert downtime schedules command 180 adding to 123
list alerts command 177 commands 187
list calculators command 182 configuring 119
list dashboards command 185 creating 120
list management modules command 171 creating from elements 121
list metric groups command 188 creating from existing 120
list report templates command 188 customizing 123, 124
list snmp collections command 193 metric throttle
Log4J Enterprise Manager 31
Workstation settings 246 Metrics
logic Enterprise Manager
Index 301
CA Wily Introscope
302 Index
Configuration and Administration Guide
Index 303
CA Wily Introscope
Z
z/OS
base structure for Java 13
configuring as batch job 12, 16
customizing Enterprise Manager for 16
customizing UNIX shell script 17
DB2 14
Enterprise Manager
starting automatically 19
verifying 19
installation overview
Enterprise Manager 16
JDBC 15
partitioned dataset 17
PROC
customizing 17
executing 17
304 Index