Zabbix Documentation 1.8

2.23.04.04.2 (current)In development:4.4 (devel)Unsupported:1.82.02.43.23.4

User Tools

Site Tools


Sidebar

api:history

History

Methods

Class containing methods for operations with History.

MethodsDescription
get() Get history details
delete() Delete items history

Object details

The table contains complete list of History attributes.

ParameterTypeDescriptionDetails
idintegerHistory ID Not all history tables got this field
itemidintegerItem ID
clockintegerUnix timestamp.
valueintegerItem value.

Common tasks

The table contains list of common history-related tasks and possible implementation using Zabbix API

TaskHOWTO
Get some item history Use method history.get
Delete items history Use method history.delete with array of item IDs