Thanks to visit codestin.com
Credit goes to www.zabbix.com

This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

Plugin interfaces

This section describes available plugin interfaces.

plugin.Exporter

Exporter is the simplest interface that performs a poll and returns a value (values), nothing, or error. It accepts a preparsed item key, parameters, and context. Access to all other plugin interfaces is exclusive and no method can be called if a plugin is already performing a task. Also, there is a limit of 100 maximum concurrent Export() calls per plugin, which can be reduced according to the requirements for each plugin.

plugin.Configurator

Configurator interface provides plugin configuration parameters from Zabbix agent 2 configuration files.

plugin.Runner

Runner interface provides the means for performing initialization when a plugin is started (activated) and deinitialization when a plugin is stopped (deactivated). For example, a plugin can start/stop some background goroutine by implementing the Runner interface.