You are hereZabbix item attributes in XML template

Zabbix item attributes in XML template


By mehow - Posted on 09 August 2012

In Zabbix XML templates, item definitions require three attributes:
- "type",
- "key",
- "value_type"

Current "type" values, for Zabbix 1.8.13, are:

0 - Zabbix agent
1 - SNMPv1 agent
2 - Zabbix trapper
3 - Simple check
4 - SNMPv2 agent
5 - Zabbix internal
6 - SNMPv3 agent
7 - Zabbix agent (active)
8 - Zabbix aggregate
10 - External check
11 - Database monitor
12 - IPMI agent
13 - SSH agent
14 - TELNET agent
15 - Calculated

"Key" is a unique indetifier stored in database as VARCHAR(255).

Valid "value_type" are:

0 - Numeric (float)
1 - Character
2 - Log
3 - Numeric (unsigned)
4 - Text

Priority of triggers can be setup by using these values:
0 - Not classified
1 - Information
2 - Warning
3 - Average
4 - High
5 - Disaster

Resource type in screen template is defined:

0 - Graph
1 - Simple graph
2 - Map
3 - Plain text
4 - Hosts info
5 - Triggers info
6 - Server info
7 - Clock
8 - Screen
9 - Triggers overview
10 - Data overview
11 - URL
12 - History of actions
13 - History of events
14 - Status of hostgroup triggers
16 - Status of host triggers
15 - System status

Tags