This tool allows you to generate valid Zabbix JSON templates directly from Excel-like CSV content.
Paste your data into the input field, click Generate, and the resulting Zabbix template will appear in the output area.
π Download a base Excel CSV as start
Each line must contain a Type column to define the type of Zabbix object. Different types use different fields.
Defines value mappings for items (e.g. 0 β Down, 1 β Up).
VALUEMAP, one, 0, Down
VALUEMAP, one, 1, Up
Defines template-level macros, such as {$MACRO1}.
MACRO, {$MACRO1}, 1
MACRO, {$MACRO2}, 2
Creates items and optional triggers for Modbus-based monitoring.
Type, Name, Key, Description, Units, Multiplier, ValueType, TriggerType, TriggerCondition, TriggerName, Endpoint, Slave ID, Function, Address, Count, Data Type, Endianness, OffsetSupports: trigger conditions (see below), macros in endpoints like tcp://{$MODBUSIP}:{$MODBUSPORT}
Defines SNMP-based item and trigger entries.
Type, Name, Key, Description, Units, Multiplier, ValueType, TriggerType, TriggerCondition, TriggerName, OIDDefines trapper items that receive values via API or external scripts.
Type, Name, Key, Description, Units, Multiplier, ValueType, TriggerType, TriggerCondition, TriggerName| TriggerType | Description |
|---|---|
auto | Auto-generates a trigger using TriggerCondition and the item key. |
raw | Full Zabbix expression is provided (e.g., last(/template/item)>30). |
x | Disabled or placeholder. No trigger will be created. |
These are used with TriggerType = auto and are applied to the current item key. They're transformed into Zabbix expressions like last(/template/key) <condition>.
| Format | Meaning | Example | Translates To |
|---|---|---|---|
>X |
Greater than X | >30 |
last(...) > 30 |
<X |
Less than X | <10 |
last(...) < 10 |
between(X,Y)=1 |
Between X and Y | between(20,22)=1 |
last(...) >= 20 and last(...) <= 22 |
between(X,Y)=0 |
Not between | between(20,22)=0 |
last(...) < 20 or last(...) > 22 |
in(A,B,C)=1 |
Value is one of A, B, C | in(20,21,22)=1 |
last(...)=20 or last(...)=21 or last(...)=22 |
in(A,B,C)=0 |
Value is NOT A, B, or C | in(20,21,22)=0 |
last(...)β 20 and last(...)β 21 and last(...)β 22 |
<X or >Y |
Outside range | <20 or >22 |
last(...) < 20 or last(...) > 22 |
>X and <Y |
Inside range (strict) | >19 and <23 |
last(...) > 19 and last(...) < 23 |
between(...) or in(...) |
Combined logic | between(20,22)=1 or in(30,31)=1 |
Logical OR combination |
in("a","b")=1 |
Text match | in("OK","READY")=1 |
str(...)="OK" or str(...)="READY" |
{$MODBUSIP} to keep templates reusable.TriggerType = raw to manually write full Zabbix expressions for advanced use cases.raw, you can use these special variables:$this β full item reference (e.g. last(/Template/ItemKey))$template β resolved template name only$key β item key (e.g. vibration.avg)$name β this will be replaced with the resolved item name.
$name is replaced with the item name. as the separator (e.g. 0.01 not 0,01).