<?xml version='1.0' encoding='UTF-8'?>
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
<file source-language="en" target-language="zh-CN" datatype="plaintext" original="manual/extensions.md">
<trans-unit id="4f969495" xml:space="preserve">
<source># 21 Extensions</source>
<target state="needs-translation"># 20. 扩展</target>
<trans-unit id="574b73cc" xml:space="preserve">
Although Zabbix offers a multiplicity of features, there is always room for additional functionality.
Extensions are a convenient way of modifying and enhancing the monitoring capabilities of Zabbix
without changing its source code.
You can extend Zabbix functionality either by using built-in extension options
(trapper items, user parameters, etc.) or by using or creating custom extensions (loadable modules, plugins, etc.).
This section provides an overview with references to all the options for extending Zabbix.</source>
尽管 Zabbix 提供了多种功能,但总可以扩展添加更多功能。扩展是一种方便的方式,可以在不更改其源代码的情况下修改和增强 Zabbix 的监控功能。
您可以通过使用内置扩展选项(捕获器监控项、用户参数等)或使用或创建自定义扩展(可加载模块、插件等)来扩展 Zabbix 功能。
本节概述了用于扩展 Zabbix 的所有选项。</target>
<trans-unit id="7b2875dd" xml:space="preserve">
<source>#### Data collection with custom commands</source>
<target>#### 使用自定义命令进行数据收集</target>
<trans-unit id="2d4c92f9" xml:space="preserve">
<source>##### Trapper items
[Trapper items](/manual/config/items/itemtypes/trapper) are items that accept incoming data instead of querying for it.
Trapper items are useful for sending specific data to Zabbix server or proxy, for example, periodic availability and performance data in the case of long-running user scripts.
Sending data to Zabbix server or proxy is possible using the [Zabbix sender](/manual/concepts/sender) utility or Zabbix sender [protocol](/manual/appendix/protocols/zabbix_sender).
Sending data to Zabbix server is also possible using the [`history.push`](/manual/api/reference/history/push) API method.</source>
[Trapper items捕获器监控项](/manual/config/items/itemtypes/trapper) 是接受传入数据而不是查询数据的监控项。捕获器监控项可用于将特定数据发送到 Zabbix server/proxy,例如,在长时间运行的用户脚本的情况下,定期发送可用性和性能数据。您可以使用[Zabbix sender](/manual/concepts/sender)命令行实用程序或自己实现基于 JSON 的[通信协议](/manual/appendix/protocols/zabbix_sender).(类似于 Zabbix 发送器中使用的协议)来执行此[`history.push`](/manual/api/reference/history/push)操作。</target>
<trans-unit id="327d4393" xml:space="preserve">
<source>##### External checks
An [external check](/manual/config/items/itemtypes/external) is an item for executing checks
by running an executable, for example, a [shell script](/manual/appendix/command_execution) or a binary.
External checks are executed by Zabbix server or proxy (when host is monitored by proxy),
and do not require an agent running on the host being monitored.</source>
[外部检查](/manual/config/items/itemtypes/external) 是通过运行可执行文件(例如shell 脚本或二进制文件)来执行检查的监控项。
外部检查由 Zabbix server或proxy(当主机通过proxy监控时)执行,不需要在被监控的主机上运行agent。</target>
<trans-unit id="ce750625" xml:space="preserve">
<source>##### User parameters
A [user parameter](/manual/config/items/userparameters) is a user-defined command (associated with a user-defined key)
that, when executed, can retrieve the data you need from the host where Zabbix agent is running.
User parameters are useful for configuring agent or agent 2 items that are not predefined in Zabbix.</source>