Oracle Enterprise Manager Concepts Guide

Contents Index Home Previous

APPENDIX F. Predefined Events

This appendix lists the Event Management System predefined event scripts with their parameters and return values. Events are available for database, listener, and node. The event scripts are written in the Tool Command Language (Tcl) enhanced with Oracle commands. The following topics are discussed:

Additional informational is available on managing events.

Event Categories

The database, listener, and node events are grouped into categories:

Note: Only the UpDown events are included with Oracle Enterprise Manager. Additional events are available with the optional Performance Pack. For more information on events and their parameters, see "Predefined Events" [*].

Fault Management Events

This category of events monitors for catastrophic conditions on the system, such as a database, node, or listener is down. Immediate action needs to be taken by the administrator. Examples of events available in this category include:

Most of these events do not require any threshold values because the event checks whether the service is up or down.

Warning: Do not register an UpDown event against the database or node where the repository table is stored. Note that the UpDown event is included the Oracle DB Fault predefined event set.

The communication between the agent and communication daemon can cause problems with the repository database connection. If the database or node is down, the event cannot notify the Console because the repository is not available.

Space Management Events

This category of events tracks possible space problems, such as running out of space on a disk or archive device. Examples of space management events in this category include:

To check for space management events, set a threshold on the free space left. For example, set an alert if the free space on a disk falls below a specific number of bytes.

In order to properly choose the threshold value, you need to know the characteristics of the tablespaces. For example, you would want to know whether the tablespaces contain online transaction processing (OLTP) tables or decision support tables. The former usually has a very fast growth rate, while the latter almost never grows.

Resource Management Events

This category of events tracks possible resource problems, such as exceeding datafile or lock limits. Examples of resource management events in this category include:

To check for resource management events, set a threshold on the percentage of a resource used. For example, you can set an alert if the percentage of the datafile resource used is greater than a specified value.

Performance Management Events

This category of event monitors the system for performance problems, such as excessive CPU load or library cache miss rate. Examples of events in this category include:

To check for performance management events, set a threshold on a system value. For example, you can set an alert if the library cache miss rate is greater than a specific value. The set of threshold values is system specific, depending on the hardware platform, number of users, and other factors.

Event Information

The fixit job, frequency, and parameter settings are entered in the Event Information section of the Parameters page of the Event Set Management property sheet.

Choose Fixit Job

Select an existing fixit job from the pull-down list. These are jobs that have been created with the Job system and have been designated as fixit jobs. The jobs must be submitted and running on the system that the event is set on.

For example, you may want the agent to run a job to restart a database when the database instance has shut down unexpectedly.

Select <None> to stop a fixit job from executing.

For more information on jobs, see "Job Scheduling" [*].

Frequency

Determine the frequency that you want the event to monitor the selected destinations. To set a frequency:

Parameters

The parameters for an event are displayed when the event is selected in the Selected Events list. The parameters vary according to the event selected. Some events do not have parameters.

You can accept the default values or change the values for the parameters. To enter parameter values for an event, you can either:

Event Return Values and Output

All events return values and some events produce output messages.

Return Values

The events return color values depending on the severity of the event. The colors are displayed on the event severity icon that is located:

The colors of the event severity icon are:

Note: Some events, such as UpDown, Probe, and User Blocks events, do not return a warning value because the warning threshold parameter is not used. The event has either occurred or not occurred.

Output

Some events produce output messages that are displayed in the Error Messages for Event list in the Status page of the Modify Registration property sheet. To view the output messages of an event:

Corrective Actions

When an event occurs, you need to correct the problem. In some cases, you can create a fixit job specifically for the event. These situations are noted in the documentation.

In other cases, the solution requires careful attention by a system administrator. For example, space management event conditions may require an administrator to increase space requirements and resource management conditions may require an administrator to adjust initialization parameters.

For information on how to correct event conditions, refer to the appropriate documentation.

Database Events

Database events are divided into the following categories:

Database Fault Management Events

Alert

This event signifies that the database being monitored has generated errors to the alert file since the last sample time.

Parameters: none

Output: Alert log since last sample time.

UpDown (Database)

This event checks whether the database being monitored is available.

Parameters: none

Action: The Startup Database job task can be set up as a fixit job for automatically correcting the problem. To avoid the fixit job executing when the database was brought down intentionally, turn off the fixit job option temporarily.

User Blocks

This event signifies that a database user has been blocked for more times than the value specified in the Number of occurrences parameter.

Parameters:

Output: Session Id of the user who has been blocked.

Probe

This event checks whether a new connection can be established to a database.

Parameters: none

Database Space Management Events

Archive Full

If ARCHIVE MODE is on, this event checks for free space available on the archive destination device. If the space available is less then the threshold value given in the threshold arguments, then an alert or warning is generated.

