Threshold Environment Variables

These environment variables are set up internally to retrieve threshold information from commands that you create. For example, the ./var/opt/pm/SMscripts/pm_mailer script sends detailed mail about the crossed threshold that uses this information. You can create your own shell script that acesses these values using the $ symbol in front of the variable, for example, $PMTHRESH_DESCRIPTION. These variables are helpful in creating your own logging script tht tracks thresholds and rearms of Performance Manager's metrics.

Environment Variable Description
PMTHRESH_DESCRIPTION Description of the expression in the database.
PMTHRESH_CURRENT_VALUE Value that has triggered threshold.
PMTHRESH_THRESHOLD_VALUE Value that had to be passed to trigger threshold.
PMTHRESH_NODE Node on which triggered threshold was detected.
PMTHRESH_USER_MESSAGE User message from Advanced Threshold Dialog box.
PMTHRESH_UPDATE_TIME The update time value from the triggered expression.
PMTHRESH_REARM_VALUE The value at which the treshold will be rearmed.
PMTHRESH_TOLERANCE_VALUE The tolerance of the triggers.
PMTHRESH_STATE Value is a string being either crossed or rearmed corresponding to the triggered event.
PMTHRESH_ INSTANCE Additional information about the triggered threshold, such as which file system or cpu crossed.
PMTHRESH_ OPERATOR Greater than or less than the threshold value.


Back to the User's Guide home page