Zabbix Documentation 3.4

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

zh:manual:api:reference:iconmap:object

> Icon map object图标拓扑图对象

The following objects are directly related to the iconmap API.以下是iconmap API的使用方法。

Icon map 图标拓扑图

The icon map object has the following properties.图标拓扑图对象有以下属性。

属性 类型 说明
iconmapid string (readonly) ID of the icon map.(只读)图标拓扑图ID。
default_iconid
(reqiured)
string ID of the default icon.默认图标的ID。
name
(required)
string Name of the icon map. 图标拓扑图的名称。

Icon mapping 图标映射

The icon mapping object defines a specific icon to be used for hosts with a certain inventory field value. It has the following properties.图标映射对象定义了一个具体的图标,给具有特定资产清单字段值的主机使用。图标映射有以下属性。

属性 类型 说明
iconmappingid string (readonly) ID of the icon map.(只读)图标拓扑图ID。
iconid
(required)
string ID of the icon used by the icon mapping.被图标映射使用到的图标ID。
expression
(required)
string Expression to match the inventory field against. 使资产清单字段匹配的表达式。
inventory_link
(required)
integer ID of the host inventory field.主机资产清单字段ID。

Refer to the host inventory object for a list of supported inventory fields. 参考host inventory object支持的资产清单字段列表。
iconmapid string (readonly) ID of the icon map that the icon mapping belongs to. (只读)图标映射所属的图标拓扑图ID。
sortorder integer (readonly) Position of the icon mapping in the icon map.(只读)在图标拓扑图中图标映射的位置。