Zabbix Documentation 4.0

3.04.05.0 (current)| In development:5.2 (devel)| Unsupported:1.82.02.22.43.23.44.24.4Guidelines

User Tools

Site Tools


zh:manual:api:changes_3.4_-_4.0

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revision Both sides next revision
zh:manual:api:changes_3.4_-_4.0 [2018/12/25 16:25]
gengli
zh:manual:api:changes_3.4_-_4.0 [2018/12/26 10:27]
gengli
Line 34: Line 34:
  
 ==== Other changes and bug fixes ==== ==== Other changes and bug fixes ====
 +==== 其他变更及Bug修复 ====
 === General === === General ===
 +=== 通用 ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4426|ZBXNEXT-4426]] added a new task API introducing a new method ''​task.create''​. \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4426|ZBXNEXT-4426]] added a new task API introducing a new method ''​task.create''​. \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4152|ZBXNEXT-4152]] added possibility to filter IDs by zero. For example: ''​host.get()''​ with option ''​{"​proxyids":​ [0]}''​ will return hosts monitored by server. \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4152|ZBXNEXT-4152]] added possibility to filter IDs by zero. For example: ''​host.get()''​ with option ''​{"​proxyids":​ [0]}''​ will return hosts monitored by server. \\
 +
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4426|ZBXNEXT-4426]] 添加了一个新的任务API,引入了一个新方法:“task.create”。 \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4152|ZBXNEXT-4152]] 增加了通过 零 来过滤id的可能性。 例如: ''​host.get()''​ 中 ''​{"​proxyids":​ [0]}''​选项,将返回被zabbix server监控的主机。 \\
  
 === apiinfo === === apiinfo ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​version''​ method \\ [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​version''​ method \\
 +
 +=== api信息 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] 增加了对 “version” 方法输入参数的严格验证 \\
  
 === action === === action ===
Line 47: Line 57:
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\ [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\
 +
 +=== 动作 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持 \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] 增加了对 “delete” 方法输入参数的严格验证;添加了审计 ​ \\
  
 === correlation === === correlation ===
Line 52: Line 67:
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\ [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method; added audit \\
 +
 +=== 相互关系 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持 \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] 增加了对 “delete” 方法输入参数的严格验证;添加了审计 \\
  
 === discoveryrule === === discoveryrule ===
Line 57: Line 77:
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support for ''​not''​ operator in custom expression filter formula \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support of value ''​9''​ in the filter condition operator \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] added support of value ''​9''​ in the filter condition operator \\
 +
 +=== 发现规则 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] 在自定义表达式的筛选器公式中,增加了对“not”运算符的支持 \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-2788|ZBXNEXT-2788]] 在过滤条件运算符中,​增加了数值“9”的支持 \\
  
 === drule === === drule ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method \\ [[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] added strict validation of input parameters for ''​delete''​ method \\
 +
 +=== 发现规则 ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBX-3783|ZBX-3783]] 增加了对 “delete” 方法输入参数的严格验证 \\
  
 === event === === event ===
Line 66: Line 95:
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4118|ZBXNEXT-4118]] ''​event.get'':​ added a new property ''​evaltype''​ and extended ''​tags''​ property to support new value "<​​operator>"​ \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4118|ZBXNEXT-4118]] ''​event.get'':​ added a new property ''​evaltype''​ and extended ''​tags''​ property to support new value "<​​operator>"​ \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​event.get'':​ returns only problems and corresponding recovery events that match the tag based permission filters \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​event.get'':​ returns only problems and corresponding recovery events that match the tag based permission filters \\
 +
 +=== 事件 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4118|ZBXNEXT-4118]] ''​event.get'':​ 新增 ''​evaltype''​ 属性,扩展 ''​tags''​ 属性以支持新的值 "<​​operator>"​ \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4119|ZBXNEXT-4119]] ''​event.get'':​ 只返回与基于权限筛选器的标记匹配的问题和相应的恢复事件 \\
  
 === item === === item ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4358|ZBXNEXT-4358]] added new item type "HTTP agent"​. \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4358|ZBXNEXT-4358]] added new item type "HTTP agent"​. \\
 +
 +=== 监控项 ===
 +变化: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4358|ZBXNEXT-4358]] 新增"​HTTP agent"​监控项类型。 \\
  
 === itemprototype === === itemprototype ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4200|ZBXNEXT-4200]] ''​itemprototype.create'',​ ''​itemprototype.update'':​ added possibility to add regular items and web items as master items in ''​master_itemid''​ property. \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4200|ZBXNEXT-4200]] ''​itemprototype.create'',​ ''​itemprototype.update'':​ added possibility to add regular items and web items as master items in ''​master_itemid''​ property. \\
 +
 +=== 监控项原型 ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4200|ZBXNEXT-4200]] ''​itemprototype.create'',​ ''​itemprototype.update'':​ 在''​master_itemid''​属性中,添加了常规监控项和web监控项作为主监控项的可能性。 \\
  
 === mediatype === === mediatype ===
 Changes: \\ Changes: \\
 [[https://​support.zabbix.com/​browse/​ZBXNEXT-4144|ZBXNEXT-4144]] password field for authentication type "​Username and password"​ was made as optional. \\ [[https://​support.zabbix.com/​browse/​ZBXNEXT-4144|ZBXNEXT-4144]] password field for authentication type "​Username and password"​ was made as optional. \\
 +
 +=== 媒介类型 ===
 +Changes: \\
 +[[https://​support.zabbix.com/​browse/​ZBXNEXT-4144|ZBXNEXT-4144]] 验证类型 "​Username and password"​中的password字段变为选填项。 \\
  
 === problem === === problem ===