Working with PATROL event   classes


This section provides general information about working with PATROL event classes and using them in PATROL KMs.

Why define an event class?

Define a new event class to do one of the following things:

  • Define an event for which the PATROL standard event classes are unsuitable.
  • Use event-associated command script (Notification command) to create event-triggered recovery.
  • Use event-associated command script (Notification command) to trigger user messages.
  • Use an event-associated command script (Notification command) to log an event as a form of error report.
  • Set up event-driven processing.

Event-driven processing - unlimited control points

An important feature of PATROL event types is the ability to define a Notification command that executes immediately after the event is triggered. You can use the Notification command to set up event-driven processing, such as performing corrective or diagnostic actions. While a command script in a parameter recovery action has a single control point--the parameter's value, a command script associated with an event type can have many different control points.

Event class programming capsule

This section summarizes typical event class programming. It includes the following topics:

  • Typical Event Class Algorithms
  • Event Class Guidelines
  • Event-Related PSL Functions
  • Event-Related PATROL Built-in Variables

Typical event class algorithms

The following table lists typical event class algorithms:

Typical event class algorithms

 Event class guidelines

Consider the following guidelines in adding event classes to a PATROL KM.

General

When you define a new event class, add it to the PATROL KM event catalog.

Note

The PATROL Standard Event catalog should be reserved for event classes associated with the core PATROL product - not a specific PATROL KM.

Notification command

If you are using the Notification command to set up complex event-driven actions, carefully consider the frequency that events of the event-class may occur and the effect that the associated PSL scripts could have on PATROL Agent performance.

Event-related PSL functions

The following table lists PSL functions that are often used in working with PATROL events. For more information about PSL functions, refer to the PATROL Script Language Reference Manual

 Event-related PSL functions

 Event-related PATROL built-in variables

For event-related PATROL built-in variables that can be used in PSL scripts, see event_query PSL function.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*