Zabbix Documentation 3.4

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


Sidebar

manual:config:triggers:trigger

1 Configuring a trigger

Overview

To configure a trigger, do the following:

  • Go to: ConfigurationHosts
  • Click on Triggers in the row of the host
  • Click on Create trigger to the right (or on the trigger name to edit an existing trigger)
  • Enter parameters of the trigger in the form

Configuration

The Trigger tab contains all the essential trigger attributes.

ParameterDescription
Name Trigger name.
The name may contain the supported macros: {HOST.HOST}, {HOST.NAME}, {HOST.CONN}, {HOST.DNS}, {HOST.IP}, {ITEM.VALUE}, {ITEM.LASTVALUE} and {$MACRO}.
$1, $2…$9 macros can be used to refer to the first, second…ninth constant of the expression.
Note: $1-$9 macros will resolve correctly if referring to constants in relatively simple, straightforward expressions. For example, the name “Processor load above $1 on {HOST.NAME}” will automatically change to “Processor load above 5 on New host” if the expression is {New host:system.cpu.load[percpu,avg1].last()}>5
Severity Set the required trigger severity by clicking the buttons.
Problem expression Logical expression used to define the conditions of a problem.
OK event generation OK event generation options:
Expression - OK events are generated based on the same expression as problem events;
Recovery expression - OK events are generated if the problem expression evaluates to FALSE and the recovery expression evaluates to TRUE;
None - in this case the trigger will never return to an OK state on its own.
Supported since Zabbix 3.2.0.
Recovery expression Logical expression (optional) defining additional conditions that have to be met before the problem is resolved, after the original problem expression has already been evaluated as FALSE.
Recovery expression is useful for trigger hysteresis. It is not possible to resolve a problem by recovery expression alone if the problem expression is still TRUE.
This field is only available if 'Recovery expression' is selected for OK event generation.
Supported since Zabbix 3.2.0.
PROBLEM event generation mode Mode for generating problem events:
Single - a single event is generated when a trigger goes into the 'Problem' state for the first time;
Multiple - an event is generated upon every 'Problem' evaluation of the trigger.
OK event closes Select if OK event closes:
All problems - all problems of this trigger
All problems if tag values match - only those trigger problems with matching event tag values
Supported since Zabbix 3.2.0.
Tag for matching Enter event tag name to use for event correlation.
This field is displayed if 'All problems if tag values match' is selected for the OK event closes property and is mandatory in this case.
Supported since Zabbix 3.2.0.
Tags