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

Overview

下表包含Zabbix原生支持宏的完整列表。

要查看某个功能所支持的所有宏(例如,想要知道"map URL"功能中支持的所有宏),你可以在浏览器的搜索框中输入这个功能的名称(用快捷键CTRL+F调出搜索框),然后点击“下一个”

宏名称 支持该宏的功能 具体描述
{ACTION.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
触发动作的数字ID
{ACTION.NAME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
触发动作的名字
{ALERT.MESSAGE} → 告警脚本参数 配置“动作”时用到的“默认消息”
从3.0.0版本开始支持
{ALERT.SENDTO} → 告警脚本参数 '配置“媒体”时用到的“发送至”
从3.0.0版本开始支持
{ALERT.SUBJECT} → 告警脚本参数 配置“动作”时用到的“默认主题”
从3.0.0版本开始支持
{DATE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
日期格式为yyyy.mm.dd
{DISCOVERY.DEVICE.IPADDRESS} → 自动发现的通知和命令 被发现的设备的IP地址
永久有效,不依赖于是否添加了设备
{DISCOVERY.DEVICE.DNS} → 自动发现的通知和命令 被发现的设备的DNS名称
永久有效,不依赖于是否添加了设备
{DISCOVERY.DEVICE.STATUS} → 自动发现的通知和命令 被发现设备的状态: 可能是 UP 或者 DOWN.
{DISCOVERY.DEVICE.UPTIME} → 自动发现的通知和命令 某设备最近一次被监控到状态改变的时间。, 精确到秒
例如: 1h 29m 01s.
对于状态是DOWN的设备来说,这就是他们变成关机状态的时间长度
{DISCOVERY.RULE.NAME} → 自动发现的通知和命令 用于发现设备或服务是否在线的自动发现规则的名称
{DISCOVERY.SERVICE.NAME} → 自动发现的通知和命令 自动发现的服务的名称
例如: HTTP.
{DISCOVERY.SERVICE.PORT} → 自动发现的通知和命令 自动发现的服务的端口
例如: 80.
{DISCOVERY.SERVICE.STATUS} → 自动发现的通知和命令 自动发现的 <服务://> 状态,可能是UP 或者 DOWN | |{DISCOVERY.SERVICE.UPTIME} |→ 自动发现的通知和命令 |该服务自动发现状态最近改变的时间, 精确到秒
例如: 1h 29m 01s.
对于状态是DOWN的服务,是该服务不可用的时间| |{ESC.HISTORY} |→ 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 内部通知 |
升级history.Log 过去发送的消息。
显示之前发送过的通知,通知是基于什么升级步骤发送的,以及他们的状态 (
已发送, 进行中 or 失败).
{EVENT.ACK.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
事件确认发状态(是/否).
{EVENT.AGE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的时长, 精确到秒
在升级消息时有用
{EVENT.DATE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的日期
{EVENT.DURATION} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
事件持续时间(发生问题和恢复事件之间的时差), 精确到秒
在问题恢复信息中有用

从 5.0.0版本开始支持
{EVENT.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 触发器 URLs
→ 手动动作脚本
触发动作的事件的数字ID
{EVENT.NAME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的问题事件名称
从4.0.0版本开始支持
{EVENT.NSEVERITY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
描述事件严重性的数值 包括: 0 - 未分级, 1 - 信息, 2 - 警告, 3 - 普通, 4 - 高, 5 - 灾难.
从4.0.0版本开始支持
{EVENT.OBJECT} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
描述事件对象的数值 包括:0 - 触发器, 1 - 自动发现的主机, 2 - 自动发现的服务, 3 - 低级自动发现规则, 4 - Item, 5 - 低级自动发现规则.
从4.4.0版本开始支持
{EVENT.OPDATA} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题对应触发器的当前值
从4.4.0版本开始支持
{EVENT.RECOVERY.DATE} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
事件恢复日期
{EVENT.RECOVERY.ID} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复事件的数字ID
{EVENT.RECOVERY.NAME} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间名称
从4.4.1版本开始支持
{EVENT.RECOVERY.STATUS} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复事件的文字描述
{EVENT.RECOVERY.TAGS} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
用逗号分隔的恢复事件标签 如果没有标签的,就是一个空字符
从3.2.0版本开始支持
{EVENT.RECOVERY.TAGSJSON} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
一个包括事件标签对象的JSON数组. 如果没有标签的,就是一个空数组
从5.0.0版本开始支持
{EVENT.RECOVERY.TIME} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间的时间.
{EVENT.RECOVERY.VALUE} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间的数值
{EVENT.SEVERITY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
时间严重性等级的名称
从4.0.0版本开始支持
{EVENT.SOURCE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
事件来源的数字描述 包括:0 - 触发器, 1 - 自动发现, 2 - 自动注册, 3 - 内部.
从4.0.0版本开始支持
{EVENT.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
出发动作的事件的文字描述
{EVENT.TAGS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
一组逗号分割单时间标签. 如果没有标签的,就是一个空字符
从3.2.0版本开始支持
{EVENT.TAGSJSON} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
一个包括事件标签对象的JSON数组. 如果没有标签的,就是一个空数组
从5.0.0版本开始支持
{EVENT.TAGS.<标签名称>} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ Wehook媒介URL名称和URL
→ 手动动作脚本
用标签名称来引用的事件标签值.
如果标签名称包含非字母数字的字符(包括非英语多字节UTF字符)需用双引号括起来。标签名称中引号括起来的引号和反斜杠必须用反斜杠转义。
从4.4.2版本开始支持
{EVENT.TIME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
* 触发动作的事件时间*
{EVENT.UPDATE.ACTION} → 问题更新的通知和命令 问题更新期间执行的可读的动作名称 .
包括这些值: 已确认, 已注释, 严重级别从 (原始严重级别) 变化为 (更新严重级别)已关闭 (取决于一次更新了多少个动作).
从4.0.0版本开始支持
{EVENT.UPDATE.DATE} → 问题更新的通知和命令
→ 服务更新的通知和命令
事件更新 的日期(例如:确认,等等).
过去使用 {ACK.DATE},当前版本已弃用
{EVENT.UPDATE.HISTORY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题更新(例如:确认,等等)的日志
过去使用 {EVENT.ACK.HISTORY},当前版本已弃用
{EVENT.UPDATE.MESSAGE} → 问题更新的通知和命令 问题更新的消息。
过去使用 {ACK.MESSAGE},当前版本已弃用
{EVENT.UPDATE.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题更新状态的数值。 包括: 0 - 因为问题/恢复事件触发了Webhook, 1 - 更新操作
从4.4.0版本开始支持
{EVENT.UPDATE.TIME} → 问题更新的通知和命令
→ 服务更新的通知和命令
事件更新 (例如:确认,等等)的时间
过去使用 {ACK.TIME},当前版本已弃用
{EVENT.VALUE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的数值 (1 表示问题, 0 表示恢复)。
{FUNCTION.VALUE<1-9>} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
→ 时间名称
在发生事件的时刻,触发器表达式中,基于监控项的第N个函数的值
只包括以/host/key 开始的函数. 具体参见 宏索引
{FUNCTION.RECOVERY.VALUE<1-9>} → 问题恢复通知 和命令
→ 问题更新的通知和命令
→ 手动动作脚本
在发生事件的时刻,恢复表达式中,基于监控项的第N个函数的值
只包括以/host/key 开始的函数. 具体参见 宏索引.
{HOST.CONN} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 监控项键值参数1
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件动态URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器URL
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
依赖于主机设置的主机IP地址或DNS名称2.

在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如:{HOST.CONN<1-9>} 详见 索引宏.
{HOST.DESCRIPTION} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签
→ 手动动作脚本
主机描述.

在触发器表达式中,该宏可用配合数字索引使用,来指向第一个,第二个,第三个主机,等等。例如: {HOST.DESCRIPTION<1-9>} 详见索引宏.
{HOST.DNS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 监控项键值参数1
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件中,动态 URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器 URLs
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
主机DNS名称2.

T在触发器表达式中,该宏可用配合数字索引使用,来指向第一个,第二个,第三个主机,等等。例如:{HOST.DNS<1-9>} 详见 索引宏.
{HOST.HOST} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 监控项键值参数
→ 地图元素标签,地图URL名称和值
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件动态URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器 URLs
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
主机名称
在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如: {HOST.HOST<1-9>} 详见 索引宏.

过去使用 {HOSTNAME<1-9>},当前版本已弃用
{HOST.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 仪表盘小部件动态URL的URL字段
→ 触发器URL
标签名称和赋值
→ 手动动作脚本
主机 ID.

在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如:{HOST.ID<1-9>} 详见索引宏.
{HOST.IP} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 映射元素标签,映射URL名称和值
→ 监控项关键参数1
→ 主机接口IP/DNS
→ 触发器监控项 "允许的主机" 字段
→ 数据库监控附加字段
→ SSH和Telnet脚本
→ JMX项目终结点字段
→ Web监控4
→ 低级别自动发现过滤正则表达式
→ 动态URL仪表盘组件的URL字段
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
标签名称和值
→ 脚本类型监控项,监控项原型和发现规则参数名称和值
→ HTTP代理类型监控项,监控项原型和发现规则字段:
URL,查询字段,请求正文,报头,代理,SSL证书文件,SSL密钥文件,允许的主机。.
→ 自定义主机操作 scripts (including confirmation text)
→ 自定义事件操作 scripts (including confirmation text)
主机IP地址2.

这个宏可以和一个数字索引一起使用,例如: {HOST.IP<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{IPADDRESS<1-9>} 已弃用。
{HOST.METADATA} → 自动注册通知和命令 主机元数据。
仅适用活动代理自动注册。
{HOST.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
→ 映射元素标签,映射URL名称和值
→ 监控项关键参数
→ 主机接口IP/DNS
→ 触发器监控项 "允许的主机" 字段
→ 数据库监控附加字段
→ SSH和Telnet脚本
→ Web监控4
→ 低级别自动发现过滤正则表达式
→ 动态URL仪表盘组件的URL字段
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
标签名称和值
→ 脚本类型监控项,监控项原型和发现规则参数名称和值
→ HTTP代理类型监控项,监控项原型和发现规则字段:
URL,查询字段,请求正文,报头,代理,SSL证书文件,SSL密钥文件,允许的主机。.
→ 自定义主机操作 scripts (including confirmation text)
→ 自定义事件操作 scripts (including confirmation text)
可见的主机名。

这个宏可以和一个数字索引一起使用,例如: {HOST.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{HOST.PORT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
→ JMX项目终结点字段
标签名称和值
→ 自定义事件操作 scripts
主机(代理)端口 2.

这个宏可以和一个数字索引一起使用,例如: {HOST.PORT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{HOST.TARGET.CONN} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机IP地址或DNS名称,取决于主机设置。
从5.4.0开始支持。
{HOST.TARGET.DNS} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的DNS名称。
从5.4.0开始支持。
{HOST.TARGET.HOST} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的技术名称。
从5.4.0开始支持。
{HOST.TARGET.IP} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的IP地址。
从5.4.0开始支持。
{HOST.TARGET.NAME} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的技术名称。
从5.4.0开始支持。
{HOSTGROUP.ID} → 映射元素标签,映射URL名称和值 主机组ID。
{INVENTORY.ALIAS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的别名字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.ALIAS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.ASSET.TAG} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的资产标签字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.ASSET.TAG<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.CHASSIS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的机壳字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CHASSIS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.CONTACT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的联系字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CONTACT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.CONTACT<1-9>} 已弃用。
{INVENTORY.CONTRACT.NUMBER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的合同号码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CONTRACT.NUMBER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.DEPLOYMENT.STATUS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的部署状态字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.DEPLOYMENT.STATUS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HARDWARE} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HARDWARE<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.HARDWARE<1-9>} 已弃用。
{INVENTORY.HARDWARE.FULL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件(全细节)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HARDWARE.FULL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.NETMASK} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机子网掩码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.NETMASK<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.NETWORKS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机网络字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.NETWORKS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.ROUTER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机路由字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.ROUTER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.ARCH} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件架构字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.ARCH<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.DECOMM} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件退役日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.DECOMM<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.EXPIRY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件维修过期日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.EXPIRY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.INSTALL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件安装日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.INSTALL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.PURCHASE} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件购买日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.PURCHASE<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.INSTALLER.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的安装名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.INSTALLER.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.LOCATION} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.LOCATION<1-9>} 已弃用。
{INVENTORY.LOCATION.LAT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置纬度字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION.LAT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.LOCATION.LON} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置经度字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION.LON<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.MACADDRESS.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的Mac 地址 A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MACADDRESS.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.MACADDRESS<1-9>} 已弃用。
{INVENTORY.MACADDRESS.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的Mac 地址 B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MACADDRESS.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.MODEL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的模型字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MODEL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.NAME<1-9>} 已弃用。
{INVENTORY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的备注字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.NOTES<1-9>} 已弃用。
{INVENTORY.OOB.IP} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外 IP 地址字段。 field in host inventory.

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.IP<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OOB.NETMASK} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外子网掩码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.NETMASK<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OOB.ROUTER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外路由器字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.ROUTER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.OS<1-9>} 已弃用。
{INVENTORY.OS.FULL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统(所有细节)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS.FULL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OS.SHORT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统( 简短)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS.SHORT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.CELL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC手机字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.CELL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.EMAIL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC email字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.EMAIL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC注记字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC电话A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.PHONE.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC电话B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.PHONE.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.SCREEN} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC屏幕名称字段。。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.SCREEN<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.CELL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC手机号码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.CELL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.EMAIL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC email字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.EMAIL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC注记字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC电话A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.PHONE.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC电话B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.PHONE.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.SCREEN} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC聚合图形名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.SCREEN<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SERIALNO.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的序列号A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SERIALNO.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.SERIALNO<1-9>} 已弃用。
{INVENTORY.SERIALNO.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的序列号B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SERIALNO.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.C} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址C字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.C<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.CITY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所城市字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.CITY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.COUNTRY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所国家字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.COUNTRY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所备注字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.RACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点的机架位置字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.RACK<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SITE.STATE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点所属的省/市。

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.STATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SITE.ZIP} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点的邮编字段

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.ZIP<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.SOFTWARE<1-9>} 已弃用。
{INVENTORY.SOFTWARE.APP.A} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序A的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.A<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.B} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序B的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.B<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.C} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序C的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.C<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.D} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序D的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.D<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.E} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序E的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.E<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.FULL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件(完整细节描述)字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.FULL<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.TAG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的标签字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.TAG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.TAG<1-9>} 已弃用。
{INVENTORY.TYPE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的类型字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.TYPE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.DEVICETYPE<1-9>} 已弃用。
{INVENTORY.TYPE.FULL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中类型(完整详细信息)字段的内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.TYPE.FULL<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.A} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL A的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.A<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.B} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL B的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.B<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.C} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL C的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.C<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.VENDOR} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的供应商字段的内容

该宏可以与数字索引一起使用,例如 {INVENTORY.VENDOR<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
引发通知的触发器表达式中的第N个监控项的描述。

该宏可以与数字索引一起使用,例如 {ITEM.DESCRIPTION<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.DESCRIPTION.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
引发通知的触发器表达式中的第N个监控项的描述(带有未解析的宏)。

该宏可以与数字索引一起使用,例如 {ITEM.DESCRIPTION.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

支持的最低版本是 5.2.0.
{ITEM.ID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件
→ 手动操作脚本事件
引发通知的触发器表达式中的第 N 个监控项的序列ID。

该宏可以与数字索引一起使用,例如 {ITEM.ID<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.KEY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件
→ 手动操作脚本事件
触发器表达式中导致通知的第 N 监控项的键。

该宏可以与数字索引一起使用,例如 {ITEM.KEY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{TRIGGER.KEY} 已弃用。
{ITEM.KEY.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件, 允许的主机。6
→ 手动操作脚本事件
触发器表达式中导致通知的第N监控项的原始键(宏未展开)。4.

该宏可以与数字索引一起使用,例如 {ITEM.KEY.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LASTVALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名字,事件名字,操作数据和描述。
标签的名称和值
→ 触发器的URL地址
→ 手动操作脚本事件
触发器表达式中导致通知的第N项的最新值。
如果收集到的最新历史值超过了 最大历史显示周期,在前端就会解析为*UNKNOWN* 。 (请查看 管理→通用 菜单选项)。
请注意,从 4.0 开始,在问题名称中使用时,在查看问题事件时不会解析为最新的监控项值,而是保留问题发生时的监控项值。
它是此 last(/{HOST.HOST}/{ITEM.KEY})的别名。
从Zabbix的版本3.2.0开始,该宏支持自定义 宏的值;

该宏可以与数字索引一起使用,例如 {ITEM.LASTVALUE<1-9>} 指向触发器表达式中的第一个、第二个、第三个等监控项。 请参考宏索引
{ITEM.LOG.AGE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
监控项事件日志的持续时间,可以精确到秒。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.AGE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.DATE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
监控项事件日志的日期。时间格式类似于 yyyy:mm:dd 。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.DATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.EVENTID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中的事件ID。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.EVENTID<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.NSEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中日志的严重级别,用数字级别描述(1--7)。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.NSEVERITY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.SEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中日志的严重级别,使用文字描述。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.SEVERITY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.SOURCE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中事件的源
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.SOURCE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.TIME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
item事件日志的发生时间。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.TIME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
触发器表达式中导致通知的第N个监控项的名称。

该宏可以与数字索引一起使用,例如 {ITEM.NAME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.NAME.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
从Zabbix 6.0之后此宏已弃用。 当监控项名称中支持用户宏和位置宏时,它用于在 Zabbix 6.0 之前的版本中解析为监控项的原始名称(即没有解析宏)

该宏可以与数字索引一起使用,例如 {ITEM.NAME.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.STATE} → 基于监控项的内部通知 触发器表达式中导致通知的第 N 监控项的最新状态。 可能的值: 不支持正常.

该宏可以与数字索引一起使用,例如 {ITEM.STATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.VALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名字,事件名字,操作数据和描述。
标签的名称和值
→ 触发器的URL地址
→ 手动操作脚本事件
可被解释为如下的任意一项:
1) 如果在触发器状态更改的上下文中使用,则解释为触发器表达式中第N个监控项的历史值(事件发生时),例如在展示事件或发送通知时。
2) 如果在没有触发器状态更改的上下文的情况下使用,触发器表达式中第N个监控项的最新值。例如,在弹出选择窗口中显示触发器列表时。在本例中工作方式与 {ITEM.LASTVALUE}相同。
在第一种情况下,如果历史记录值已被删除或从未存储过,它将解释为*未知*。
在第二种情况下并且仅在前端中,如果收集的最新历史值超过最大历史显示周期时间,它将解析为*未知*. (查看 管理→通用 菜单选项).

自定义 此宏支持宏值,从 Zabbix 3.2.0 开始。

该宏可以与数字索引一起使用,例如 {ITEM.VALUE<1-9>} 指向触发器表达式中的第一个、第二个、第三个等监控项。请参考宏索引
{ITEM.VALUETYPE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
触发器表达式中导致通知的第N个监控项的值类型。 可能的值: 0 - numeric float, 1 - character, 2 - log, 3 - numeric unsigned, 4 - text。

该宏可以与数字索引一起使用,例如 {ITEM.VALUETYPE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

支持的最低版本是 5.4.0.
{LLDRULE.DESCRIPTION} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的描述。
{LLDRULE.DESCRIPTION.ORIG} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的描述(描述中带有未解析的宏)
支持的最低版本是 5.2.0.
{LLDRULE.ID} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的规则序列ID
{LLDRULE.KEY} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的键值
{LLDRULE.KEY.ORIG} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的原始密钥(未扩展的宏)。
{LLDRULE.NAME} → 基于 LLD 规则的内部通知 导致通知的低级发现规则(已解析宏)的名称。
{LLDRULE.NAME.ORIG} → 基于 LLD 规则的内部通知 导致通知的低级发现规则的原始名称(即未解析宏)。
{LLDRULE.STATE} → 基于 LLD 规则的内部通知 低级发现规则的最新状态。 可能的值: 不支持正常.
{MAP.ID} → 地图元素标签,地图URL的名称和值 网络拓扑图ID
{MAP.NAME} → 地图元素标签,地图URL的名称和值
→ Text field in map shapes
网络拓扑图名称
支持的最低版本是 3.4.0.
{PROXY.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动操作脚本事件
代理的描述。 可以被解释为如下的可能:
1) 触发器表达式中第 N 个监控项的代理(在基于触发器的通知中)。 您可以在此处使用索引 宏。
2) 代理,它执行发现(在发现通知中),在此处使用{PROXY.DESCRIPTION} ,无需索引。
3) 代理指向一个已经注册的agent (在自动注册通知中)。在此处使用{PROXY.DESCRIPTION},无需索引。

该宏可以与数字索引一起使用,例如 {PROXY.DESCRIPTION<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{PROXY.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 发现的通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 手动操作脚本事件
代理的名称. 可以被解释为如下的可能::
1)触发器表达式中第 N 个监控项的代理名称(在基于触发器的通知中)。 您可以在此处使用索引 宏。
2)代理,它执行发现(在发现通知中)。在此处使用 {PROXY.NAME},无需索引。
3) 代理指向一个已经注册的agent (在自动注册通知中)。 在此处使用{PROXY.NAME} ,无需索引。

该宏可以与数字索引一起使用,例如 {PROXY.NAME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{SERVICE.NAME} → 基于服务的通知和命令
→ 服务的通知和命令
服务名称 (已解析宏)。
{SERVICE.ROOTCAUSE} → 基于服务的通知和命令
→ 服务的通知和命令
导致服务失败的触发问题事件列表, 使用安全性主机排序。 包括以下详细信息:主机名、事件名称、严重性、持续时间、服务标签和值。
{SERVICE.TAGS} → 基于服务的通知和命令
→ 服务的通知和命令
服务事件标签的逗号分隔列表。 服务事件标签可以在服务配置选项标签中定义。如果不存在标签,则扩展为空字符串。
{SERVICE.TAGSJSON} → 基于服务的通知和命令
→ 服务的通知和命令
包含服务事件标签对象的 JSON 数组。 服务事件标签可以在服务配置选项标签中定义。 如果不存在标签,则扩展为空数组。
{SERVICE.TAGS.<tag name>} → 基于服务的通知和命令
→ 服务的通知和命令
标签名称引用的服务事件标签值。 服务事件标签可以在服务配置选项标签中定义。
包含非字母数字字符(包括非英语多字节 UTF 字符)的标签名称应该用双引号引起来。 带引号的标记名称中的引号和反斜杠必须使用反斜杠进行转义。
{TIME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于服务的通知和命令
→ 服务的通知和命令
→ 发现的通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 触发器事件名称
→ 手动操作脚本事件
现在的时间,格式为 hh:mm:ss
{TRIGGER.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器描述。
如果在通知中使用了{TRIGGER.DESCRIPTION},则触发器描述中支持的所有宏都将被扩展。
{TRIGGER.COMMENT} 已弃用。
{TRIGGER.EXPRESSION.EXPLAIN} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 手动操作脚本事件
→ 事件名称
部分评估的触发器表达式。
基于监控项的函数在事件生成时被评估并替换为结果,而所有其他函数都显示为表达式中所写的。可用于调试触发器表达式。
{TRIGGER.EXPRESSION.RECOVERY.EXPLAIN} → Problem recovery notifications and commands
→ 故障更新通知和命令
→ 手动操作脚本事件
部分评估触发恢复表达式.
基于触发器的函数在事件生成时被评估并替换为结果,而所有其他函数都显示为表达式中所写的。可用于调试触发恢复表达式。
{TRIGGER.EVENTS.ACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
地图中地图元素或在通知中生成当前事件的触发器的已确认事件数。
{TRIGGER.EVENTS.PROBLEM.ACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
所有触发器的已确认 PROBLEM 事件的数量,无论其状态。
{TRIGGER.EVENTS.PROBLEM.UNACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
所有触发器的未确认问题事件数,无论其状态。
{TRIGGER.EVENTS.UNACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
地图中地图元素或在通知中生成当前事件的触发器的未确认事件数。
{TRIGGER.HOSTGROUP.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
定义了触发器的已排序(按 SQL 查询)、以逗号分隔的主机组列表名称。
{TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} → 地图元素标签 处于PROBLEM状态的触发器已确认的PROBLEM事件数。
{TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} → 地图元素标签 处于PROBLEM状态的触发器的未确认PROBLEM事件数。
{TRIGGER.EXPRESSION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器表达式。
{TRIGGER.EXPRESSION.RECOVERY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发恢复表达式 如果事件生成OK触发器配置被用于'恢复表达'; 否者返回空的string字段。
支持的最低版本是 3.2.0.
{TRIGGER.ID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 地图元素标签,地图URL的名称和值
→ 触发器的URL地址
→ Trigger tag value
→ 手动操作脚本事件
触发此操作的触发器ID。
从Zabbix的4.4.1版本开始在触发标记值中受支持。
{TRIGGER.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的名称 (已解析宏).
请注意自4.0.0开始,{EVENT.NAME} 可用于操作以显示已解析的宏触发的事件/问题名称。
{TRIGGER.NAME.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的原始名称 (即未解析宏).
{TRIGGER.NSEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
使用数字表达的触发严重性 可能的值:
{TRIGGER.SEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器严重性名称 可以在这里定义 管理 → 通用 → 触发器展示选项.
{TRIGGER.STATE} → 基于触发器的内部通知 触发器的最新状态 可能的值: 未知正常.
{TRIGGER.STATUS} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 手动操作脚本事件
当前触发器的值 可以是 PROBLEM 或者 OK.
{STATUS} 已弃用。
{TRIGGER.TEMPLATE.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
值为已排序(按 SQL 查询)、逗号分隔的模板列表中定义了触发器,如果触发器是在主机中定义的则为 *未知*。
{TRIGGER.URL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的URL地址。
{TRIGGER.VALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器表达式
→ 手动操作脚本事件
当前触发数值: 0 - 触发器处于正常状态, 1 - 触发器处于问题状态。
{TRIGGERS.UNACK} → 地图元素标签 地图元素中已取消确认问题触发器的数量,忽略触发器状态。
如果至少有一个问题事件已取消确认,则触发器被视为已取消确认。
{TRIGGERS.PROBLEM.UNACK} → 地图元素标签 在地图标签中未确认的触发器(状态为PROBLEM)总数。
如果至少有一个问题事件已取消确认,则触发器被视为已取消确认。
{TRIGGERS.ACK} → 地图元素标签 地图元素中已确认触发器的数量, 忽略触发器状态。
如果触发器的所有问题事件都被确认,则认为触发器已被确认。
{TRIGGERS.PROBLEM.ACK} → 地图元素标签 地图元素中已确认触发器的数量。
如果触发器的所有问题事件都被确认,则认为触发器已被确认。
{USER.FULLNAME} → 故障更新通知和命令
→ 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
在事件确认和脚本操作中添加用户的姓氏、名字和完整姓名的信息。
从Zabbix的3.4.0版本开始在问题更新功能中支持此宏,从5.0.2开始在全局功能中支持。
{USER.NAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的用户的名字
支持的最低版本是 5.0.2.
{USER.SURNAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的用户的姓氏
支持的最低版本是 5.0.2.
{USER.USERNAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的完整用户名称(包括姓氏和名字)。
支持的最低版本是 5.0.2.
{USER.ALIAS}仅支持Zabbix 5.4.0以前的版本,此版本已弃用。
{$MACRO} → 参阅: User macros supported by location 用户自定义 宏。
{#MACRO} → 参阅: 低级别自动发现宏 低级别自动发现宏。

定制 宏的值, 从Zabbix的4.0.0版本开始。
{?EXPRESSION} → 触发器事件名称
→ 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签3
→ 地图分享标签3
→ 地图中的链接标签3
→ 图表名称5
表达式宏用于公式计算。通过扩展内部的所有宏并评估结果表达式来计算。
参阅 案例 在事件名称中使用表达式宏。
支持的最低版本是 5.2.0.

概述

下表包含Zabbix原生支持宏的完整列表。

要查看某个功能所支持的所有宏(例如,想要知道"map URL"功能中支持的所有宏),你可以在浏览器的搜索框中输入这个功能的名称(用快捷键CTRL+F调出搜索框),然后点击“下一个”

宏名称 支持该宏的功能 具体描述
{ACTION.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
触发动作的数字ID
{ACTION.NAME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
触发动作的名字
{ALERT.MESSAGE} → 告警脚本参数 配置“动作”时用到的“默认消息”
从3.0.0版本开始支持
{ALERT.SENDTO} → 告警脚本参数 '配置“媒体”时用到的“发送至”
从3.0.0版本开始支持
{ALERT.SUBJECT} → 告警脚本参数 配置“动作”时用到的“默认主题”
从3.0.0版本开始支持
{DATE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
日期格式为yyyy.mm.dd
{DISCOVERY.DEVICE.IPADDRESS} → 自动发现的通知和命令 被发现的设备的IP地址
永久有效,不依赖于是否添加了设备
{DISCOVERY.DEVICE.DNS} → 自动发现的通知和命令 被发现的设备的DNS名称
永久有效,不依赖于是否添加了设备
{DISCOVERY.DEVICE.STATUS} → 自动发现的通知和命令 被发现设备的状态: 可能是 UP 或者 DOWN.
{DISCOVERY.DEVICE.UPTIME} → 自动发现的通知和命令 某设备最近一次被监控到状态改变的时间。, 精确到秒
例如: 1h 29m 01s.
对于状态是DOWN的设备来说,这就是他们变成关机状态的时间长度
{DISCOVERY.RULE.NAME} → 自动发现的通知和命令 用于发现设备或服务是否在线的自动发现规则的名称
{DISCOVERY.SERVICE.NAME} → 自动发现的通知和命令 自动发现的服务的名称
例如: HTTP.
{DISCOVERY.SERVICE.PORT} → 自动发现的通知和命令 自动发现的服务的端口
例如: 80.
{DISCOVERY.SERVICE.STATUS} → 自动发现的通知和命令 自动发现的 <服务://> 状态,可能是UP 或者 DOWN | |{DISCOVERY.SERVICE.UPTIME} |→ 自动发现的通知和命令 |该服务自动发现状态最近改变的时间, 精确到秒
例如: 1h 29m 01s.
对于状态是DOWN的服务,是该服务不可用的时间| |{ESC.HISTORY} |→ 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 内部通知 |
升级history.Log 过去发送的消息。
显示之前发送过的通知,通知是基于什么升级步骤发送的,以及他们的状态 (
已发送, 进行中 or 失败).
{EVENT.ACK.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
事件确认发状态(是/否).
{EVENT.AGE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的时长, 精确到秒
在升级消息时有用
{EVENT.DATE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的日期
{EVENT.DURATION} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
事件持续时间(发生问题和恢复事件之间的时差), 精确到秒
在问题恢复信息中有用

从 5.0.0版本开始支持
{EVENT.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 触发器 URLs
→ 手动动作脚本
触发动作的事件的数字ID
{EVENT.NAME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的问题事件名称
从4.0.0版本开始支持
{EVENT.NSEVERITY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
描述事件严重性的数值 包括: 0 - 未分级, 1 - 信息, 2 - 警告, 3 - 普通, 4 - 高, 5 - 灾难.
从4.0.0版本开始支持
{EVENT.OBJECT} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
描述事件对象的数值 包括:0 - 触发器, 1 - 自动发现的主机, 2 - 自动发现的服务, 3 - 低级自动发现规则, 4 - Item, 5 - 低级自动发现规则.
从4.4.0版本开始支持
{EVENT.OPDATA} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题对应触发器的当前值
从4.4.0版本开始支持
{EVENT.RECOVERY.DATE} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
事件恢复日期
{EVENT.RECOVERY.ID} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复事件的数字ID
{EVENT.RECOVERY.NAME} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间名称
从4.4.1版本开始支持
{EVENT.RECOVERY.STATUS} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复事件的文字描述
{EVENT.RECOVERY.TAGS} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
用逗号分隔的恢复事件标签 如果没有标签的,就是一个空字符
从3.2.0版本开始支持
{EVENT.RECOVERY.TAGSJSON} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
一个包括事件标签对象的JSON数组. 如果没有标签的,就是一个空数组
从5.0.0版本开始支持
{EVENT.RECOVERY.TIME} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间的时间.
{EVENT.RECOVERY.VALUE} → 问题恢复通知 和命令
→ 问题更新的通知和命令 (如果恢复了)
→ 服务恢复通知和命令
→ 手动动作脚本 (如果恢复了)
恢复时间的数值
{EVENT.SEVERITY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
时间严重性等级的名称
从4.0.0版本开始支持
{EVENT.SOURCE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
事件来源的数字描述 包括:0 - 触发器, 1 - 自动发现, 2 - 自动注册, 3 - 内部.
从4.0.0版本开始支持
{EVENT.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
出发动作的事件的文字描述
{EVENT.TAGS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
一组逗号分割单时间标签. 如果没有标签的,就是一个空字符
从3.2.0版本开始支持
{EVENT.TAGSJSON} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 手动动作脚本
一个包括事件标签对象的JSON数组. 如果没有标签的,就是一个空数组
从5.0.0版本开始支持
{EVENT.TAGS.<标签名称>} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ Wehook媒介URL名称和URL
→ 手动动作脚本
用标签名称来引用的事件标签值.
如果标签名称包含非字母数字的字符(包括非英语多字节UTF字符)需用双引号括起来。标签名称中引号括起来的引号和反斜杠必须用反斜杠转义。
从4.4.2版本开始支持
{EVENT.TIME} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 自动发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动动作脚本
* 触发动作的事件时间*
{EVENT.UPDATE.ACTION} → 问题更新的通知和命令 问题更新期间执行的可读的动作名称 .
包括这些值: 已确认, 已注释, 严重级别从 (原始严重级别) 变化为 (更新严重级别)已关闭 (取决于一次更新了多少个动作).
从4.0.0版本开始支持
{EVENT.UPDATE.DATE} → 问题更新的通知和命令
→ 服务更新的通知和命令
事件更新 的日期(例如:确认,等等).
过去使用 {ACK.DATE},当前版本已弃用
{EVENT.UPDATE.HISTORY} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题更新(例如:确认,等等)的日志
过去使用 {EVENT.ACK.HISTORY},当前版本已弃用
{EVENT.UPDATE.MESSAGE} → 问题更新的通知和命令 问题更新的消息。
过去使用 {ACK.MESSAGE},当前版本已弃用
{EVENT.UPDATE.STATUS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
问题更新状态的数值。 包括: 0 - 因为问题/恢复事件触发了Webhook, 1 - 更新操作
从4.4.0版本开始支持
{EVENT.UPDATE.TIME} → 问题更新的通知和命令
→ 服务更新的通知和命令
事件更新 (例如:确认,等等)的时间
过去使用 {ACK.TIME},当前版本已弃用
{EVENT.VALUE} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 基于服务的通知和命令
→ 服务更新的通知和命令
→ 服务恢复通知和命令
→ 内部通知
→ 手动动作脚本
触发动作的事件的数值 (1 表示问题, 0 表示恢复)。
{FUNCTION.VALUE<1-9>} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 手动动作脚本
→ 时间名称
在发生事件的时刻,触发器表达式中,基于监控项的第N个函数的值
只包括以/host/key 开始的函数. 具体参见 宏索引
{FUNCTION.RECOVERY.VALUE<1-9>} → 问题恢复通知 和命令
→ 问题更新的通知和命令
→ 手动动作脚本
在发生事件的时刻,恢复表达式中,基于监控项的第N个函数的值
只包括以/host/key 开始的函数. 具体参见 宏索引.
{HOST.CONN} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 监控项键值参数1
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件动态URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器URL
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
依赖于主机设置的主机IP地址或DNS名称2.

在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如:{HOST.CONN<1-9>} 详见 索引宏.
{HOST.DESCRIPTION} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签
→ 手动动作脚本
主机描述.

在触发器表达式中,该宏可用配合数字索引使用,来指向第一个,第二个,第三个主机,等等。例如: {HOST.DESCRIPTION<1-9>} 详见索引宏.
{HOST.DNS} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 监控项键值参数1
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件中,动态 URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器 URLs
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
主机DNS名称2.

T在触发器表达式中,该宏可用配合数字索引使用,来指向第一个,第二个,第三个主机,等等。例如:{HOST.DNS<1-9>} 详见 索引宏.
{HOST.HOST} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 监控项键值参数
→ 地图元素标签,地图URL名称和值
→ 主机界面IP/DNS
→ Trapper 监控项 "主机范围" 字段
→ 数据库监控附加参数
→ SSH和Telnet脚本
→ JMX监控项端点字段
→ Web监控4
→ 低级自动发现规则过滤正则表达式
→ 仪表盘小部件动态URL的URL字段
→ 触发器名称, 时间名称, 当前操作数据和描述
→ 触发器 URLs
标签名称和赋值
→ 脚本类型监控项,监控项原型和自动发现规则参数名称和赋值
→ HTTP agent类型监控项,监控项原型和自动发现规则字段:
URL, 查询字段, 请求体, 请求头, 代理, SSL证书文件, SSL key文件, 主机白名单.
→ 手动主机动作 脚本 (包括确认文本)
→ 手动动作脚本 (包括确认文本)
主机名称
在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如: {HOST.HOST<1-9>} 详见 索引宏.

过去使用 {HOSTNAME<1-9>},当前版本已弃用
{HOST.ID} → 基于触发器的通知和命令
→ 问题更新的通知和命令
→ 内部通知
→ 地图元素标签,地图URL名称和值
→ 仪表盘小部件动态URL的URL字段
→ 触发器URL
标签名称和赋值
→ 手动动作脚本
主机 ID.

在触发器表达式中,可以用数字索引,来指向第一个,第二个,第三个主机,等等。例如:{HOST.ID<1-9>} 详见索引宏.
{HOST.IP} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 映射元素标签,映射URL名称和值
→ 监控项关键参数1
→ 主机接口IP/DNS
→ 触发器监控项 "允许的主机" 字段
→ 数据库监控附加字段
→ SSH和Telnet脚本
→ JMX项目终结点字段
→ Web监控4
→ 低级别自动发现过滤正则表达式
→ 动态URL仪表盘组件的URL字段
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
标签名称和值
→ 脚本类型监控项,监控项原型和发现规则参数名称和值
→ HTTP代理类型监控项,监控项原型和发现规则字段:
URL,查询字段,请求正文,报头,代理,SSL证书文件,SSL密钥文件,允许的主机。.
→ 自定义主机操作 scripts (including confirmation text)
→ 自定义事件操作 scripts (including confirmation text)
主机IP地址2.

这个宏可以和一个数字索引一起使用,例如: {HOST.IP<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{IPADDRESS<1-9>} 已弃用。
{HOST.METADATA} → 自动注册通知和命令 主机元数据。
仅适用活动代理自动注册。
{HOST.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
→ 映射元素标签,映射URL名称和值
→ 监控项关键参数
→ 主机接口IP/DNS
→ 触发器监控项 "允许的主机" 字段
→ 数据库监控附加字段
→ SSH和Telnet脚本
→ Web监控4
→ 低级别自动发现过滤正则表达式
→ 动态URL仪表盘组件的URL字段
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
标签名称和值
→ 脚本类型监控项,监控项原型和发现规则参数名称和值
→ HTTP代理类型监控项,监控项原型和发现规则字段:
URL,查询字段,请求正文,报头,代理,SSL证书文件,SSL密钥文件,允许的主机。.
→ 自定义主机操作 scripts (including confirmation text)
→ 自定义事件操作 scripts (including confirmation text)
可见的主机名。

这个宏可以和一个数字索引一起使用,例如: {HOST.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{HOST.PORT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 触发器名称,事件名称,操作型数据和描述
→ 触发器URL
→ JMX项目终结点字段
标签名称和值
→ 自定义事件操作 scripts
主机(代理)端口 2.

这个宏可以和一个数字索引一起使用,例如: {HOST.PORT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{HOST.TARGET.CONN} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机IP地址或DNS名称,取决于主机设置。
从5.4.0开始支持。
{HOST.TARGET.DNS} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的DNS名称。
从5.4.0开始支持。
{HOST.TARGET.HOST} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的技术名称。
从5.4.0开始支持。
{HOST.TARGET.IP} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的IP地址。
从5.4.0开始支持。
{HOST.TARGET.NAME} → 基于触发器的命令
→ 问题更新命令
→ 发现命令
→ 自动注册命令
目标主机的技术名称。
从5.4.0开始支持。
{HOSTGROUP.ID} → 映射元素标签,映射URL名称和值 主机组ID。
{INVENTORY.ALIAS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的别名字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.ALIAS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.ASSET.TAG} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的资产标签字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.ASSET.TAG<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.CHASSIS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的机壳字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CHASSIS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.CONTACT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的联系字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CONTACT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.CONTACT<1-9>} 已弃用。
{INVENTORY.CONTRACT.NUMBER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的合同号码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.CONTRACT.NUMBER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.DEPLOYMENT.STATUS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的部署状态字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.DEPLOYMENT.STATUS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HARDWARE} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HARDWARE<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.HARDWARE<1-9>} 已弃用。
{INVENTORY.HARDWARE.FULL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件(全细节)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HARDWARE.FULL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.NETMASK} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机子网掩码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.NETMASK<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.NETWORKS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机网络字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.NETWORKS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HOST.ROUTER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主机路由字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HOST.ROUTER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.ARCH} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件架构字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.ARCH<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.DECOMM} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件退役日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.DECOMM<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.EXPIRY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件维修过期日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.EXPIRY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.INSTALL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件安装日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.INSTALL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.HW.DATE.PURCHASE} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的硬件购买日期字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.HW.DATE.PURCHASE<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.INSTALLER.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的安装名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.INSTALLER.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.LOCATION} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.LOCATION<1-9>} 已弃用。
{INVENTORY.LOCATION.LAT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置纬度字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION.LAT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.LOCATION.LON} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的位置经度字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.LOCATION.LON<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.MACADDRESS.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的Mac 地址 A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MACADDRESS.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.MACADDRESS<1-9>} 已弃用。
{INVENTORY.MACADDRESS.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的Mac 地址 B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MACADDRESS.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.MODEL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的模型字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.MODEL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.NAME<1-9>} 已弃用。
{INVENTORY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的备注字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.NOTES<1-9>} 已弃用。
{INVENTORY.OOB.IP} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外 IP 地址字段。 field in host inventory.

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.IP<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OOB.NETMASK} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外子网掩码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.NETMASK<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OOB.ROUTER} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的带外路由器字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OOB.ROUTER<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OS} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.OS<1-9>} 已弃用。
{INVENTORY.OS.FULL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统(所有细节)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS.FULL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.OS.SHORT} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的操作系统( 简短)字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.OS.SHORT<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.CELL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC手机字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.CELL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.EMAIL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC email字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.EMAIL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC注记字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC电话A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.PHONE.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC电话B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.PHONE.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.PRIMARY.SCREEN} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的主要的POC屏幕名称字段。。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.PRIMARY.SCREEN<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.CELL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC手机号码字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.CELL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.EMAIL} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC email字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.EMAIL<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.NAME} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.NAME<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC注记字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC电话A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.PHONE.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC电话B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.PHONE.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.POC.SECONDARY.SCREEN} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的第二个POC聚合图形名称字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.POC.SECONDARY.SCREEN<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SERIALNO.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的序列号A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SERIALNO.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.

{PROFILE.SERIALNO<1-9>} 已弃用。
{INVENTORY.SERIALNO.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的序列号B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SERIALNO.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.A} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址A字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.A<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.B} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址B字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.B<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.ADDRESS.C} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所地址C字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.ADDRESS.C<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.CITY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所城市字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.CITY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.COUNTRY} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所国家字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.COUNTRY<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.NOTES} → 基于触发器的通知和命令
→ 问题更新通知和命令
→ 内部通知
标签名称和值
→ 映射元素标签,映射URL名称和值
→ 自定义事件操作 scripts
主机资产记录中的场所备注字段。

这个宏可以和一个数字索引一起使用,例如: {INVENTORY.SITE.NOTES<1-9>} 指向触发器表达式中的第1个、第2个、第3个等主机。参阅 indexed macros.
{INVENTORY.SITE.RACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点的机架位置字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.RACK<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SITE.STATE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点所属的省/市。

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.STATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SITE.ZIP} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中站点的邮编字段

该宏可以与数字索引一起使用,例如 {INVENTORY.SITE.ZIP<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.SOFTWARE<1-9>} 已弃用。
{INVENTORY.SOFTWARE.APP.A} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序A的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.A<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.B} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序B的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.B<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.C} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序C的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.C<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.D} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序D的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.D<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.APP.E} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件应用程序E的字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.APP.E<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.SOFTWARE.FULL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的软件(完整细节描述)字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.SOFTWARE.FULL<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.TAG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的标签字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.TAG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.TAG<1-9>} 已弃用。
{INVENTORY.TYPE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的类型字段。

该宏可以与数字索引一起使用,例如 {INVENTORY.TYPE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{PROFILE.DEVICETYPE<1-9>} 已弃用。
{INVENTORY.TYPE.FULL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中类型(完整详细信息)字段的内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.TYPE.FULL<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.A} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL A的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.A<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.B} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL B的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.B<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.URL.C} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中URL C的字段内容。

该宏可以与数字索引一起使用,例如 {INVENTORY.URL.C<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{INVENTORY.VENDOR} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
标签的名称和值
→ 地图元素标签,地图URL的名称和值
→ 手动操作脚本事件
主机清单中的供应商字段的内容

该宏可以与数字索引一起使用,例如 {INVENTORY.VENDOR<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
引发通知的触发器表达式中的第N个监控项的描述。

该宏可以与数字索引一起使用,例如 {ITEM.DESCRIPTION<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.DESCRIPTION.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
引发通知的触发器表达式中的第N个监控项的描述(带有未解析的宏)。

该宏可以与数字索引一起使用,例如 {ITEM.DESCRIPTION.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

支持的最低版本是 5.2.0.
{ITEM.ID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件
→ 手动操作脚本事件
引发通知的触发器表达式中的第 N 个监控项的序列ID。

该宏可以与数字索引一起使用,例如 {ITEM.ID<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.KEY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件
→ 手动操作脚本事件
触发器表达式中导致通知的第 N 监控项的键。

该宏可以与数字索引一起使用,例如 {ITEM.KEY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

{TRIGGER.KEY} 已弃用。
{ITEM.KEY.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 脚本类型item、item原型和发现规则参数的名称和值6
→ HTTP agent 类型监控项、监控项原型和发现规则字段:
URL,查询字段,请求正文,headers,代理proxy,SSL 证书文件,SSL密钥文件, 允许的主机。6
→ 手动操作脚本事件
触发器表达式中导致通知的第N监控项的原始键(宏未展开)。4.

该宏可以与数字索引一起使用,例如 {ITEM.KEY.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LASTVALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名字,事件名字,操作数据和描述。
标签的名称和值
→ 触发器的URL地址
→ 手动操作脚本事件
触发器表达式中导致通知的第N项的最新值。
如果收集到的最新历史值超过了 最大历史显示周期,在前端就会解析为*UNKNOWN* 。 (请查看 管理→通用 菜单选项)。
请注意,从 4.0 开始,在问题名称中使用时,在查看问题事件时不会解析为最新的监控项值,而是保留问题发生时的监控项值。
它是此 last(/{HOST.HOST}/{ITEM.KEY})的别名。
从Zabbix的版本3.2.0开始,该宏支持自定义 宏的值;

该宏可以与数字索引一起使用,例如 {ITEM.LASTVALUE<1-9>} 指向触发器表达式中的第一个、第二个、第三个等监控项。 请参考宏索引
{ITEM.LOG.AGE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
监控项事件日志的持续时间,可以精确到秒。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.AGE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.DATE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
监控项事件日志的日期。时间格式类似于 yyyy:mm:dd 。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.DATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.EVENTID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中的事件ID。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.EVENTID<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.NSEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中日志的严重级别,用数字级别描述(1--7)。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.NSEVERITY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.SEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中日志的严重级别,使用文字描述。
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.SEVERITY<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.SOURCE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
事件日志中事件的源
仅适用于windows事件日志监控。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.SOURCE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.LOG.TIME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名称、操作数据和描述
→ 触发器的URL地址
→ 事件的tags和值
→ 手动操作脚本事件
item事件日志的发生时间。

该宏可以与数字索引一起使用,例如 {ITEM.LOG.TIME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
触发器表达式中导致通知的第N个监控项的名称。

该宏可以与数字索引一起使用,例如 {ITEM.NAME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.NAME.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
从Zabbix 6.0之后此宏已弃用。 当监控项名称中支持用户宏和位置宏时,它用于在 Zabbix 6.0 之前的版本中解析为监控项的原始名称(即没有解析宏)

该宏可以与数字索引一起使用,例如 {ITEM.NAME.ORIG<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.STATE} → 基于监控项的内部通知 触发器表达式中导致通知的第 N 监控项的最新状态。 可能的值: 不支持正常.

该宏可以与数字索引一起使用,例如 {ITEM.STATE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{ITEM.VALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器名字,事件名字,操作数据和描述。
标签的名称和值
→ 触发器的URL地址
→ 手动操作脚本事件
可被解释为如下的任意一项:
1) 如果在触发器状态更改的上下文中使用,则解释为触发器表达式中第N个监控项的历史值(事件发生时),例如在展示事件或发送通知时。
2) 如果在没有触发器状态更改的上下文的情况下使用,触发器表达式中第N个监控项的最新值。例如,在弹出选择窗口中显示触发器列表时。在本例中工作方式与 {ITEM.LASTVALUE}相同。
在第一种情况下,如果历史记录值已被删除或从未存储过,它将解释为*未知*。
在第二种情况下并且仅在前端中,如果收集的最新历史值超过最大历史显示周期时间,它将解析为*未知*. (查看 管理→通用 菜单选项).

自定义 此宏支持宏值,从 Zabbix 3.2.0 开始。

该宏可以与数字索引一起使用,例如 {ITEM.VALUE<1-9>} 指向触发器表达式中的第一个、第二个、第三个等监控项。请参考宏索引
{ITEM.VALUETYPE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 内部通知
→ 手动操作脚本事件
触发器表达式中导致通知的第N个监控项的值类型。 可能的值: 0 - numeric float, 1 - character, 2 - log, 3 - numeric unsigned, 4 - text。

该宏可以与数字索引一起使用,例如 {ITEM.VALUETYPE<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引

支持的最低版本是 5.4.0.
{LLDRULE.DESCRIPTION} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的描述。
{LLDRULE.DESCRIPTION.ORIG} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的描述(描述中带有未解析的宏)
支持的最低版本是 5.2.0.
{LLDRULE.ID} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的规则序列ID
{LLDRULE.KEY} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的键值
{LLDRULE.KEY.ORIG} → 基于 LLD 规则的内部通知 引发通知的低级别自动发现规则的原始密钥(未扩展的宏)。
{LLDRULE.NAME} → 基于 LLD 规则的内部通知 导致通知的低级发现规则(已解析宏)的名称。
{LLDRULE.NAME.ORIG} → 基于 LLD 规则的内部通知 导致通知的低级发现规则的原始名称(即未解析宏)。
{LLDRULE.STATE} → 基于 LLD 规则的内部通知 低级发现规则的最新状态。 可能的值: 不支持正常.
{MAP.ID} → 地图元素标签,地图URL的名称和值 网络拓扑图ID
{MAP.NAME} → 地图元素标签,地图URL的名称和值
→ Text field in map shapes
网络拓扑图名称
支持的最低版本是 3.4.0.
{PROXY.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 发现的通知和命令
→ 自动注册的通知和命令
→ 内部通知
→ 手动操作脚本事件
代理的描述。 可以被解释为如下的可能:
1) 触发器表达式中第 N 个监控项的代理(在基于触发器的通知中)。 您可以在此处使用索引 宏。
2) 代理,它执行发现(在发现通知中),在此处使用{PROXY.DESCRIPTION} ,无需索引。
3) 代理指向一个已经注册的agent (在自动注册通知中)。在此处使用{PROXY.DESCRIPTION},无需索引。

该宏可以与数字索引一起使用,例如 {PROXY.DESCRIPTION<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{PROXY.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 发现的通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 手动操作脚本事件
代理的名称. 可以被解释为如下的可能::
1)触发器表达式中第 N 个监控项的代理名称(在基于触发器的通知中)。 您可以在此处使用索引 宏。
2)代理,它执行发现(在发现通知中)。在此处使用 {PROXY.NAME},无需索引。
3) 代理指向一个已经注册的agent (在自动注册通知中)。 在此处使用{PROXY.NAME} ,无需索引。

该宏可以与数字索引一起使用,例如 {PROXY.NAME<1-9>} 指向触发器表达式中匹配的第1个,第2个,第3个等主机。 请参考宏索引
{SERVICE.NAME} → 基于服务的通知和命令
→ 服务的通知和命令
服务名称 (已解析宏)。
{SERVICE.ROOTCAUSE} → 基于服务的通知和命令
→ 服务的通知和命令
导致服务失败的触发问题事件列表, 使用安全性主机排序。 包括以下详细信息:主机名、事件名称、严重性、持续时间、服务标签和值。
{SERVICE.TAGS} → 基于服务的通知和命令
→ 服务的通知和命令
服务事件标签的逗号分隔列表。 服务事件标签可以在服务配置选项标签中定义。如果不存在标签,则扩展为空字符串。
{SERVICE.TAGSJSON} → 基于服务的通知和命令
→ 服务的通知和命令
包含服务事件标签对象的 JSON 数组。 服务事件标签可以在服务配置选项标签中定义。 如果不存在标签,则扩展为空数组。
{SERVICE.TAGS.<tag name>} → 基于服务的通知和命令
→ 服务的通知和命令
标签名称引用的服务事件标签值。 服务事件标签可以在服务配置选项标签中定义。
包含非字母数字字符(包括非英语多字节 UTF 字符)的标签名称应该用双引号引起来。 带引号的标记名称中的引号和反斜杠必须使用反斜杠进行转义。
{TIME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于服务的通知和命令
→ 服务的通知和命令
→ 发现的通知和命令
→ 自动注册通知和命令
→ 内部通知
→ 触发器事件名称
→ 手动操作脚本事件
现在的时间,格式为 hh:mm:ss
{TRIGGER.DESCRIPTION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器描述。
如果在通知中使用了{TRIGGER.DESCRIPTION},则触发器描述中支持的所有宏都将被扩展。
{TRIGGER.COMMENT} 已弃用。
{TRIGGER.EXPRESSION.EXPLAIN} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 手动操作脚本事件
→ 事件名称
部分评估的触发器表达式。
基于监控项的函数在事件生成时被评估并替换为结果,而所有其他函数都显示为表达式中所写的。可用于调试触发器表达式。
{TRIGGER.EXPRESSION.RECOVERY.EXPLAIN} → Problem recovery notifications and commands
→ 故障更新通知和命令
→ 手动操作脚本事件
部分评估触发恢复表达式.
基于触发器的函数在事件生成时被评估并替换为结果,而所有其他函数都显示为表达式中所写的。可用于调试触发恢复表达式。
{TRIGGER.EVENTS.ACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
地图中地图元素或在通知中生成当前事件的触发器的已确认事件数。
{TRIGGER.EVENTS.PROBLEM.ACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
所有触发器的已确认 PROBLEM 事件的数量,无论其状态。
{TRIGGER.EVENTS.PROBLEM.UNACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
所有触发器的未确认问题事件数,无论其状态。
{TRIGGER.EVENTS.UNACK} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签
→ 手动操作脚本事件
地图中地图元素或在通知中生成当前事件的触发器的未确认事件数。
{TRIGGER.HOSTGROUP.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
定义了触发器的已排序(按 SQL 查询)、以逗号分隔的主机组列表名称。
{TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} → 地图元素标签 处于PROBLEM状态的触发器已确认的PROBLEM事件数。
{TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} → 地图元素标签 处于PROBLEM状态的触发器的未确认PROBLEM事件数。
{TRIGGER.EXPRESSION} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器表达式。
{TRIGGER.EXPRESSION.RECOVERY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发恢复表达式 如果事件生成OK触发器配置被用于'恢复表达'; 否者返回空的string字段。
支持的最低版本是 3.2.0.
{TRIGGER.ID} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 地图元素标签,地图URL的名称和值
→ 触发器的URL地址
→ Trigger tag value
→ 手动操作脚本事件
触发此操作的触发器ID。
从Zabbix的4.4.1版本开始在触发标记值中受支持。
{TRIGGER.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的名称 (已解析宏).
请注意自4.0.0开始,{EVENT.NAME} 可用于操作以显示已解析的宏触发的事件/问题名称。
{TRIGGER.NAME.ORIG} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的原始名称 (即未解析宏).
{TRIGGER.NSEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
使用数字表达的触发严重性 可能的值:
{TRIGGER.SEVERITY} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器严重性名称 可以在这里定义 管理 → 通用 → 触发器展示选项.
{TRIGGER.STATE} → 基于触发器的内部通知 触发器的最新状态 可能的值: 未知正常.
{TRIGGER.STATUS} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 手动操作脚本事件
当前触发器的值 可以是 PROBLEM 或者 OK.
{STATUS} 已弃用。
{TRIGGER.TEMPLATE.NAME} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
值为已排序(按 SQL 查询)、逗号分隔的模板列表中定义了触发器,如果触发器是在主机中定义的则为 *未知*。
{TRIGGER.URL} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 基于触发器的内部通知
→ 手动操作脚本事件
触发器的URL地址。
{TRIGGER.VALUE} → 基于触发器的通知和命令
→ 故障更新通知和命令
→ 触发器表达式
→ 手动操作脚本事件
当前触发数值: 0 - 触发器处于正常状态, 1 - 触发器处于问题状态。
{TRIGGERS.UNACK} → 地图元素标签 地图元素中已取消确认问题触发器的数量,忽略触发器状态。
如果至少有一个问题事件已取消确认,则触发器被视为已取消确认。
{TRIGGERS.PROBLEM.UNACK} → 地图元素标签 在地图标签中未确认的触发器(状态为PROBLEM)总数。
如果至少有一个问题事件已取消确认,则触发器被视为已取消确认。
{TRIGGERS.ACK} → 地图元素标签 地图元素中已确认触发器的数量, 忽略触发器状态。
如果触发器的所有问题事件都被确认,则认为触发器已被确认。
{TRIGGERS.PROBLEM.ACK} → 地图元素标签 地图元素中已确认触发器的数量。
如果触发器的所有问题事件都被确认,则认为触发器已被确认。
{USER.FULLNAME} → 故障更新通知和命令
→ 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
在事件确认和脚本操作中添加用户的姓氏、名字和完整姓名的信息。
从Zabbix的3.4.0版本开始在问题更新功能中支持此宏,从5.0.2开始在全局功能中支持。
{USER.NAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的用户的名字
支持的最低版本是 5.0.2.
{USER.SURNAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的用户的姓氏
支持的最低版本是 5.0.2.
{USER.USERNAME} → 对主机手动操作脚本 (including confirmation text)
→ 手动操作脚本事件 (including confirmation text)
启动脚本的完整用户名称(包括姓氏和名字)。
支持的最低版本是 5.0.2.
{USER.ALIAS}仅支持Zabbix 5.4.0以前的版本,此版本已弃用。
{$MACRO} → 参阅: User macros supported by location 用户自定义 宏。
{#MACRO} → 参阅: 低级别自动发现宏 低级别自动发现宏。

定制 宏的值, 从Zabbix的4.0.0版本开始。
{?EXPRESSION} → 触发器事件名称
→ 基于触发器的通知和命令
→ 故障更新通知和命令
→ 地图元素标签3
→ 地图分享标签3
→ 地图中的链接标签3
→ 图表名称5
表达式宏用于公式计算。通过扩展内部的所有宏并评估结果表达式来计算。
参阅 案例 在事件名称中使用表达式宏。
支持的最低版本是 5.2.0.

Actions

Macro Supported in Description
{ACTION.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
Numeric ID of the triggered action.
{ACTION.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
Name of the triggered action.
{ALERT.MESSAGE} → Alert script parameters 'Default message' value from action configuration.
Supported since 3.0.0.
{ALERT.SENDTO} → Alert script parameters 'Send to' value from user media configuration.
Supported since 3.0.0.
{ALERT.SUBJECT} → Alert script parameters 'Default subject' value from action configuration.
Supported since 3.0.0.
{ESC.HISTORY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Internal notifications
Escalation history. Log of previously sent messages.
Shows previously sent notifications, on which escalation step they were sent and their status (sent, in progress or failed).

Date and time

Macro Supported in Description
{DATE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Current date in yyyy.mm.dd. format.
{TIME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Trigger event names
→ Manual event action scripts
Current time in hh:mm:ss.

Discovery

Macro Supported in Description
{DISCOVERY.DEVICE.IPADDRESS} → Discovery notifications and commands IP address of the discovered device.
Available always, does not depend on host being added.
{DISCOVERY.DEVICE.DNS} → Discovery notifications and commands DNS name of the discovered device.
Available always, does not depend on host being added.
{DISCOVERY.DEVICE.STATUS} → Discovery notifications and commands Status of the discovered device: can be either UP or DOWN.
{DISCOVERY.DEVICE.UPTIME} → Discovery notifications and commands Time since the last change of discovery status for a particular device, with precision down to a second.
For example: 1h 29m 01s.
For devices with status DOWN, this is the period of their downtime.
{DISCOVERY.RULE.NAME} → Discovery notifications and commands Name of the discovery rule that discovered the presence or absence of the device or service.
{DISCOVERY.SERVICE.NAME} → Discovery notifications and commands Name of the service that was discovered.
For example: HTTP.
{DISCOVERY.SERVICE.PORT} → Discovery notifications and commands Port of the service that was discovered.
For example: 80.
{DISCOVERY.SERVICE.STATUS} → Discovery notifications and commands Status of the discovered service:// can be either UP or DOWN.
{DISCOVERY.SERVICE.UPTIME} → Discovery notifications and commands Time since the last change of discovery status for a particular service, with precision down to a second.
For example: 1h 29m 01s.
For services with status DOWN, this is the period of their downtime.

Events

Macro Supported in Description
{EVENT.ACK.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Acknowledgment status of the event (Yes/No).
{EVENT.AGE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Age of the event that triggered an action, with precision down to a second.
Useful in escalated messages.
{EVENT.DATE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Date of the event that triggered an action.
{EVENT.DURATION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Internal notifications
→ Manual event action scripts
Duration of the event (time difference between problem and recovery events), with precision down to a second.
Useful in problem recovery messages.

Supported since 5.0.0.
{EVENT.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Trigger URLs
→ Manual event action scripts
Numeric ID of the event that triggered an action.
{EVENT.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Internal notifications
→ Manual event action scripts
Name of the problem event that triggered an action.
Supported since 4.0.0.
{EVENT.NSEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Manual event action scripts
Numeric value of the event severity. Possible values: 0 - Not classified, 1 - Information, 2 - Warning, 3 - Average, 4 - High, 5 - Disaster.
Supported since 4.0.0.
{EVENT.OBJECT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Numeric value of the event object. Possible values: 0 - Trigger, 1 - Discovered host, 2 - Discovered service, 3 - Autoregistration, 4 - Item, 5 - Low-level discovery rule.
Supported since 4.4.0.
{EVENT.OPDATA} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Operational data of the underlying trigger of a problem.
Supported since 4.4.0.
{EVENT.RECOVERY.DATE} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Date of the recovery event.
{EVENT.RECOVERY.ID} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Numeric ID of the recovery event.
{EVENT.RECOVERY.NAME} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Name of the recovery event.
Supported since 4.4.1.
{EVENT.RECOVERY.STATUS} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Verbal value of the recovery event.
{EVENT.RECOVERY.TAGS} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
A comma separated list of recovery event tags. Expanded to an empty string if no tags exist.
Supported since 3.2.0.
{EVENT.RECOVERY.TAGSJSON} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
A JSON array containing event tag objects. Expanded to an empty array if no tags exist.
Supported since 5.0.0.
{EVENT.RECOVERY.TIME} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Time of the recovery event.
{EVENT.RECOVERY.VALUE} → Problem recovery notifications and commands
→ Problem update notifications and commands (if recovery took place)
→ Service recovery notifications and commands
→ Manual event action scripts (if recovery took place)
Numeric value of the recovery event.
{EVENT.SEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Manual event action scripts
Name of the event severity.
Supported since 4.0.0.
{EVENT.SOURCE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Numeric value of the event source. Possible values: 0 - Trigger, 1 - Discovery, 2 - Autoregistration, 3 - Internal.
Supported since 4.4.0.
{EVENT.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Internal notifications
→ Manual event action scripts
Verbal value of the event that triggered an action.
{EVENT.TAGS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Manual event action scripts
A comma separated list of event tags. Expanded to an empty string if no tags exist.
Supported since 3.2.0.
{EVENT.TAGSJSON} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Manual event action scripts
A JSON array containing event tag objects. Expanded to an empty array if no tags exist.
Supported since 5.0.0.
{EVENT.TAGS.<tag name>} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Webhook media type URL names and URLs
→ Manual event action scripts
Event tag value referenced by the tag name.
A tag name containing non-alphanumeric characters (including non-English multibyte-UTF characters) should be double quoted. Quotes and backslashes inside a quoted tag name must be escaped with a backslash.
Supported since 4.4.2.
{EVENT.TIME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Time of the event that triggered an action.
{EVENT.UPDATE.ACTION} → Problem update notifications and commands Human-readable name of the action(s) performed during problem update.
Resolves to the following values: acknowledged, commented, changed severity from (original severity) to (updated severity) and closed (depending on how many actions are performed in one update).
Supported since 4.0.0.
{EVENT.UPDATE.DATE} → Problem update notifications and commands
→ Service update notifications and commands
Date of event update (acknowledgment, etc).
Deprecated name: {ACK.DATE}
{EVENT.UPDATE.HISTORY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Log of problem updates (acknowledgments, etc).
Deprecated name: {EVENT.ACK.HISTORY}
{EVENT.UPDATE.MESSAGE} → Problem update notifications and commands Problem update message.
Deprecated name: {ACK.MESSAGE}
{EVENT.UPDATE.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric value of the problem update status. Possible values: 0 - Webhook was called because of problem/recovery event, 1 - Update operation.
Supported since 4.4.0.
{EVENT.UPDATE.TIME} → Problem update notifications and commands
→ Service update notifications and commands
Time of event update (acknowledgment, etc).
Deprecated name: {ACK.TIME}
{EVENT.VALUE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Service-based notifications and commands
→ Service update notifications and commands
→ Service recovery notifications and commands
→ Internal notifications
→ Manual event action scripts
Numeric value of the event that triggered an action (1 for problem, 0 for recovering).

Cause and symptom events

{EVENT.CAUSE.*} macros are used in the context of a symptom event, for example, in notifications; they return information about the cause event.

The {EVENT.SYMPTOMS} macro is used in the context of the cause event and returns information about symptom events.

Macro Supported in Description
{EVENT.CAUSE.ACK.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Acknowledgment status of the cause event (Yes/No).
{EVENT.CAUSE.AGE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Age of the cause event, with precision down to a second.
Useful in escalated messages.
{EVENT.CAUSE.DATE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Date of the cause event.
{EVENT.CAUSE.DURATION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Duration of the cause event (time difference between problem and recovery events), with precision down to a second.
Useful in problem recovery messages.
{EVENT.CAUSE.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric ID of the cause event .
{EVENT.CAUSE.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Name of the cause problem event.
{EVENT.CAUSE.NSEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric value of the cause event severity.
Possible values: 0 - Not classified, 1 - Information, 2 - Warning, 3 - Average, 4 - High, 5 - Disaster.
{EVENT.CAUSE.OBJECT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric value of the cause event object.
Possible values: 0 - Trigger, 1 - Discovered host, 2 - Discovered service, 3 - Autoregistration, 4 - Item, 5 - Low-level discovery rule.
{EVENT.CAUSE.OPDATA} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Operational data of the underlying trigger of the cause problem.
{EVENT.CAUSE.SEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Name of the cause event severity.
{EVENT.CAUSE.SOURCE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric value of the cause event source.
Possible values: 0 - Trigger, 1 - Discovery, 2 - Autoregistration, 3 - Internal.
{EVENT.CAUSE.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Verbal value of the cause event.
{EVENT.CAUSE.TAGS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
A comma separated list of cause event tags.
Expanded to an empty string if no tags exist.
{EVENT.CAUSE.TAGSJSON} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
A JSON array containing cause event tag objects.
Expanded to an empty array if no tags exist.
{EVENT.CAUSE.TAGS.<tag name>} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Cause event tag value referenced by the tag name.
A tag name containing non-alphanumeric characters (including non-English multibyte-UTF characters) should be double quoted. Quotes and backslashes inside a quoted tag name must be escaped with a backslash.
{EVENT.CAUSE.TIME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Time of the cause event.
{EVENT.CAUSE.UPDATE.HISTORY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Log of cause problem updates (acknowledgments, etc).
{EVENT.CAUSE.VALUE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Numeric value of the cause event (1 for problem, 0 for recovering).
{EVENT.SYMPTOMS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
The list of symptom events.
Includes the following details: host name, event name, severity, age, service tags and values.

Functions

Macro Supported in Description
{FUNCTION.VALUE<1-9>} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
→ Event names
Results of the Nth item-based function in the trigger expression at the time of the event.
Only functions with /host/key as the first parameter are counted. See indexed macros.
{FUNCTION.RECOVERY.VALUE<1-9>} → Problem recovery notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Results of the Nth item-based function in the recovery expression at the time of the event.
Only functions with /host/key as the first parameter are counted. See indexed macros.

Hosts

Macro Supported in Description
{HOST.CONN} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Map element labels, map URL names and values
→ Item key parameters1
→ Host interface IP/DNS
→ Trapper item "Allowed hosts" field
→ Database monitoring additional parameters
→ SSH and Telnet scripts
→ JMX item endpoint field
→ Web monitoring4
→ Low-level discovery rule filter regular expressions
→ URL field of dynamic URL dashboard widget
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
Tag names and values
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
→ Description of item value widget
Host IP address or DNS name, depending on host settings2.

May be used with a numeric index as {HOST.CONN<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.DESCRIPTION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Map element labels
→ Manual event action scripts
→ Description of item value widget
Host description.

This macro may be used with a numeric index e.g. {HOST.DESCRIPTION<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.DNS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Map element labels, map URL names and values
→ Item key parameters1
→ Host interface IP/DNS
→ Trapper item "Allowed hosts" field
→ Database monitoring additional parameters
→ SSH and Telnet scripts
→ JMX item endpoint field
→ Web monitoring4
→ Low-level discovery rule filter regular expressions
→ URL field of dynamic URL dashboard widget
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
Tag names and values
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
→ Description of item value widget
Host DNS name2.

This macro may be used with a numeric index e.g. {HOST.DNS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.HOST} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Item key parameters
→ Map element labels, map URL names and values
→ Host interface IP/DNS
→ Trapper item "Allowed hosts" field
→ Database monitoring additional parameters
→ SSH and Telnet scripts
→ JMX item endpoint field
→ Web monitoring4
→ Low-level discovery rule filter regular expressions
→ URL field of dynamic URL dashboard widget
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
Tag names and values
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
→ Description of item value widget
Host name.

This macro may be used with a numeric index e.g. {HOST.HOST<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{HOSTNAME<1-9>} is deprecated.
{HOST.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Map element labels, map URL names and values
→ URL field of dynamic URL dashboard widget
→ Trigger URLs
Tag names and values
→ Manual event action scripts
→ Manual host action scripts (only for type URL, including confirmation text)
→ Manual event action scripts (only for type URL, including confirmation text)
→ Description of item value widget
Host ID.

May be used with a numeric index as {HOST.ID<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.IP} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Map element labels, map URL names and values
→ Item key parameters1
→ Host interface IP/DNS
→ Trapper item "Allowed hosts" field
→ Database monitoring additional parameters
→ SSH and Telnet scripts
→ JMX item endpoint field
→ Web monitoring4
→ Low-level discovery rule filter regular expressions
→ URL field of dynamic URL dashboard widget
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
Tag names and values
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
→ Description of item value widget
Host IP address2.

This macro may be used with a numeric index e.g. {HOST.IP<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{IPADDRESS<1-9>} is deprecated.
{HOST.METADATA} → Autoregistration notifications and commands Host metadata.
Used only for active agent autoregistration.
{HOST.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Map element labels, map URL names and values
→ Item key parameters
→ Host interface IP/DNS
→ Trapper item "Allowed hosts" field
→ Database monitoring additional parameters
→ SSH and Telnet scripts
→ Web monitoring4
→ Low-level discovery rule filter regular expressions
→ URL field of dynamic URL dashboard widget
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
Tag names and values
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
→ Description of item value widget
Visible host name.

This macro may be used with a numeric index e.g. {HOST.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.PORT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Trigger names, event names, operational data and descriptions
→ Trigger URLs
→ JMX item endpoint field
Tag names and values
→ Manual event action scripts
→ Description of item value widget
Host (agent) port2.

This macro may be used with a numeric index e.g. {HOST.PORT<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{HOST.TARGET.CONN} → Trigger-based commands
→ Problem update commands
→ Discovery commands
→ Autoregistration commands
IP address or DNS name of the target host, depending on host settings.
Supported since 5.4.0.
{HOST.TARGET.DNS} → Trigger-based commands
→ Problem update commands
→ Discovery commands
→ Autoregistration commands
DNS name of the target host.
Supported since 5.4.0.
{HOST.TARGET.HOST} → Trigger-based commands
→ Problem update commands
→ Discovery commands
→ Autoregistration commands
Technical name of the target host.
Supported since 5.4.0.
{HOST.TARGET.IP} → Trigger-based commands
→ Problem update commands
→ Discovery commands
→ Autoregistration commands
IP address of the target host.
Supported since 5.4.0.
{HOST.TARGET.NAME} → Trigger-based commands
→ Problem update commands
→ Discovery commands
→ Autoregistration commands
Visible name of the target host.
Supported since 5.4.0.

See also: Host inventory

Host groups

Macro Supported in Description
{HOSTGROUP.ID} → Map element labels, map URL names and values Host group ID.

Host inventory

Macro Supported in Description
{INVENTORY.ALIAS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Alias field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.ALIAS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.ASSET.TAG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Asset tag field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.ASSET.TAG<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.CHASSIS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Chassis field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.CHASSIS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.CONTACT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Contact field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.CONTACT<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.CONTACT<1-9>} is deprecated.
{INVENTORY.CONTRACT.NUMBER} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Contract number field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.CONTRACT.NUMBER<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.DEPLOYMENT.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Deployment status field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.DEPLOYMENT.STATUS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HARDWARE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Hardware field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HARDWARE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.HARDWARE<1-9>} is deprecated.
{INVENTORY.HARDWARE.FULL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Hardware (Full details) field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HARDWARE.FULL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HOST.NETMASK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Host subnet mask field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HOST.NETMASK<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HOST.NETWORKS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Host networks field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HOST.NETWORKS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HOST.ROUTER} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Host router field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HOST.ROUTER<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HW.ARCH} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Hardware architecture field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HW.ARCH<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HW.DATE.DECOMM} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Date hardware decommissioned field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HW.DATE.DECOMM<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HW.DATE.EXPIRY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Date hardware maintenance expires field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HW.DATE.EXPIRY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HW.DATE.INSTALL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Date hardware installed field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HW.DATE.INSTALL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.HW.DATE.PURCHASE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Date hardware purchased field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.HW.DATE.PURCHASE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.INSTALLER.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Installer name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.INSTALLER.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.LOCATION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Sc→ ript-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Location field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.LOCATION<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.LOCATION<1-9>} is deprecated.
{INVENTORY.LOCATION.LAT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Location latitude field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.LOCATION.LAT<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.LOCATION.LON} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Location longitude field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.LOCATION.LON<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.MACADDRESS.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
MAC address A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.MACADDRESS.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.MACADDRESS<1-9>} is deprecated.
{INVENTORY.MACADDRESS.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
MAC address B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.MACADDRESS.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.MODEL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Model field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.MODEL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.NAME<1-9>} is deprecated.
{INVENTORY.NOTES} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Notes field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.NOTES<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.NOTES<1-9>} is deprecated.
{INVENTORY.OOB.IP} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OOB IP address field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OOB.IP<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.OOB.NETMASK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OOB subnet mask field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OOB.NETMASK<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.OOB.ROUTER} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OOB router field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OOB.ROUTER<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.OS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OS field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OS<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.OS<1-9>} is deprecated.
{INVENTORY.OS.FULL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OS (Full details) field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OS.FULL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.OS.SHORT} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
OS (Short) field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.OS.SHORT<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.CELL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC cell field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.CELL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.EMAIL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC email field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.EMAIL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.NOTES} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC notes field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.NOTES<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC phone A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.PHONE.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.PHONE.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC phone B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.PHONE.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.PRIMARY.SCREEN} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Primary POC screen name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.PRIMARY.SCREEN<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.CELL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC cell field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.CELL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.EMAIL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC email field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.EMAIL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.NOTES} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC notes field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.NOTES<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC phone A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.PHONE.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.PHONE.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC phone B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.PHONE.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.POC.SECONDARY.SCREEN} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Secondary POC screen name field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.POC.SECONDARY.SCREEN<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SERIALNO.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Serial number A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SERIALNO.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.SERIALNO<1-9>} is deprecated.
{INVENTORY.SERIALNO.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Serial number B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SERIALNO.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.ADDRESS.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site address A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.ADDRESS.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.ADDRESS.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site address B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.ADDRESS.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.ADDRESS.C} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site address C field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.ADDRESS.C<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.CITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site city field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.CITY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.COUNTRY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site country field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.COUNTRY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.NOTES} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site notes field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.NOTES<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.RACK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site rack location field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.RACK<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.STATE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site state/province field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.STATE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SITE.ZIP} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Site ZIP/postal field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SITE.ZIP<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.SOFTWARE<1-9>} is deprecated.
{INVENTORY.SOFTWARE.APP.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software application A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.APP.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE.APP.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software application B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.APP.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE.APP.C} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software application C field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.APP.C<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE.APP.D} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software application D field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.APP.D<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE.APP.E} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software application E field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.APP.E<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.SOFTWARE.FULL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Software (Full details) field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.SOFTWARE.FULL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.TAG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Tag field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.TAG<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.TAG<1-9>} is deprecated.
{INVENTORY.TYPE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Type field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.TYPE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{PROFILE.DEVICETYPE<1-9>} is deprecated.
{INVENTORY.TYPE.FULL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Type (Full details) field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.TYPE.FULL<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.URL.A} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
URL A field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.URL.A<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.URL.B} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
URL B field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.URL.B<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.URL.C} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
URL C field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.URL.C<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{INVENTORY.VENDOR} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
Tag names and values
→ Map element labels, map URL names and values
→ Script-type items6
→ Manual host action scripts6
→ Manual event action scripts
→ Description of item value widget
Vendor field in host inventory.

This macro may be used with a numeric index e.g. {INVENTORY.VENDOR<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

Items

Macro Supported in Description
{ITEM.DESCRIPTION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Manual event action scripts
→ Description of item value widget
Description of the Nth item in the trigger expression that caused a notification.

This macro may be used with a numeric index e.g. {ITEM.DESCRIPTION<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.DESCRIPTION.ORIG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Manual event action scripts
→ Description of item value widget
Description (with macros unresolved) of the Nth item in the trigger expression that caused a notification.

This macro may be used with a numeric index e.g. {ITEM.DESCRIPTION.ORIG<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

Supported since 5.2.0.
{ITEM.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, query fields, request body, headers, proxy, SSL certificate file, SSL key file
→ Manual event action scripts
→ Description of item value widget
Numeric ID of the Nth item in the trigger expression that caused a notification.

This macro may be used with a numeric index e.g. {ITEM.ID<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.KEY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, query fields, request body, headers, proxy, SSL certificate file, SSL key file
→ Manual event action scripts
→ Description of item value widget
Key of the Nth item in the trigger expression that caused a notification.

This macro may be used with a numeric index e.g. {ITEM.KEY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

{TRIGGER.KEY} is deprecated.
{ITEM.KEY.ORIG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Script-type item, item prototype and discovery rule parameter names and values
→ HTTP agent type item, item prototype and discovery rule fields:
URL, Query fields, Request body, Headers, Proxy, SSL certificate file, SSL key file, Allowed hosts.
→ Manual event action scripts
→ Description of item value widget
Original key (with macros not expanded) of the Nth item in the trigger expression that caused a notification 4.

This macro may be used with a numeric index e.g. {ITEM.KEY.ORIG<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LASTVALUE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, event names, operational data and descriptions
Tag names and values
→ Trigger URLs
→ Manual event action scripts
→ Description of item value widget
The latest value of the Nth item in the trigger expression that caused a notification.
It will resolve to *UNKNOWN* in the frontend if the latest history value has been collected more than the Max history display period time ago (set in the Administration→General menu section).
Note that since 4.0, when used in the problem name, it will not resolve to the latest item value when viewing problem events, instead it will keep the item value from the time of problem happening.
It is alias to last(/{HOST.HOST}/{ITEM.KEY}).

The resolved value is truncated to 20 characters to be usable, for example, in trigger URLs. To resolve to a full value, you may use macro functions.

Customizing the macro value is supported for this macro; starting with Zabbix 3.2.0.

This macro may be used with a numeric index e.g. {ITEM.LASTVALUE<1-9>} to point to the first, second, third, etc. item in a trigger expression. See indexed macros.
{ITEM.LOG.AGE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Age of the log item event, with precision down to a second.

This macro may be used with a numeric index e.g. {ITEM.LOG.AGE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.DATE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Date of the log item event.

This macro may be used with a numeric index e.g. {ITEM.LOG.DATE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.EVENTID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
ID of the event in the event log.
For Windows event log monitoring only.

This macro may be used with a numeric index e.g. {ITEM.LOG.EVENTID<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.NSEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Numeric severity of the event in the event log.
For Windows event log monitoring only.

This macro may be used with a numeric index e.g. {ITEM.LOG.NSEVERITY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.SEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Verbal severity of the event in the event log.
For Windows event log monitoring only.

This macro may be used with a numeric index e.g. {ITEM.LOG.SEVERITY<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.SOURCE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Source of the event in the event log.
For Windows event log monitoring only.

This macro may be used with a numeric index e.g. {ITEM.LOG.SOURCE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.LOG.TIME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, operational data and descriptions
→ Trigger URLs
→ Event tags and values
→ Manual event action scripts
→ Description of item value widget
Time of the log item event.

This macro may be used with a numeric index e.g. {ITEM.LOG.TIME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Manual event action scripts
→ Description of item value widget
Name of the Nth item in the trigger expression that caused a notification.

This macro may be used with a numeric index e.g. {ITEM.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.NAME.ORIG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Manual event action scripts
→ Description of item value widget
This macros is deprecated since Zabbix 6.0. It used to resolve to the original name (i.e. without macros resolved) of the item in pre-6.0 Zabbix versions when user macros and positional macros were supported in the item name.

This macro may be used with a numeric index e.g. {ITEM.NAME.ORIG<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.STATE} → Item-based internal notifications
→ Description of item value widget
The latest state of the Nth item in the trigger expression that caused a notification. Possible values: Not supported and Normal.

This macro may be used with a numeric index e.g. {ITEM.STATE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{ITEM.STATE.ERROR} → Item-based internal notifications Error message with details why an item became unsupported.

If an item goes into the unsupported state and then immediately gets supported again the error field can be empty.
{ITEM.VALUE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger names, event names, operational data and descriptions
Tag names and values
→ Trigger URLs
→ Manual event action scripts
→ Description of item value widget
Resolved to either:
1) the historical (at-the-time-of-event) value of the Nth item in the trigger expression, if used in the context of trigger status change, for example, when displaying events or sending notifications.
2) the latest value of the Nth item in the trigger expression, if used without the context of trigger status change, for example, when displaying a list of triggers in a pop-up selection window. In this case works the same as {ITEM.LASTVALUE}
In the first case it will resolve to *UNKNOWN* if the history value has already been deleted or has never been stored.
In the second case, and in the frontend only, it will resolve to *UNKNOWN* if the latest history value has been collected more than the Max history display period time ago (set in the Administration→General menu section).

The resolved value is truncated to 20 characters to be usable, for example, in trigger URLs. To resolve to a full value, you may use macro functions.

Customizing the macro value is supported for this macro, starting with Zabbix 3.2.0.

This macro may be used with a numeric index e.g. {ITEM.VALUE<1-9>} to point to the first, second, third, etc. item in a trigger expression. See indexed macros.
{ITEM.VALUETYPE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Internal notifications
→ Manual event action scripts
→ Description of item value widget
Value type of the Nth item in the trigger expression that caused a notification. Possible values: 0 - numeric float, 1 - character, 2 - log, 3 - numeric unsigned, 4 - text.

This macro may be used with a numeric index e.g. {ITEM.VALUETYPE<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

Supported since 5.4.0.

Low-level discovery rules

Macro Supported in Description
{LLDRULE.DESCRIPTION} → LLD-rule based internal notifications Description of the low-level discovery rule which caused a notification.
{LLDRULE.DESCRIPTION.ORIG} → LLD-rule based internal notifications Description (with macros unresolved) of the low-level discovery rule which caused a notification.
Supported since 5.2.0.
{LLDRULE.ID} → LLD-rule based internal notifications Numeric ID of the low-level discovery rule which caused a notification.
{LLDRULE.KEY} → LLD-rule based internal notifications Key of the low-level discovery rule which caused a notification.
{LLDRULE.KEY.ORIG} → LLD-rule based internal notifications Original key (with macros not expanded) of the low-level discovery rule which caused a notification.
{LLDRULE.NAME} → LLD-rule based internal notifications Name of the low-level discovery rule (with macros resolved) that caused a notification.
{LLDRULE.NAME.ORIG} → LLD-rule based internal notifications Original name (i.e. without macros resolved) of the low-level discovery rule that caused a notification.
{LLDRULE.STATE} → LLD-rule based internal notifications The latest state of the low-level discovery rule. Possible values: Not supported and Normal.
{LLDRULE.STATE.ERROR} → LLD-rule based internal notifications Error message with details why an LLD rule became unsupported.

If an LLD rule goes into the unsupported state and then immediately gets supported again the error field can be empty.

Maps

Macro Supported in Description
{MAP.ID} → Map element labels, map URL names and values Network map ID.
{MAP.NAME} → Map element labels, map URL names and values
→ Text field in map shapes
Network map name.
Supported since 3.4.0.

Proxies

Macro Supported in Description
{PROXY.DESCRIPTION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Description of the proxy. Resolves to either:
1) proxy of the Nth item in the trigger expression (in trigger-based notifications). You may use indexed macros here.
2) proxy, which executed discovery (in discovery notifications). Use {PROXY.DESCRIPTION} here, without indexing.
3) proxy to which an active agent registered (in autoregistration notifications). Use {PROXY.DESCRIPTION} here, without indexing.

This macro may be used with a numeric index e.g. {PROXY.DESCRIPTION<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.
{PROXY.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Discovery notifications and commands
→ Autoregistration notifications and commands
→ Internal notifications
→ Manual event action scripts
Name of the proxy. Resolves to either:
1) proxy of the Nth item in the trigger expression (in trigger-based notifications). You may use indexed macros here.
2) proxy, which executed discovery (in discovery notifications). Use {PROXY.NAME} here, without indexing.
3) proxy to which an active agent registered (in autoregistration notifications). Use {PROXY.NAME} here, without indexing.

This macro may be used with a numeric index e.g. {PROXY.NAME<1-9>} to point to the first, second, third, etc. host in a trigger expression. See indexed macros.

Services

Macro Supported in Description
{SERVICE.DESCRIPTION} → Service-based notifications and commands
→ Service update notifications and commands
Description of the service (with macros resolved).
{SERVICE.NAME} → Service-based notifications and commands
→ Service update notifications and commands
Name of the service (with macros resolved).
{SERVICE.ROOTCAUSE} → Service-based notifications and commands
→ Service update notifications and commands
List of trigger problem events that caused a service to fail, sorted by severity and host name. Includes the following details: host name, event name, severity, age, service tags and values.
{SERVICE.TAGS} → Service-based notifications and commands
→ Service update notifications and commands
A comma separated list of service event tags. Service event tags can be defined in the service configuration section Tags. Expanded to an empty string if no tags exist.
{SERVICE.TAGSJSON} → Service-based notifications and commands
→ Service update notifications and commands
A JSON array containing service event tag objects. Service event tags can be defined in the service configuration section Tags. Expanded to an empty array if no tags exist.
{SERVICE.TAGS.<tag name>} → Service-based notifications and commands
→ Service update notifications and commands
Service event tag value referenced by the tag name. Service event tags can be defined in the service configuration section Tags.
A tag name containing non-alphanumeric characters (including non-English multibyte-UTF characters) should be double quoted. Quotes and backslashes inside a quoted tag name must be escaped with a backslash.

Triggers

Macro Supported in Description
{TRIGGER.DESCRIPTION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Trigger description.
All macros supported in a trigger description will be expanded if {TRIGGER.DESCRIPTION} is used in notification text.
{TRIGGER.COMMENT} is deprecated.
{TRIGGER.EXPRESSION.EXPLAIN} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
→ Event names
Partially evaluated trigger expression.
Item-based functions are evaluated and replaced by the results at the time of event generation whereas all other functions are displayed as written in the expression. Can be used for debugging trigger expressions.
{TRIGGER.EXPRESSION.RECOVERY.EXPLAIN} → Problem recovery notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Partially evaluated trigger recovery expression.
Item-based functions are evaluated and replaced by the results at the time of event generation whereas all other functions are displayed as written in the expression. Can be used for debugging trigger recovery expressions.
{TRIGGER.EVENTS.ACK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Map element labels
→ Manual event action scripts
Number of acknowledged events for a map element in maps, or for the trigger which generated current event in notifications.
{TRIGGER.EVENTS.PROBLEM.ACK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Map element labels
→ Manual event action scripts
Number of acknowledged PROBLEM events for all triggers disregarding their state.
{TRIGGER.EVENTS.PROBLEM.UNACK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Map element labels
→ Manual event action scripts
Number of unacknowledged PROBLEM events for all triggers disregarding their state.
{TRIGGER.EVENTS.UNACK} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Map element labels
→ Manual event action scripts
Number of unacknowledged events for a map element in maps, or for the trigger which generated current event in notifications.
{TRIGGER.HOSTGROUP.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
A sorted (by SQL query), comma-space separated list of host groups in which the trigger is defined.
{TRIGGER.PROBLEM.EVENTS.PROBLEM.ACK} → Map element labels Number of acknowledged PROBLEM events for triggers in PROBLEM state.
{TRIGGER.PROBLEM.EVENTS.PROBLEM.UNACK} → Map element labels Number of unacknowledged PROBLEM events for triggers in PROBLEM state.
{TRIGGER.EXPRESSION} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Trigger expression.
{TRIGGER.EXPRESSION.RECOVERY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Trigger recovery expression if OK event generation in trigger configuration is set to 'Recovery expression'; otherwise an empty string is returned.
Supported since 3.2.0.
{TRIGGER.ID} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Map element labels, map URL names and values
→ Trigger URLs
→ Trigger tag value
→ Manual event action scripts
Numeric trigger ID which triggered this action.
Supported in trigger tag values since 4.4.1.
{TRIGGER.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Name of the trigger (with macros resolved).
Note that since 4.0.0 {EVENT.NAME} can be used in actions to display the triggered event/problem name with macros resolved.
{TRIGGER.NAME.ORIG} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Original name of the trigger (i.e. without macros resolved).
{TRIGGER.NSEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Numerical trigger severity. Possible values: 0 - Not classified, 1 - Information, 2 - Warning, 3 - Average, 4 - High, 5 - Disaster.
{TRIGGER.SEVERITY} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Trigger severity name. Can be defined in Administration → General → Trigger displaying options.
{TRIGGER.STATE} → Trigger-based internal notifications The latest state of the trigger. Possible values: Unknown and Normal.
{TRIGGER.STATE.ERROR} → Trigger-based internal notifications Error message with details why a trigger became unsupported.

If a trigger goes into the unsupported state and then immediately gets supported again the error field can be empty.
{TRIGGER.STATUS} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Manual event action scripts
Trigger value at the time of operation step execution. Can be either PROBLEM or OK.
{STATUS} is deprecated.
{TRIGGER.TEMPLATE.NAME} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
A sorted (by SQL query), comma-space separated list of templates in which the trigger is defined, or *UNKNOWN* if the trigger is defined in a host.
{TRIGGER.URL} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger-based internal notifications
→ Manual event action scripts
Trigger URL.
{TRIGGER.VALUE} → Trigger-based notifications and commands
→ Problem update notifications and commands
→ Trigger expressions
→ Manual event action scripts
Current trigger numeric value: 0 - trigger is in OK state, 1 - trigger is in PROBLEM state.
{TRIGGERS.UNACK} → Map element labels Number of unacknowledged triggers for a map element, disregarding trigger state.
A trigger is considered to be unacknowledged if at least one of its PROBLEM events is unacknowledged.
{TRIGGERS.PROBLEM.UNACK} → Map element labels Number of unacknowledged PROBLEM triggers for a map element.
A trigger is considered to be unacknowledged if at least one of its PROBLEM events is unacknowledged.
{TRIGGERS.ACK} → Map element labels Number of acknowledged triggers for a map element, disregarding trigger state.
A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.
{TRIGGERS.PROBLEM.ACK} → Map element labels Number of acknowledged PROBLEM triggers for a map element.
A trigger is considered to be acknowledged if all of it's PROBLEM events are acknowledged.

Users

Macro Supported in Description
{USER.FULLNAME} → Problem update notifications and commands
→ Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
Name, surname and username of the user who added event acknowledgment or started the script.
Supported for problem updates since 3.4.0, for global scripts since 5.0.2
{USER.NAME} → Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
Name of the user who started the script.
Supported since 5.0.2.
{USER.SURNAME} → Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
Surname of the user who started the script.
Supported since 5.0.2.
{USER.USERNAME} → Manual host action scripts (including confirmation text)
→ Manual event action scripts (including confirmation text)
Username of the user who started the script.
Supported since 5.0.2.
{USER.ALIAS}, supported before Zabbix 5.4.0, is now deprecated.

Other macro types

Macro Supported in Description
{$MACRO} → See: User macros supported by location User-definable macros.
{#MACRO} → See: Low-level discovery macros Low-level discovery macros.

Customizing the macro value is supported for this macro, starting with Zabbix 4.0.0.
{?EXPRESSION} → Trigger event names
→ Trigger-based notifications and commands
→ Problem update notifications and commands
→ Map element labels3
→ Map shape labels3
→ Link labels in maps3
→ Graph names5
See expression macros.
Supported since 5.2.0.
脚注

1 监控项关键参数中支持的{HOST.*} 宏将解析为监控项选择的接口。当在没有接口的监控项中使用时, 它们将按此优先级顺序解析为主机的 Zabbix agent,SNMP,JMX 或 IPMI 接口,如果主机没有任何接口,则解析为“未知”。

2在全局脚本、接口 IP/DNS 字段和 Web 场景中,宏将解析为主代理接口,但是,如果不存在,将使用主 SNMP 接口。如果 SNMP 也不存在,则将使用主 JMX 接口。如果 JMX 也不存在,则将使用主 IPMI 接口。如果主机没有任何接口,则宏解析为“未知”。

3 此宏在map 标签中仅支持以秒为参数的 avg, last, maxmin函数。

4 在web场景中变量消息头SSL 证书文件SSL 秘钥文件 字段以及场景步骤中 URLPost消息头必填字符串 字段均支持{HOST.*} 宏。从Zabbix 5.4.0开始,web场景 名称和web场景步骤*名称字段不再支持{HOST.*} 宏。

5此宏在图形名称中仅支持以秒为参数的avg, last, maxmin函数。{HOST.HOST<1-9>} 宏可用作宏内的主机。例如:

 * last(/Cisco switch/ifAlias[{#SNMPINDEX}])
        * last(/{HOST.HOST}/ifAlias[{#SNMPINDEX}])

6 从 5.2.5版本开始支持。

索引宏

宏索引{MACRO<1-9>}语法仅限于触发器表达式的上下文。它能用于按顺序引用表达式中包含的设备。例如:在表达式中包含了设备1,设备2,设备3,那么宏{HOST.IP1},{HOST.IP2}, {HOST.IP3}将分别引用设备1,设备2,设备3的IP地址信息。 在提供触发器表达式包含这些函数时,宏{FUNCTION.VALUE1},{FUNCTION.VALUE2},{FUNCTION.VALUE3} 将解析为事件发生时触发器表达式中第一个、第二个和第三个基于监控项函数的值。

另外,可以在图形名称中使用宏{?func(/host/key,param)} ,同时再叠加使用宏{HOST.HOST<1-9>}。例如,图形名称中的宏{{HOST.HOST2}:key.func()}代表引用图形中的第二个监控项。

除了这里提到的两种情况外,索引宏不会在任何其他场境中解析。对于其他场景可以使用不带索引的宏。(即{HOST.HOST},{HOST.IP},等)