2 Service actions

Overview

In this section you can view and configure service actions.

Service actions are useful if you want some operations taking place as a result of service status change (OK ⇿ PROBLEM), for example:

  • send message
  • restart webserver

Service actions are functionally similar to other action types in Zabbix (for example, trigger actions).

Configuration

To create a new service action, click on Create action.

For more details, see configuring actions.

Conditions

The following conditions can be used in service actions:

Condition typeSupported operatorsDescription
Serviceequals
does not equal
Specify a service or a service to exclude.
equals - event belongs to this service.
does not equal - event does not belong to this service.
Specifying a parent service implicitly selects all child services. To specify the parent service only, all nested services have to be additionally set with the does not equal operator.
Service namecontains
does not contain
Specify a string in the service name or a string to exclude.
contains - event is generated by a service, containing this string in the name.
does not contain - this string cannot be found in the service name.
Service tag nameequals
does not equal
contains
does not contain
Specify an event tag or an event tag to exclude. Service event tags can be defined in the service configuration section Tags.
equals - event has this tag
does not equal - event does not have this tag
contains - event has a tag containing this string
does not contain - event does not have a tag containing this string.
Service tag valueequals
does not equal
contains
does not contain
Specify an event tag and value combination or a tag and value combination to exclude. Service event tags can be defined in the service configuration section Tags.
equals - event has this tag and value
does not equal - event does not have this tag and value
contains - event has a tag and value containing these strings
does not contain - event does not have a tag and value containing these strings.