Appearance
Concepts
Bridge Pipeline
The bridge processes MQTT and forwards selected data to Zabbix trapper items:
- receive MQTT message
- parse/validate message type (
alive,adv1,adv4,adv8) - resolve device from LLD cache
- apply delay throttling
- enqueue/send to Zabbix
LLD Ownership
LLD endpoints are served by the SafeCall HTTP server:
GET /lld/gatewaysGET /lld/beacons
Bridge mode consumes these endpoints to map incoming MQTT MACs to Zabbix hostnames.
Data Mapping
Bridge sends item keys:
- gateways:
wtgateway.temperature,wtgateway.load,wtgateway.last_seen - beacons:
wtbeacon.battery,wtbeacon.temperature,wtbeacon.humidity,wtbeacon.pressed,wtbeacon.last_seen
Discovery Model In Zabbix
Zabbix LLD discovery rules poll SafeCall endpoints via HTTP Agent. Host prototypes attach discovered hosts to templates and trigger definitions.
Observability Layers
zabbix doctor: checks SafeCall-side dependencies and network paths- bridge debug mode: runtime counters, drop reasons, cache state, send outcomes
zabbix verify: API-level read-only checks that required Zabbix objects exist