Skip to content

api_template

遇见王斌 edited this page Jul 20, 2017 · 1 revision

template 管理

template列表

[root@Linux ~]# zabbix_api template_get

template模板导入

template模板路径尽量使用绝对路径,相对路径是以 /opt/ZabbixTool/lib_zabbix/为基本目录

[root@Linux ~]# zabbix_api template_import "/tmp/ceshi_templates.xml"
1.2.2
{"status": "OK", "output": "import template [/tmp/ceshi_templates.xml] OK"}
Clone this wiki locally