Zabbix Documentation 2.0

2.23.04.0 (current)In development:4.2 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

manual:appendix:api:iconmap:definitions

> Icon map object

The following objects are directly related to the iconmap API.

Icon map

The icon map object has the following properties.

Property Type Description
iconmapid string (readonly) ID of the icon map.
default_iconid
(reqiured)
string ID of the default icon.
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.

Property Type Description
iconmappingid string (readonly) ID of the icon map.
iconid
(required)
string ID of the icon used by the icon mapping.
expression
(required)
string Expression to match the inventory field against.
inventory_link
(required)
integer ID of the host inventory field.

Refer to the host inventory object for a list of supported inventory fields.
iconmapid string (readonly) ID of the icon map that the icon mapping belongs to.
sortorder integer Position of the icon mapping in the icon map.

Default: 0.