Page tree

Unsupported content

 

This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

While application discovery tests the existence and general status of a monitored object, a PATROL parameter audits its operational and performance details. Parameters are the basic unit of PATROL KM monitoring. This section reviews parameter concepts as they apply to PATROL KM development.

The PATROL parameter

The term, PATROL parameter, has a special meaning, a PATROL parameter is a procedure (command script) that periodically is executed by the PATROL Agent to obtain and process data about a particular aspect of a monitored object. Parameters can be created to audit any quantifiable attribute, aspect, or metric of an application class or computer class. Parameter data is collected, summarized, and stored on the computer running the PATROL Agent. Parameter data can be accessed by a PATROL Console or an SNMP console.

You can create parameters and assign them to one of the following:

  • Computer classes
  • Application classes

How parameters work

Parameter command scripts are read and loaded by the PATROL Agent during agent initialization. If they are part of pre-loaded PATROL KMs, parameter execution scheduling begins immediately according to each parameter's scheduling method and settings. The PATROL Agent scheduler maintains the execution schedule for the parameters in the run queue. The scheduler executes each parameter as close to its poll time as possible, while maintaining a manageable system load.

Parameter information and history is stored on the PATROL Agent. When a user "opens" a parameter to view its values, the data is fetched from the agent.

Parameter types

In the PATROL product, there are three basic parameter types - standard, collector, and consumer - and two additional variants of the standard parameter type. Parameter types differ in the way that they gather and display data.

The following table shows the characteristics of each parameter type and compares them.

Parameter types and usage 

Parameter typeDefinitionUsageSupported languageScheduled Exec.Display valuesHas alertsRecovery actionsDirect updateRuns commands
CollectorExecutes commands to gather multiple data values for consumer parameters to display.To gather data in one execution for multiple parameters to display.This simplifies PATROL KM design and improves performance.Any------
ConsumerDisplays data gathered by a collector or a standard parameter; has alerts, and runs recovery actions.

To divide collector data into specific metrics; each with its own:

  • Alarm ranges
  • Recovery actions
  • Data retention (history)
NA------
Standard parameter types
StandardExecutes commands to gather a single value that it displays; has alerts and runs recovery actions.To script data gathering commands in any available command language.Any------
Standard with consumer propertiesExecutes commands to check conditions monitored by a collector before gathering its data and displaying results for both the collector and itself.

To set up a metric that:

  • Tests conditions using collector parameter
  • Displays output and has recovery actions through the standard parameter
Any------
Standard with collector propertiesExecutes commands to gather data for both consumer parameters and for itself. Has multiple consumers with separate alerts and recovery actions.

To set up a complex metric that:

  • Tests a condition that can have multiple causes
  • Isolates each cause in a separate consumer parameter with its own alerts and recovery actions
PSL------

Parameter display styles

As summarized in the following table, the PATROL product offers six basic styles to display parameter data. 

Parameter display style summary

Display style

Description

Usage

Supported data typesDisplay output 
in PATROL console
Retain historyIndicate alertsHas recovery actionsSelf-terminating

No output (no icon)

Displays no parameter values in PATROL Console

Use to do these things:

  • To direct standard parameter output to a task output window.
  • To suppress the display of a standard
  • Parameter with collector properties
Object state-----

Boolean state

Displays a metric that has a Boolean value. 
Opening the parameter displays its change in value over time.

Use to display a metric that can only have two values, typically indicating the parameter's current state and its change over time.

Boolean-----

Gauge

Displays metric value at a point-in-time

Use to display a metric whose:

  • Current value is of primary interest
  • Variation over time does not indicate operational status or performance
Numeric-----

Easily interpreted by users

Graph

Displays metric changes over time and allows users to modify graphs with the Charting Server tool.

Numeric

Use to display a metric whose:

  • Variation over time indicates operational status or performance
  • Value must be interpreted as part of a trend
-----

Display style required for the PATROL "annotated datapoints" feature.|

Stoplight

Displays current metric alert status. Opening the parameter displays its change in value over time

Numeric

Use to display both the current metric alert status and its trend over time.

-----

Text

Displays textual output of metric

Text strings or formatted textual data

Use to display a metric that returns textual information such as:

  • Reports
  • Troubleshooting information
-----

Textual data cannot be used to trigger warnings and alarms.|

Parameter state changes

A PATROL parameter can have various states to indicate its condition. The following figure depicts the standard state model for PATROL parameters. The parameter icons are shown as they appear on the PATROL Console for Windows and UNIX. 

 Parameter state model, Windows and UNIX 


Parameter states, Windows and UNIX

State

Event or action

Appearance

Trigger

Offline

Parameter is not being monitored

Icon on grey platter (Windows)

Icon on grey platter(UNIX)

There are two possible causes:

  • PATROL Agent has not executed parameter command
  • PATROL Agent has not been able to obtain data for the parameter

Deactivated

Parameter deactivated

No icon

There are two possible causes:

  • Parameter is not set to activate in its General properties
  • User explicitly deactivates parameter through a menu choice

OK

Parameter's current value is in normal range

Icon on white platter

Parameter is operating within normal ranges as implicitly defined in its properties.

Filtered

User exclusion action

No icon

User explicitly excludes the parameter from monitoring.

Warning

Parameter 's current value is in warning range

Square yellow base (Windows)

Icon on square, non-flashing, red (UNIX)

Parameter enters warning state as defined in its properties.

Alarm

Parameter's current value is in alarm range

Square, flashing, red/yellow base (Windows)

Square, flashing, red base (UNIX)

