13 Zabbix sender dynamic link library for Windows

Overview

In a Windows environment applications can send data to Zabbix server/proxy by using the Zabbix sender dynamic link library (zabbix_sender.dll) instead of having to launch an external process (zabbix_sender.exe).

zabbix_sender.h and zabbix_sender.lib are required for compiling user applications with zabbix_sender.dll.

Getting it

There are two ways of getting zabbix_sender.dll.

1. Download zabbix_sender.h, zabbix_sender.lib and zabbix_sender.dll files as a ZIP archive.

When choosing download options make sure to select "No encryption" under Encryption and "Archive" under Packaging. Then download Zabbix agent (not Zabbix agent 2).

The zabbix_sender.h, zabbix_sender.lib and zabbix_sender.dll files will be inside the downloaded ZIP archive in the bin\dev directory. Unzip the files where you need it.

See also known issues.

2. Build zabbix_sender.dll from source (see instructions).

The dynamic link library with the development files will be located in the bin\winXX\dev directory. To use it, include the zabbix_sender.h header file and link with the zabbix_sender.lib library.

See also

  • example of a simple Zabbix sender utility implemented with Zabbix sender dynamic link library to illustrate the library usage;
  • zabbix_sender.h file for the interface functions of the Zabbix sender dynamic link library. This file contains documentation explaining the purpose of each interface function, its arguments, and return value.