[comment]: # translation:outdated

[comment]: # ({b0d207c5-b0d207c5})
# 方法参考

本节概述了 Zabbix API 提供的函数，并将帮助您找到可用的类和方法。

[comment]: # ({/b0d207c5-b0d207c5})

[comment]: # ({6ae0e1b5-53edf72e})
### 监控

Zabbix API 允许您访问在监控期间收集的历史记录和其他数据。

[comment]: # ({/6ae0e1b5-53edf72e})

[comment]: # ({1a3dcbcf-1a3dcbcf})
#### 仪表盘

管理仪表板并基于它们生成定时报表。

[Dashboard API](/manual/api/reference/dashboard) | [Template dashboard API](/manual/api/reference/templatedashboard) | [Report API](/manual/api/reference/report)

[comment]: # ({/1a3dcbcf-1a3dcbcf})

[comment]: # ({ead86ed5-ead86ed5})
#### 高可用集群

检索服务器节点及其状态的列表。

[High availability cluster API](/manual/api/reference/hanode)

[comment]: # ({/ead86ed5-ead86ed5})

[comment]: # ({46aecf9d-46aecf9d})
#### 历史记录

检索 Zabbix 监控进程收集的历史值，以便进行演示或进一步处理。

[History API](/manual/api/reference/history)

[comment]: # ({/46aecf9d-46aecf9d})

[comment]: # ({ce08707b-ce08707b})
#### 趋势

检索由 Zabbix Server 计算的趋势值以进行展示或进一步处理。

[Trend API](/manual/api/reference/trend)

[comment]: # ({/ce08707b-ce08707b})

[comment]: # ({4e280d13-4e280d13})
#### 事件

检索由触发器、网络发现和其他 Zabbix 系统生成的事件，以实现更灵活的情况管理或第三方工具集成。

[Event API](/manual/api/reference/event)

[comment]: # ({/4e280d13-4e280d13})

[comment]: # ({087f1047-087f1047})
#### 问题

根据给定的参数检索问题。

[Problem API](/manual/api/reference/problem)

[comment]: # ({/087f1047-087f1047})

[comment]: # ({29b6c9a4-29b6c9a4})
#### 拓扑图

配置拓扑图用于创建 IT基础架构 的详细动态展现。

[Map API](/manual/api/reference/map)

[comment]: # ({/29b6c9a4-29b6c9a4})

[comment]: # ({ea863fe1-ea863fe1})
#### 任务

与Zabbix Server task manager 交互，创建任务并检索响应。

[Task API](/manual/api/reference/task)

[comment]: # ({/ea863fe1-ea863fe1})

[comment]: # ({new-services})
## Services

The Zabbix API allows you to access data gathered
during service monitoring.

[comment]: # ({/new-services})

[comment]: # ({2b35beaa-2b35beaa})
#### 服务水平协议

定义服务级别目标 （SLO），检索有关服务性能的详细服务级别指示器 （SLI） 信息。

[SLA API](/manual/api/reference/sla)

[comment]: # ({/2b35beaa-2b35beaa})

[comment]: # ({891cbcad-891cbcad})
#### 服务

管理服务以进行服务级别监视，并检索有关任何服务的详细 SLA 信息。

[Service API](/manual/api/reference/service)

[comment]: # ({/891cbcad-891cbcad})

[comment]: # ({c8fe1702-467838af})
### 配置

Zabbix API 允许您管理监控系统的配置。

[comment]: # ({/c8fe1702-467838af})

[comment]: # ({4fe0de77-4fe0de77})
#### 主机和主机组

管理主机组，主机及其相关的一切，包括主机接口，主机宏和维护期。

[Host API](/manual/api/reference/host) | [Host group API](/manual/api/reference/hostgroup) | [Host interface API](/manual/api/reference/hostinterface) | [User macro API](/manual/api/reference/usermacro) | [Value map API](/manual/api/reference/valuemap) | [Maintenance API](/manual/api/reference/maintenance)

[comment]: # ({/4fe0de77-4fe0de77})

[comment]: # ({29ae0d97-29ae0d97})
#### 监控项

定义要监控的监控项。

[Item API](/manual/api/reference/item)

[comment]: # ({/29ae0d97-29ae0d97})

[comment]: # ({de0198b3-de0198b3})
#### 触发器

配置触发器以通知您系统中的问题。管理触发器依赖关系。

[Trigger API](/manual/api/reference/trigger)

[comment]: # ({/de0198b3-de0198b3})

[comment]: # ({f61b98cf-f61b98cf})
#### 图形

编辑图形或单独的图形项，以便更好地呈现收集的数据。

[Graph API](/manual/api/reference/graph) | [Graph item API](/manual/api/reference/graphitem)

[comment]: # ({/f61b98cf-f61b98cf})

[comment]: # ({f98471d4-7a170077})
#### 模板

管理模板并将其链接到主机或其他模板。

[Template API](/manual/api/reference/template) | [Value map API](/manual/api/reference/valuemap)

[comment]: # ({/f98471d4-7a170077})

[comment]: # ({61993c62-61993c62})
#### 低级别自动发现

配置低级发现规则以及项目，触发器和图形原型来监视动态实体。

