[comment]: # ({5af1563b-1b8c35fe})
# 5 动作

[comment]: # ({/5af1563b-1b8c35fe})

[comment]: # ({4dc781a2-f8463c5f})
#### 概述

在 Configuration → Actions 里，用户可以维护和配置动作。
显示的操作是分配给所选事件源（触发器，发现，自动注册）的操作。
显示现有的动作和它们的描述。显示的操作是分配给所选事件源（触发器，发现，自动注册）的操作。
现有的动作和其细节的列表展示。

要查看分配给不同事件源的操作，请将源从下拉菜单改到 Actions 栏中的右键。

![](../../../../../assets/en/manual/web_interface/actions.png){width="600"}

显示数据:

|列|述|
|---|---|
|*Name*|动作名称。点击动作名称来打开动作。 [configuration form](/manual/config/notifications/action#configuring_an_action).|
|*Conditions*|显示动作条件。|
|*Operations*|显示动作操作。<br>从Zabbix 2.2开始,操作列表还显示通知收件人用于通知的媒介类型（电子邮件，短信，Jabber等）以及名字和姓氏（在别名之后的括号中）。|
|*Status*|显示动作状态。 - *Enabled* 或者 *Disabled*.<br>通过点击状态来修改它。<br>参见[Escalations](/manual/config/notifications/action/escalations) 获取更多细节，如在升级过程中，动作被禁用该怎么办。|

配置新的动作，点击顶部右上角的 Create action 按钮。

[comment]: # ({/4dc781a2-f8463c5f})

[comment]: # ({d94ed139-c252a236})
##### 批量编辑选项

列表下面的按键会提供一些批量编辑选项：

-   *Enable* - 改变动作的状态至 Enabled 可用
-   *Disable* - 改变动作的状态至 Disabled 不可用
-   *Delete* - 删除动作

要使用这些选项，请在各个动作之前标记复选框，然后单击所需的按钮

[comment]: # ({/d94ed139-c252a236})

[comment]: # ({bf28bfe4-e8eff32c})
##### 过滤器

因为该列表可能包含多个动作，您可能需要过滤器来找到您真正需要的。

动作列表上面的 Filter
（过滤器）连接是可用的。如果您点击它，则可以使用过滤器，您可以通过名称和状态过滤操作。

![](../../../../../assets/en/manual/web_interface/actions_filter.png){width="600"}

### 5 Actions

#### Overview

In the *Configuration → Actions* section users can configure and
maintain actions.

A listing of existing actions with their details is displayed. The
actions displayed are actions assigned to the selected event source
(triggers, discovery, auto-registration).

To view actions assigned to a different event source, change the source
from the dropdown to the right in the *Actions* bar.

For users without Super-admin rights actions are displayed according to
permission settings. That means in some cases a user without Super-admin
rights isn’t able to view the complete action list because of certain
permission restrictions. An action is displayed to the user without
Super-admin rights if the following conditions are fulfilled:

-   The user has read-write access to host groups, hosts, templates and
    triggers in action conditions
-   The user has read-write access to host groups, hosts and templates
    in action operations, recovery operations and update operations
-   The user has read access to user groups and users in action
    operations, recovery operations and update operations

![](../../../../../assets/en/manual/web_interface/actions.png){width="600"}

Displayed data:

|Column|Description|
|------|-----------|
|*Name*|Name of the action. Clicking on the action name opens the action [configuration form](/manual/config/notifications/action#configuring_an_action).|
|*Conditions*|Action conditions are displayed.|
|*[Operations](/manual/config/notifications/action/operation#configuring_an_operation)*|Action operations are displayed.<br>Since Zabbix 2.2, the operation list also displays the media type (e-mail, SMS, Jabber, etc) used for notification as well as the name and surname (in parentheses after the alias) of a notification recipient.<br>Action operation can both be a [notification](/manual/config/notifications/action/operation/message) or a [remote command](/manual/config/notifications/action/operation/remote_command) depending on the selected type of operation.|
|*Status*|Action status is displayed - *Enabled* or *Disabled*.<br>By clicking on the status you can change it.<br>See the [Escalations](/manual/config/notifications/action/escalations) section for more details as to what happens if an action is disabled during an escalation in progress.|

To configure a new action, click on the *Create action* button in the
top right-hand corner.

##### Mass editing options

Buttons below the list offer some mass-editing options:

-   *Enable* - change the action status to *Enabled*
-   *Disable* - change the action status to *Disabled*
-   *Delete* - delete the actions

To use these options, mark the checkboxes before the respective actions,
then click on the required button.

##### Filter

As the list may contain a number of actions, it may be needed to filter
out the ones you really need.

The *Filter* link is available above the list of actions. If you click
on it, a filter becomes available where you can filter actions by name
and status.

![](../../../../../assets/en/manual/web_interface/actions_filter.png){width="600"}

[comment]: # ({/bf28bfe4-e8eff32c})
