Output expressions

This topic describes the Output Expressions tab in the Service Editor. This topic also describes output expression parameters.

You can use the Output Expressions tab to create special rules to determine the status of a service. The settings in this tab let you combine the status of multiple rules to get a different output status of a service tagged with the template. You can also specify an unknown status if a given service does not receive events for a specified time period.

Output expressions parameters

When you create an output expression, you specify an expression as described in Table 1. The Output Expressions tab contains a drop-down list for each of these parameters. For more information about using these fields, see Creating and editing output expressions.

Table 1. Output expression parameters
Parameter drop-down list Description
Rule The incoming status and or aggregation rules configured for the template.
Value and State Change You can select either value or LastStateChange for this parameter.

Value refers to the status of the rule: either Bad or Marginal.

LastStateChange refers to the time of the latest state change for the rule in UNIX time. This parameter is useful if you want to determine which rule first changed a service's status to bad.

Comparison operators You can select the following comparison operators:
  • =
  • >=
  • <=
  • >
  • <
Rule status You can select either Bad or Marginal rule status. You can specify good status by selecting < Marginal status.
Boolean operator You can select either AND or OR from this field.

If you never want a service status to change to Bad or Marginal, enter False in the Bad or Marginal Output Expression field.

You can use TBSM functions to parse the values in the expression. For more information about using TBSM functions, see the TBSM Customization Guide.