[LLD rule API](/manual/api/reference/discoveryrule) | [Item prototype API](/manual/api/reference/itemprototype) | [Trigger prototype API](/manual/api/reference/triggerprototype) | [Graph prototype API](/manual/api/reference/graphprototype) | [Host prototype API](/manual/api/reference/hostprototype)

[comment]: # ({/61993c62-61993c62})

[comment]: # ({63c25731-63c25731})
#### 事件关联性

创建自定义事件相关规则。

[Correlation API](/manual/api/reference/correlation)

[comment]: # ({/63c25731-63c25731})

[comment]: # ({91788676-91788676})
#### 网络发现

管理网络级发现规则以自动查找和监控新主机。获得对所发现的服务和主机的信息的完全访问。

[Discovery rule API](/manual/api/reference/drule) | [Discovery check
API](/manual/api/reference/dcheck) | [Discovered host
API](/manual/api/reference/dhost) | [Discovered service
API](/manual/api/reference/dservice)

[comment]: # ({/91788676-91788676})

[comment]: # ({56f63ece-56f63ece})
#### 导入和导出

导出和导入Zabbix配置数据，用于配置备份，迁移或大规模配置更新。

[Configuration API](/manual/api/reference/configuration)

[comment]: # ({/56f63ece-56f63ece})

[comment]: # ({e083e0e0-e083e0e0})
#### Web 监控

配置 Web 场景以监控 Web 应用程序和服务。

[Web scenario API](/manual/api/reference/httptest)

[comment]: # ({/e083e0e0-e083e0e0})

[comment]: # ({new-alerts})
## Alerts

The Zabbix API allows you to manage the actions and alerts of your monitoring system.

[comment]: # ({/new-alerts})

[comment]: # ({3ea1b33b-3ea1b33b})
#### 动作和警报

定义动作和报警，以通知用户某些事件或自动执行远程命令。获取有关生成的警报及其接收者的信息。

[Action API](/manual/api/reference/action) | [Alert API](/manual/api/reference/alert)

[comment]: # ({/3ea1b33b-3ea1b33b})

[comment]: # ({new-media})
#### Media types

Configure media types and multiple ways users will receive alerts.

[Media type API](/manual/api/reference/mediatype)

[comment]: # ({/new-media})

[comment]: # ({4e5421dd-4e5421dd})
#### 脚本

配置和执行脚本以帮助您完成日常任务。

[Script API](/manual/api/reference/script)

[comment]: # ({/4e5421dd-4e5421dd})

[comment]: # ({new-users})
## Users

The Zabbix API allows you to manage users of your monitoring system.

[comment]: # ({/new-users})

[comment]: # ({0fa776bc-c2d096e3})
#### 用户

添加将有权访问 Zabbix 的用户，将其分配到用户组并授予权限。创建角色以精细管理用户权限。跟踪每个用户已完成的配置更改。配置媒介类型和用户接收警报的多种方式。

[User API](/manual/api/reference/user) | [User group API](/manual/api/reference/usergroup) | [User role API](/manual/api/reference/role) | [Media type API](/manual/api/reference/mediatype) | [Audit log API](/manual/api/reference/auditlog)

[comment]: # ({/0fa776bc-c2d096e3})

[comment]: # ({4050de56-4050de56})
#### API Tokens

管理认证 tokens.

[Token API](/manual/api/reference/token)

[comment]: # ({/4050de56-4050de56})

[comment]: # ({a1c36c8e-a1c36c8e})
#### 认证

更改身份认证配置选项。

[Authentication API](/manual/api/reference/authentication)

[comment]: # ({/a1c36c8e-a1c36c8e})

[comment]: # ({d47ac447-ad3cb7b9})
### 管理

使用 Zabbix API，您可以更改监控系统的管理设置。

[comment]: # ({/d47ac447-ad3cb7b9})

[comment]: # ({0f147443-925840a1})
#### 通用

用于更改某些全局配置选项。

[Autoregistration API](/manual/api/reference/autoregistration) | [Icon map API](/manual/api/reference/iconmap) | [Image API](/manual/api/reference/image) | [User macro API](/manual/api/reference/usermacro) | [Settings API](/manual/api/reference/settings) | [Housekeeping API](/manual/api/reference/housekeeping)

[comment]: # ({/0f147443-925840a1})

[comment]: # ({new-audit})
#### Audit log

Track configuration changes each user has done.

[Audit log API](/manual/api/reference/auditlog)

[comment]: # ({/new-audit})

[comment]: # ({new-housekeeping})
#### Housekeeping

Configure housekeeping.

[Housekeeping API](/manual/api/reference/housekeeping)

[comment]: # ({/new-housekeeping})

[comment]: # ({feb914d9-feb914d9})
#### Proxies

用于管理分布式监控设置中使用的 proxies。

[Proxy API](/manual/api/reference/proxy)

[comment]: # ({/feb914d9-feb914d9})

[comment]: # ({new-macros})
#### Macros

Manage macros.

[User macro API](/manual/api/reference/usermacro)

[comment]: # ({/new-macros})

[comment]: # ({3b3700b0-3b3700b0})
### API 信息

检索Zabbix API的版本，以便应用程序可以使用特定于版本的功能。

[API info API](/manual/api/reference/apiinfo)

[comment]: # ({/3b3700b0-3b3700b0})
