# 方法参考

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

### 监控

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

#### 历史

检索由Zabbix监控流程收集的历史值，用于呈现或进一步处理。

[历史API](/zh/manual/api/reference/history)

#### 事件

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

[事件 API](/zh/manual/api/reference/event)

#### 服务监控

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

[服务SLA计算](/zh/manual/api/reference/service/getsla)

### 配置

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

#### 主机和主机组

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

[主机 API](/zh/manual/api/reference/host) | [主机组
API](/zh/manual/api/reference/hostgroup) | [主机接口
API](/zh/manual/api/reference/hostinterface) | [用户宏
API](/zh/manual/api/reference/usermacro) | [维护
API](/zh/manual/api/reference/maintenance)

#### 监控项和应用

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

[监控项 API](/zh/manual/api/reference/item) | [应用
API](/zh/manual/api/reference/application)

#### 触发器

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

[触发器 API](/zh/manual/api/reference/trigger)

#### 图表

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

[图表 API](/zh/manual/api/reference/graph) | [图形项
API](/zh/manual/api/reference/graphitem)

#### 模板

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

[模板 API](/zh/manual/api/reference/template)

#### 导出和导入

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

[配置 API](/zh/manual/api/reference/configuration)

#### 低级发现

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

[LLD规则API](/zh/manual/api/reference/discoveryrule) |
[项目原型API](/zh/manual/api/reference/itemprototype) |
[触发器原型API](/zh/manual/api/reference/triggerprototype) |
[图原型API](/zh/manual/api/reference/graphprototype) |
[主机原型API](/zh/manual/api/reference/hostprototype)

#### 屏幕

分别编辑全局和模板级屏幕或每个屏幕项。

[屏幕API](/zh/manual/api/reference/screen) |
[屏幕项API](/zh/manual/api/reference/screenitem) | [模板屏幕
API](/zh/manual/api/reference/templatescreen) |
[模板屏幕项API](/zh/manual/api/reference/templatescreenitem)

#### 动作和警报

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

[动作API](/zh/manual/api/reference/action) |
[报警API](/zh/manual/api/reference/alert)

#### 服务

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

[服务API](/zh/manual/api/reference/service)

#### 地图

配置映射以创建IT基础架构的详细动态表示。

[地图API](/zh/manual/api/reference/map)

#### 地图API

配置Web方案以监视Web应用程序和服务。

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

#### 网络发现

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

[发现规则API](/zh/manual/api/reference/drule) |
[发现检查API](/zh/manual/api/reference/dcheck) |
[发现主机API](/zh/manual/api/reference/dhost) |
[发现服务API](/zh/manual/api/reference/dservice)

### 行政

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

#### 用户

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

[用户API](/zh/manual/api/reference/user) |
[用户组API](/zh/manual/api/reference/usergroup) |
[媒介类型API](/zh/manual/api/reference/mediatype) |
[媒介API](/zh/manual/api/reference/usermedia)

#### 通用

更改某些全局配置选项。

[图标地图API](/zh/manual/api/reference/iconmap) |
[图像API](/zh/manual/api/reference/image) |
[用户宏API](/zh/manual/api/reference/usermacro)

#### 代理

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

[代理 API](/zh/manual/api/reference/proxy)

#### 脚本

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

[脚本API](/zh/manual/api/reference/script)

### API信息

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

[API信息API](/zh/manual/api/reference/apiinfo)
