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

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

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

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

Zabbix API允许你访问在监控时采集历史记录和其他数据。

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

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

通过检索Zabbix监控进程采集的历史记录，用于展示或进一步的处理数据。

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

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

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

检索由Zabbix server可计算的趋势值，来进行展示或进一步处理数据。

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

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

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

检索触发器，网络发现和其它Zabbix系统生成的事件，以实现更灵活的场景应用或第三方工具集成。

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

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

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

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

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

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

[comment]: # ({65e4fa53-decddc0e})
#### 服务监控

检索有关任何服务的详细服务层可用性信息。

[Service SLA calculation](/zh/manual/api/reference/service/getsla)

[comment]: # ({/65e4fa53-decddc0e})

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

任务管理器允许检查监控项或低级发现规则，且无需重新加载配置。

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

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

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

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

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

[comment]: # ({e4837694-bfa32049})
#### 主机和主机组

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

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

[comment]: # ({/e4837694-bfa32049})

[comment]: # ({efa9eec0-359fd341})
#### 监控项和应用集

定义要监控的监控项。创建或删除应用程序并为其分配监控项。

[Item API](/zh/manual/api/reference/item) | [Application
API](/zh/manual/api/reference/application)

[comment]: # ({/efa9eec0-359fd341})

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

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

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

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

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

编辑图形或单独的图形项，以便更好地展示采集的数据。

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

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

[comment]: # ({4756521c-d505cde1})
#### 模板

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

[Template API](/zh/manual/api/reference/template)

[comment]: # ({/4756521c-d505cde1})

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[comment]: # ({d9767853-61df3006})
#### 仪表板

管理仪表板。

[Dashboard API](/zh/manual/api/reference/dashboard)

[comment]: # ({/d9767853-61df3006})

[comment]: # ({ce5584d7-85427e7e})
#### 聚合图形

用于分开编辑全局和模板级聚合图形或单个聚合图形项。

[Screen API](/zh/manual/api/reference/screen) | [Screen item
API](/zh/manual/api/reference/screenitem) | [Template screen
API](/zh/manual/api/reference/templatescreen) | [Template screen item
API](/zh/manual/api/reference/templatescreenitem)

[comment]: # ({/ce5584d7-85427e7e})

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

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

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

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

[comment]: # ({33831fe4-e083e0e0})
#### Web检测

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

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

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

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

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

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

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

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

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

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

[comment]: # ({b38f19aa-99cba0d6})
#### 用户

添加有权访问Zabbix的用户，将其分配给用户组并授予权限。配置媒体类型和用户接收警报的方式。

[User API](/zh/manual/api/reference/user) | [User group
API](/zh/manual/api/reference/usergroup) | [Media type
API](/zh/manual/api/reference/mediatype)

[comment]: # ({/b38f19aa-99cba0d6})

[comment]: # ({c12c3078-c815a418})
#### 通用

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

[Icon map API](/zh/manual/api/reference/iconmap) | [Image
API](/zh/manual/api/reference/image) | [User macro
API](/zh/manual/api/reference/usermacro)

[comment]: # ({/c12c3078-c815a418})

[comment]: # ({b01233a5-feb914d9})
#### 代理

用于管理分布式监视设置中使用的代理。

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

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

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

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

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

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

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

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

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

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