这是原厂英文文档的翻译页面. 欢迎帮助我们 完善文档.
2022 Zabbix中国峰会
2022 Zabbix中国峰会

6 动作日志

概览

报表 → 动作日志部分,用户可以查看动作中执行的操作(通知、远程命令)的详细信息。

显示数据:

描述
时间 操作的时间戳。
动作 显示导致操作的动作名称。
类型 显示的操作类型 - 邮件命令
收件人 显示通知收件人的用户名、姓名、姓氏(括号中)和电子邮件地址。
消息 显示消息/远程命令的内容。
远程命令与目标主机之间用冒号分隔:<主机>:<命令>。如果在Zabbix服务器上执行远程命令,则信息具有如下格式:Zabbix 服务器:<命令>
状态 显示操作状态:
进行中 - 动作在进行中
对于正在进行的动作,显示剩余的重试次数 - 服务器将尝试发送通知的剩余次数。
已发送 - 通知已经发送
已执行 - 命令已经执行
未发送 - 动作尚未完成。
信息 显示关于动作执行的错误信息(如果有)。

使用过虑器

您可以使用过滤器按消息收件人缩小记录范围。为了获得更好的搜索性能,使用未解析的宏搜索数据。

过滤器位于动作日志栏下方。通过点击左侧的过滤器选项卡,可以将其打开和折叠。

时间段选择器

时间段选择器允许通过单击鼠标选择经常需要的周期。通过单击过滤器旁边的时间段选项卡,可以打开时间段选择器。

Buttons

The button at the top right corner of the page offers the following option:

Export action log records from all pages to a CSV file. If a filter is applied, only the filtered records will be exported.
In the exported CSV file the columns "Recipient" and "Message" are divided into several columns - "Recipient's Zabbix username", "Recipient's name", "Recipient's surname", "Recipient", and "Subject", "Message", "Command".

Using filter

The filter is located below the Action log bar. It can be opened and collapsed by clicking on the Filter tab at the top right corner of the page.

You may use the filter to narrow down the records by notification recipients, actions, media types, status, or by the message/remote command content (Search string). For better search performance, data is searched with macros unresolved.

Time period selector

The time period selector allows to select often required periods with one mouse click. The time period selector can be opened by clicking on the time period tab next to the filter.