Parameters:

Output: Space available.

Dump Full

This event checks for the free space available on the USER_DUMP_DEST and BACKGROUND_DUMP_DEST destination device. If the space available is less than the threshold value given in the arguments, then an alert or warning is generated.

Parameters:

Output: Space available.

Maximum Extents

This event checks for the space utilization of the segments (table, index, cluster or rollback) specified by the Tablespace name, Segment name, and Segment type parameters. If any segment is reaching its maximum extent, then the administrator is notified. To be more specific, if the maximum extent minus the number of existing extent is less than the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Segment and tablespace names.

Chunk Small

This event checks for the largest chunk free space in the tablespace specified by the Tablespace name, Segment name, and Segment type parameters. If any table, index, cluster or rollback segments within the tablespace cannot allocate the additional number of extents specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Segment and tablespace names.

Database Resource Management Events

Datafile Limit

This event checks for the utilization of the datafile resource against the threshold values specified by the threshold arguments. If the percentage of the resource used exceeds the threshold values specified in the arguments, then a warning or alarm is generated.

Parameters:

Output: Current value and the specified limit.

Lock Limit

This event checks for the utilization of the lock resource against the threshold values specified by the threshold arguments. If the percentage of the resource used exceeds the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Current value and the specified limit.

Process Limit

This event checks for the utilization of the process resource against the threshold values specified by the threshold arguments. If the percentage of the resource used exceeds the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Current value and the specified limit.

Session Limit

This event checks for the utilization of the session resource against the threshold values specified by the threshold arguments. If the percentage of the resource used exceeds the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Current value and the specified limit.

User Limit

This event checks whether the number of users logged on is reaching the license limit. If the percentage of the resource used exceeds the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Current value and the specified limit.

Database Performance Management Events

Disk I/O

This event monitors the real time database physical I/O rate against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current rate.

Net I/O Rate

This event monitors the SQL*Net I/O rate against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current rate.

Buffer Cache

This event monitors the buffer cache hit ratio against the threshold values specified by the threshold arguments. If the number of occurrences is below the values specified, then a warning or alarm is generated.

Parameters:

Output: Current ratio.

Library Cache

This event monitors the library cache miss ratio against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current ratio.

Data Dictionary Cache

This event monitors the data dictionary cache miss ratio against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current ratio.

Response Time

This event checks for the response time of a user-provided application program. An alarm or warning will be generated if the response time (milliseconds) exceeds the threshold values specified in the arguments.

Parameters:

Output: Response time.

SysStat Table

You can monitor any system statistic available in the database with this event. An alarm or warning will be generated if the value of the selected V$SYSSTAT parameter exceeds the values specified by the threshold arguments.

Parameters:

Output: Current value.

SysStat Table2

You can monitor any system statistic available in the database with this event. The threshold values are compared to the difference between the last sample point and the current sample point of the V$SYSSTAT parameter. An alarm or warning will be generated if the calculated difference exceeds the values specified by the threshold arguments.

Parameters:

Output: Current value.

Chained Row

This event monitor whether there are chained rows are found in the segments specified by the parameters. If chained rows are found, an alert is generated.

Parameters:

Output: The names of the segments that have chained rows.

Comment: This event may take a while to run and you may want to schedule the frequency for once a day at non-business hours.

Node Events

Node events are divided into the following categories:

Note: All the Node events are supported on a Unix platform. For other platforms, see your platform-specific documentation.

Node Fault Management Events

UpDown (Node)

This event checks whether a node is available.

Parameters: none

Node Space Management Events

Disk Full

This event checks for the space used by the disk specified by the Disk name parameter. If the free space available falls below the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Disk name and space available on the disk.

Swap Full

This event checks for the space used by the swap space. If the space available falls below the threshold values specified in the threshold arguments, then a warning or alarm is generated.

Parameters:

Output: Space available.

Node Performance Management Events

CPU Load

This event checks for the real time CPU load against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current value.

CPU Utilization

This event checks for the CPU utilization against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current value.

Paging Rate

This event checks the paging rate against the threshold values specified by the threshold arguments. If the number of occurrences exceeds the values specified, then a warning or alarm is generated.

Parameters:

Output: Current rate.

Listener Events

The Listener event is in the fault management events category.

Note: Listener events are not available with this release.

Listener Fault Management Events

UpDown (Listener)

This event checks whether the listener on the node being monitored is available.

Parameters: none

Action: The Listener Startup job task can be set up as a fixit job for automatically correcting the problem. To avoid the fixit job executing when the listener was brought down intentionally, turn off the fixit job option temporarily.


Contents Index Home Previous

<Oracle Enterprise Manager Concepts GuideOracle Enterprise Manager Concepts Guide