Zabbix server uses a JSON- based communication protocol for receiving data from Zabbix sender with the help of trapper item.
Request and response messages must begin with header and data length.
Alternatively Zabbix sender can send a request with a timestamp and nanoseconds.
{
"request":"sender data",
"data":[
{
"host":"<hostname>",
"key":"trap",
"value":"test value",
"clock":1516710794,
"ns":592397170
},
{
"host":"<hostname>",
"key":"trap",
"value":"test value",
"clock":1516710795,
"ns":192399456
}
],
"clock":1516712029,
"ns":873386094
}