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

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

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

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

Zabbix API允许您访问监控过程中收集的历史数据和其他信息。

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

[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]: # ({7721012f-7721012f})
#### 服务监控

创建监控IT基础设施/业务服务数据的层级结构表示。

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

[comment]: # ({/7721012f-7721012f})

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

定义服务等级目标(SLO)，获取关于服务性能的详细服务等级指标(SLI)信息。

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

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

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

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

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

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

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

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

[comment]: # ({/467838af-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]: # ({7a170077-7a170077})
#### 模板

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

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

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

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

导出并importZabbix配置数据，用于配置备份、
迁移或大规模配置更新。

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

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

[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]: # ({3ea1b33b-3ea1b33b})
#### Actions and alerts

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

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

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

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

管理服务以进行服务级别监控，并获取有关任何服务的详细SLA信息。

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

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

[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]: # ({29b6c9a4-29b6c9a4})
#### 拓扑图

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

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

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

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

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

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

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

[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]: # ({ad3cb7b9-ad3cb7b9})
### 管理

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

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

[comment]: # ({c2d096e3-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]: # ({/c2d096e3-c2d096e3})

[comment]: # ({925840a1-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]: # ({/925840a1-925840a1})

[comment]: # ({d764f069-d764f069})
#### 正则表达式

管理全局正则表达式。

[Regular expression API](/manual/api/reference/regexp)

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

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

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

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

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

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

修改认证配置选项。

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

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

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

管理授权令牌.

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

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

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

配置并execute脚本以协助您的日常任务.

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

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

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

获取Zabbix API的version功能，以便您的应用程序能够
使用version特有的特性。

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

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