概述
为了不耗尽内存(可能),Zabbix协议仅限于在一个连接中仅接受128MB。
实施
4 Header and data length
Overview
Header and data length are present in response and request messages between Zabbix components. It is required to determine the length of message.
<HEADER> - "ZBXD\x01" (5 bytes)
Implementation
Here are code snippets showing how to add Zabbix protocol header to the data
you want to send in order to obtain packet
you should send to Zabbix so it is interpreted correctly.
Language | Code |
---|---|
bash |
|
Java | |
PHP | or
|
Perl | or
|
Python |