2022 Zabbix中国峰会
2022 Zabbix中国峰会

5 动作


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

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


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

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



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




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

5 Actions


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

Displayed data:

Column Description
Name Name of the action. Clicking on the action name opens the action configuration form.
Conditions Action conditions are displayed.
Operations Action operations are displayed.
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.
Action operation can both be a notification or a remote command depending on the selected type of operation.
Status Action status is displayed - Enabled or Disabled.
By clicking on the status you can change it.
See the 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.


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.