Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See Using dynamic parameters in customized metrics. The table below describes the dynamic parameters that you can set.

Table 16-4    Dynamic 4 Dynamic parameters

Dynamic

...

parameterDefinition
$METRIC_

...

NAMEName of the metric.
$METRIC_

...

SETName of the metric set.
$TECHNOLOGY_

...

NAMEName of the instance technology.
$INSTANCE_

...

NAMEName of the instance sampled by the metric.
$APPTIER_

...

NAMEName of one of the AppTiers to which the instance applies.
$APPTIERS_

...

NAMECorrelated to $ENVIRONMENT_NAME.
$ENVIRONMENT_

...

NAMEName of one of the environments to which the instance applies.
$ENVIRONMENTS_

...

NAMEName of one of the environments to which the instance applies.
$METRIC_

...

ALERTThe alert severity level of the metric that was issued when the action was activated.
$SAMPLE_

...

REASON

Reason of the sample that caused the action. The reasons can be one of the following:

...

  • Schedule. A regular sample, which is initiated according to the sampling schedule.

...

  • Resample. A sample initiated by clicking the Resample button.

...

  • Restart. A sample of pre-configured metrics after InformPoint restarts.

...

  • Resample As Startup

...

  • . A sample of pre-configured metrics after Alerts FocalPoint restarts.

...

  • Resample By Demand

...

  • . A sample due to a change in the instance’s availability (for example, if the monitored Oracle database was shutdown, the Oracle Availability metric will be resampled by demand).
$ITEMS

...

Has been deprecated (will not be used in future versions). Use $METRIC_VALUE

...

instead.
$METRIC_

...

VALUE
  • For Single value metrics:
    Value returned by the metric that was issued when the action was activated.

...

  • For list metrics:
    List of items returned by the metric sampling. The format of the returned string is as follows:
    Tab-delimited in Email and Message actions.
    Underscore-delimited in Program actions.
$METRIC_

...

TIMEThe time of the last actual sampling.
$SAMPLE_RANGE_START_

...

TIMEThe sampling period start time of the last sample.
$SAMPLE_RANGE_END_

...

TIMEThe sampling period end time of the last sample.
$METRIC_

...

PROGRESSProgress status of the metric.
$PROGRESS_UPDATING_

...

USERRole name of last user that modified the progress status of the metric.
$PROGRESS_UPDATE_

...

TIMETime of the last update of the progress status of the metric.
$THRESHOLDS

...

Warning (near critical) and Critical threshold values defined for the metric. Relevant only for a metric with sub-metrics.
$NEAR_CRITICAL_

...

THRESHOLDWarning (near critical) threshold value defined for the metric. Relevant only for a metric with no sub-metrics.
$CRITICAL_

...

THRESHOLDCritical threshold value defined for the metric. Relevant only for a metric with no sub-metrics.
$SERVER_MACHINE_

...

NAMEName of the server machine on which the instance is running.
$SAMPLING_

...

RATESampling rate of the metric.
$SAMPLING_

...

PERIODSampling period of the metric.
$MIN_

...

VALUEMinimum value that is acceptable for the metric.

 

An example for using dynamic parameters in Email or Message actions can be found in the Message text box in the Email tab (default message).

...

You can use dynamic parameters for customized metrics in the command line.  See “Using Using dynamic parameters in customized metrics” on page 188metrics.

NOTE    It is recommended to test your scripts in your environment before running them through Alerts. For UNIX scripts, verify that the script has rx security permissions.

...

Use dynamic parameters. See “Using Using dynamic parameters in customized metrics” on page 188metrics.

To test the MS-SQL stored procedure

...

Use dynamic parameters. See “Using Using dynamic parameters in customized metrics” on page 188metrics.

To test the Oracle stored procedure

...