Template as used in Zabbix blog post:
#Template documentation
| Name | Description | Default | Type |
|---|---|---|---|
| {$MQTT_PORT} | - |
8883 |
Text macro |
| {$MQTT_PROTOCOL} | - |
tls |
Text macro |
| {$MQTT_TOPIC} | - |
# |
Text macro |
| {$MQTT_URL} | - |
eu1.cloud.thethings.network |
Text macro |
| {$TTN_API_TOKEN} | - |
<TOKEN> |
Text macro |
| {$TTN_USER} | - |
<USER> |
Text macro |
There are no template links in this template.
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| discover sensors | - |
Dependent item |
disc.sensors Update: 0 |
| Name | Description | Type | Key and additional info |
|---|---|---|---|
| mqtt master item | - |
Zabbix agent (active) |
mqtt.get[{$MQTT_PROTOCOL}://{$MQTT_URL}:{$MQTT_PORT},{$MQTT_TOPIC},{$TTN_USER},{$TTN_API_TOKEN}] Update: 0 |
| Battery status of {#SENSOR} | - |
Dependent item |
bat.stat[{#SENSOR}] Update: 0 LLD |
| Battery voltage of {#SENSOR} | - |
Dependent item |
bat.voltage[{#SENSOR}] Update: 0 LLD |
| Humidity of {#SENSOR} | - |
Dependent item |
humidity[{#SENSOR}] Update: 0 LLD |
| External temperature of {#SENSOR} | - |
Dependent item |
temp.extern[{#SENSOR}] Update: 0 LLD |
| Internal temperature of {#SENSOR} | - |
Dependent item |
temp.intern[{#SENSOR}] Update: 0 LLD |
There are no triggers in this template.