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

本节提供了 Zabbix API 所提供功能的概述，帮助您了解可用的类和方法。

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

[comment]: # ({84120a97-53edf72e})
## 监控

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

[comment]: # ({/84120a97-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})
#### 拓扑图

配置地图以create您的IT基础架构的详细动态表示。

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

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

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

与Zabbix server任务管理器交互，创建任务并检索响应。

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

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

[comment]: # ({2fae33fd-services})
## 服务

Zabbix API 允许您访问在服务监控期间收集的数据。

[comment]: # ({/2fae33fd-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]: # ({3ca050b4-467838af})
## 数据收集

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

[comment]: # ({/3ca050b4-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]: # ({e61f3b03-7a170077})
#### 模板和模板组

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

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

[comment]: # ({/e61f3b03-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})
#### 导出与导入

导出和import 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]: # ({21240961-alerts})
## 告警

Zabbix API 允许您管理监控系统的动作和警报。

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

[comment]: # ({3ea1b33b-3ea1b33b})
#### Actions and alerts

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

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

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

[comment]: # ({db21e75f-media})
#### 媒体类型

配置媒介类型以及用户接收告警的多种方式。

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

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

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

配置并使用 execute 脚本以帮助您完成日常任务。

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

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

[comment]: # ({9b5ff098-users})
## 用户

Zabbix API 允许您管理监控系统的用户。

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

[comment]: # ({efe6ebed-c2d096e3})
#### 用户与用户组

添加将拥有 Zabbix 访问权限的用户，将他们分配到用户组，并授予相应权限。通过创建角色实现对用户权限的细粒度管理。

[User API](/manual/api/reference/user) | [User group
API](/manual/api/reference/usergroup) | [User directory
API](/manual/api/reference/userdirectory) | [User role
API](/manual/api/reference/role)

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

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

管理授权令牌。

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

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

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

更改认证配置选项。

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

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

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

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

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

[comment]: # ({6897171d-925840a1})
#### 常规

更改某些全局配置选项。

[Autoregistration API](/manual/api/reference/autoregistration)
 | [Icon map API](/manual/api/reference/iconmap)
 | [Image API](/manual/api/reference/image)
 | [Settings API](/manual/api/reference/settings)
 | [Regular expression API](/manual/api/reference/regexp)
 | [Module API](/manual/api/reference/module)
 | [Connector API](/manual/api/reference/connector)

[comment]: # ({/6897171d-925840a1})

[comment]: # ({7f66a89c-audit})
#### 审计日志

跟踪每个用户所做的配置更改。

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

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

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

配置清理。

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

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

[comment]: # ({ca8a8603-feb914d9})
#### Proxies 和 proxy 组

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

[Proxy API](/manual/api/reference/proxy) | [Proxy group API](/manual/api/reference/proxygroup)

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

[comment]: # ({c91a6fe3-macros})
#### 宏

管理宏。

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

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

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

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

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

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