2016-03-30 16:09:34 +02:00
|
|
|
|
|
|
|
# Name of the plugin. This is singleline value
|
|
|
|
Plugin: zaf
|
|
|
|
|
|
|
|
# Description of plugin. This is multiline value
|
|
|
|
Description::
|
|
|
|
Basic items for Zabbix Agent Framework
|
|
|
|
::
|
|
|
|
|
|
|
|
# Version of the plugin.
|
2016-04-21 15:29:20 +02:00
|
|
|
Version: 0.5
|
2016-03-30 16:09:34 +02:00
|
|
|
|
|
|
|
# Url of plugin location to be able to update plugin
|
2016-04-01 15:44:35 +02:00
|
|
|
Url: https://raw.githubusercontent.com/limosek/zaf-plugins/master/zaf
|
2016-03-30 16:09:34 +02:00
|
|
|
|
|
|
|
# Homepage of plugin
|
2016-04-01 15:44:35 +02:00
|
|
|
Web: https://github.com/limosek/zaf-plugins/
|
2016-03-30 16:09:34 +02:00
|
|
|
|
|
|
|
# Maintainer
|
|
|
|
Maintainer: Lukas Macura <lukas@macura.cz>
|
|
|
|
|
2016-04-01 15:44:35 +02:00
|
|
|
# Dependencies
|
2016-03-30 16:09:34 +02:00
|
|
|
Depends-dpkg: dash curl
|
|
|
|
Depens-opkg: busybox curl
|
|
|
|
Depends-rpm: curl
|
|
|
|
Depends-bin: curl
|
|
|
|
|
2016-04-01 15:44:35 +02:00
|
|
|
Item framework_version:
|
2016-03-30 16:09:34 +02:00
|
|
|
Description::
|
|
|
|
Returns version of zaf installed.
|
|
|
|
::
|
2016-04-15 11:14:48 +02:00
|
|
|
# If item is Cmd: defined in shared library, use Cmd::
|
|
|
|
Cmd:: zaf_version
|
2016-03-30 16:09:34 +02:00
|
|
|
/Item
|
|
|
|
|
|
|
|
Item plugins:
|
|
|
|
Description::
|
|
|
|
Returns installed plugins
|
2016-04-01 15:44:35 +02:00
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_list_plugins
|
2016-03-30 16:09:34 +02:00
|
|
|
/Item
|
|
|
|
|
2016-04-21 15:29:20 +02:00
|
|
|
Item discovery_plugins:
|
2016-03-30 16:09:34 +02:00
|
|
|
Description::
|
|
|
|
Returns installed plugins in form suitable for zabbix discovery
|
2016-04-01 15:44:35 +02:00
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_discovery_plugins
|
2016-03-30 16:09:34 +02:00
|
|
|
/Item
|
|
|
|
|
2016-04-01 15:44:35 +02:00
|
|
|
Item plugin_version:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-04-09 12:23:40 +02:00
|
|
|
Description::
|
|
|
|
Returns version of plugin
|
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_plugin_version $1
|
2016-04-09 12:23:40 +02:00
|
|
|
/Item
|
|
|
|
|
|
|
|
Item plugin_url:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-04-09 12:23:40 +02:00
|
|
|
Description::
|
|
|
|
Returns base url of plugin
|
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_plugin_url $1
|
2016-04-09 12:23:40 +02:00
|
|
|
/Item
|
|
|
|
|
|
|
|
Item plugin_web:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-04-09 12:23:40 +02:00
|
|
|
Description::
|
|
|
|
Returns home url of plugin
|
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_plugin_web $1
|
2016-04-09 12:23:40 +02:00
|
|
|
/Item
|
|
|
|
|
|
|
|
Item plugin_maintainer:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-03-30 16:09:34 +02:00
|
|
|
Description::
|
|
|
|
Returns maintainer of plugin
|
2016-04-01 15:44:35 +02:00
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_plugin_maintainer $1
|
2016-04-09 12:23:40 +02:00
|
|
|
/Item
|
2016-04-01 15:44:35 +02:00
|
|
|
|
2016-04-09 12:23:40 +02:00
|
|
|
Item plugin_items:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-04-09 12:23:40 +02:00
|
|
|
Description::
|
|
|
|
Returns items defined in plugin
|
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_list_plugin_items $1
|
2016-04-09 12:23:40 +02:00
|
|
|
/Item
|
2016-04-01 15:44:35 +02:00
|
|
|
|
2016-04-09 12:23:40 +02:00
|
|
|
Item plugin_template_url:
|
2016-04-21 15:29:20 +02:00
|
|
|
Parameters::
|
|
|
|
plugin_name '' ''
|
|
|
|
::
|
|
|
|
Testparameters: zaf
|
2016-04-09 12:23:40 +02:00
|
|
|
Description::
|
|
|
|
Returns base template url for plugin
|
|
|
|
::
|
2016-04-21 15:29:20 +02:00
|
|
|
Cmd: zaf_plugin_template_url $1
|
2016-03-30 16:09:34 +02:00
|
|
|
/Item
|
|
|
|
|