Zabbix Documentation 4.0

3.04.04.4 (current)| In development:5.0 (devel)| Unsupported:1.82.02.22.43.23.44.2Guidelines

User Tools

Site Tools


zh:manual:api:reference:usermacro

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
zh:manual:api:reference:usermacro [2017/10/06 14:12]
127.0.0.1 external edit
zh:manual:api:reference:usermacro [2018/07/19 14:41] (current)
wede2046
Line 1: Line 1:
 +===== User macro [用户宏] =====
 +
 +此类用于全局宏的使用。
 +
 +对象引用: \\
 +  * [[manual:​api:​reference:​usermacro:​object#​global_macro|Global macro]]
 +  * [[manual:​api:​reference:​usermacro:​object#​host_macro|Host macro]]
 +
 +可用的方法: \\
 +  * ''​[[manual:​api:​reference:​usermacro:​create|usermacro.create]]''​ - 创建新的主机宏
 +  * ''​[[manual:​api:​reference:​usermacro:​createglobal|usermacro.createglobal]]''​ - 创建新的全局宏
 +  * ''​[[manual:​api:​reference:​usermacro:​delete|usermacro.delete]]''​ - 删除主机宏
 +  * ''​[[manual:​api:​reference:​usermacro:​deleteglobal|usermacro.deleteglobal]]''​ - 删除全局宏
 +  * ''​[[manual:​api:​reference:​usermacro:​get|usermacro.get]]''​ - 检索主机和全局宏
 +  * ''​[[manual:​api:​reference:​usermacro:​update|usermacro.update]]''​ - 更新主机宏
 +  * ''​[[manual:​api:​reference:​usermacro:​updateglobal|usermacro.updateglobal]]''​ - 更新全局宏
 +
 ===== User macro ===== ===== User macro =====