Page History
...
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 |
---|
...
parameter | Definition |
---|---|
$METRIC_ |
...
NAME | Name of the metric. |
$METRIC_ |
...
SET | Name of the metric set. |
$TECHNOLOGY_ |
...
NAME | Name of the instance technology. |
$INSTANCE_ |
...
NAME | Name of the instance sampled by the metric. |
$APPTIER_ |
...
NAME | Name of one of the AppTiers to which the instance applies. |
$APPTIERS_ |
...
NAME | Correlated to $ENVIRONMENT_NAME. |
$ENVIRONMENT_ |
...
NAME | Name of one of the environments to which the instance applies. |
$ENVIRONMENTS_ |
...
NAME | Name of one of the environments to which the instance applies. |
$METRIC_ |
...
ALERT | The 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: |
...
|
...
|
...
|
...
|
...
|
...
|
...
|
$ITEMS |
...
Has been deprecated (will not be used in future versions). Use $METRIC_VALUE |
...
instead. |
$METRIC_ |
...
VALUE |
|
...
|
$METRIC_ |
...
TIME | The time of the last actual sampling. |
$SAMPLE_RANGE_START_ |
...
TIME | The sampling period start time of the last sample. |
$SAMPLE_RANGE_END_ |
...
TIME | The sampling period end time of the last sample. |
$METRIC_ |
...
PROGRESS | Progress status of the metric. |
$PROGRESS_UPDATING_ |
...
USER | Role name of last user that modified the progress status of the metric. |
$PROGRESS_UPDATE_ |
...
TIME | Time 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_ |
...
THRESHOLD | Warning (near critical) threshold value defined for the metric. Relevant only for a metric with no sub-metrics. |
$CRITICAL_ |
...
THRESHOLD | Critical threshold value defined for the metric. Relevant only for a metric with no sub-metrics. |
$SERVER_MACHINE_ |
...
NAME | Name of the server machine on which the instance is running. |
$SAMPLING_ |
...
RATE | Sampling rate of the metric. |
$SAMPLING_ |
...
PERIOD | Sampling period of the metric. |
$MIN_ |
...
VALUE | Minimum 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
...