Parameter enters alarm state as defined in its properties.

Suspended

User temporarily suspends parameter execution

Icon on white base with red "S" indicator (Windows)

Icon on white base crossed out with red (UNIX)

User suspends parameter execution.

The PATROL product implements a basic four-state paradigm - VOID, OK, WARN, ALARM. However, the PATROL product provides a settleable icon and label built-in substitution macro variable for icons that which allows you to visually simulate any number of object states. You can change object icon color, change its label, or completely change the icon's appearance to indicate the detected object state.

Parameter scheduling

Scheduling controls how frequently the parameter is executed. Because scheduling determines the amount of data a parameter produces, the end-user may need to change parameter scheduling as part of tuning the PATROL KM in his or her environment. 
The PATROL product offers two methods to schedule parameter execution:

  • Periodic scheduling starts a parameter at a specific time and reruns the parameter at intervals. Scheduling is set up through the parameter's scheduling properties. In periodic scheduling, the parameter script executes for a short time, then terminates until the next poll time.
  • Event-driven scheduling starts a parameter when specific conditions occur. Scheduling is explicitly set up by including conditional logic in the parameter's command script.

The following table describes the available parameter scheduling methods and their usage. 

 Parameter scheduling summary 

Scheduling methodParameter typesUsage/setupComments
PeriodicRegularly scheduled intervals
  • Standard
  • Collector
Use to start parameter at a specific time and rerun it at regular intervals

This is the most common type of parameter scheduling in which the parameter 
is scheduled to run at regular intervals, runs, and then terminates until the next polling time.

Event driven
  • Use to perform maintenance tasks based on detected conditions.
  • Use specific events to trigger scheduling
With OS commands
  • Standard
  • Special
For ease of development, use existing OS task scripts in parameter commands.PATROL Agent spawns a subprocess that returns parameter data.
With PSL commandsCollectorUse to build a standard parameter with collector properties.PATROL Agent executes the parameter command script without spawning a subprocess.

How parameter alarms work

For each PATROL Standard and Consumer parameter, you can use three options to set up and define the values of parameter warnings and alarms. Because the Border, Alarm1, and Alarm2 options work together to provide monitoring coverage, you can configure them in several different ways to meet your monitoring needs. Not only do warnings, alarms, and border actions provide monitoring, they also are the triggers for parameter recovery actions.

Range limits

Use the Range Limits option to delineate the entire spectrum of possible parameter values. The Range Limit that you define controls the maximum and minimum values possible for the Alarm1, Alarm2, and Border options.

Alarm1 and Alarm2

Use the Alarm1 and Alarm2 options to define the range of parameter values that trigger warnings and alarms. You can set either option as the warning range or the alarm range, but the Alarm1 range must always have lower values than the Alarm2 range. 
If you wish an alarm to occur when the parameter's value is low, set Alarm1 as the alarm range and Alarm2 as the warning range. If you wish an alarm to occur when the parameter's value is high, set up Alarm2 as the alarm range and Alarm1 as the warning range.

Border

Use the Border option to do the following:

  • Define an "out-of-range" alarm condition
  • Set up a third-level alarm or warning range

If it i s possible for a parameter to have extreme values that lie near the ends of the range limits, use the Border option to define the range of values that a parameter might have under abnormal conditions. In addition, you can also set up a recovery action associated with a warning or alarm triggered by a border condition. Alternatively, you can use the Border option to set up a third-level parameter alarm or warning range.

Avoid discontinuous range coverage

Set up alarm, warning, and border ranges so that the ranges provide complete monitoring coverage. Internal to the PATROL product, numeric values are floating point. If you set your warning range from 80 to 90 and your alarm range from 91 to 100, a value of 90.4 would evaluate to be "OK" and would trigger no alarm or warning. 
To avoid this situation, you can do one of the following:

  • Convert the internal parameter value that is evaluated to an integer by passing it though the PSL integer()
  • Set the alarm and border ranges to have a coincident end point

 Choosing an appropriate alarm setup

Use the following table to aid in choosing the appropriate parameter alarm setup.

Setting parameter alarm ranges

Action

Set Alarm1

Set Alarm2

Set Alarm3

To set a parameter to alarm when a low value occurs

ALARM

WARNING

-

To set a parameter to alarm when a high value occurs

WARNING

ALARM

-

To set a parameter to alarm twice at two separate high values

WARNING

ALARM

ALARM

To set a parameter to alarm twice at two separate low values

ALARM

ALARM

WARNING

 Choosing reasonable alarm ranges

Consider the following things when setting up parameter alarm ranges:

  • Can the parameter have values outside the defined range?
    Set up a Border range.
  • Should the parameter have more than one warning or alarm?
    Use the Border option to add a third-level alarm or warning range.

 Recovery actions

The PATROL product provides the ability to define automatic recovery actions to correct problems indicated by a parameter's alarm, warning, or border alarms or to take other appropriate actions based on the parameter's value. When a parameter changes state, one or more recovery action command scripts can be queued for execution, each according to its properties settings.

Recovery actions can be set up to execute by increasing strength of action. In addition, you can create recovery actions that determine the corrective action to take based on other parameter values or data available in the PATROL Agent namespace. Recovery actions offer a powerful management tool. 

Parameter recovery actions are executed according to the polling cycle of its parameter, with one recovery action executed per polling cycle. If a parameter has more than one recovery action defined for an alarm condition, the next recovery action executes on the next parameter execution if the parameter remains in the same alarm state. Subsequent recovery actions execute consecutively until the alarm clears or no recovery actions remain.

  • No labels