Overview

    The utility is usually used in long running user scripts for periodical sending of availability and performance data.

    For sending results directly to Zabbix server or proxy, a trapper item type must be configured.

    Running Zabbix sender

    An example of running Zabbix UNIX sender:

    where:

    • k - item key

    Options that contain whitespaces, must be quoted using double quotes.

    If a configuration file is specified, Zabbix sender uses all addresses defined in the agent ServerActive configuration parameter for sending data. If sending to one address fails, the sender tries sending to the other addresses. If sending of batch data fails to one address, the following batches are not sent to this address.

    Zabbix sender accepts strings in UTF-8 encoding (for both UNIX-like systems and Windows) without byte order mark (BOM) first in the file.

    Zabbix sender on Windows can be run similarly:

    Since Zabbix 1.8.4, zabbix_sender realtime sending scenarios have been improved to gather multiple values passed to it in close succession and send them to the server in a single connection. A value that is not further apart from the previous value than 0.2 seconds can be put in the same stack, but maximum pooling time still is 1 second.