Example loadable plugin
Source
1
1
# Example plugin for Zabbix agent 2
2
2
3
3
This is an example repository meant to serve as a starting point for creating your own plugin. It has 2 functional
4
4
items used as examples for testing basic loadable plugin functionality. This readme is written as if for a
5
5
real plugin - when creating your own plugin, it is suggested to rename instances of `example` to the correct name of your
6
6
new plugin.
7
7
8
8
## Requirements
9
9
10
10
- Zabbix agent 2 version 6.0.0 or newer
11
-
- Go programming language version 1.20 or newer (required only for building the plugin from the source)
11
+
- Go programming language version 1.21 or newer (required only for building the plugin from the source)
12
12
13
13
## Supported operating systems and architectures
14
14
15
15
The plugin works on all operating systems and architectures that the Go programming language and Zabbix agent 2 supports.
16
16
17
17
## Installation
18
18
19
19
The plugin can be compiled using `go build`. However, on Unix-based systems, it is suggested to use `make`;
20
20
on Windows-based systems, while it is suggested to use `mingw32-make`, it is required to use `windres.exe`.
21
21