Zabbix Documentation 3.4

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

User Tools

Site Tools


Sidebar

zh:manual:api:reference:history:object

> History object历史对象

The following objects are directly related to the history API.以下对象与“历史”API直接相关。

History objects differ depending on the item's type of information. They are created by the Zabbix server and cannot be modified via the API.历史对象根据项目的信息类型而有所不同。它们由Zabbix服务器创建,不能通过API进行修改。

Float history 浮动历史

The float history object has the following properties.浮动历史对象具有以下属性。

属性 类型 说明
clock timestamp Time when that value was received. 收到这个值的时间
itemid string ID of the related item.相关项的ID。
ns integer Nanoseconds when the value was received.收到值时纳秒。
value float Received value. 获取值。

Integer history整数历史

The integer history object has the following properties.整数历史对象具有以下属性。

属性 类型 说明
clock timestamp Time when that value was received. 收到这个值的时间
itemid string ID of the related item. 相关项的ID。
ns integer Nanoseconds when the value was received.收到值时的纳秒。
value integer Received value. 获取值。

String history 字符串历史

The string history object has the following properties.字符串历史对象具有以下属性。

属性 类型 说明
clock timestamp Time when that value was received.收到这个值的时间
itemid string ID of the related item.相关项的ID。
ns integer Nanoseconds when the value was received. 收到值时的纳秒。
value string Received value.获取值。

Text history 文字记录

The text history object has the following properties.文本历史对象具有以下属性。

属性 类型 说明
id string ID of the history entry. 历史记录条目的ID。
clock timestamp Time when that value was received.收到这个值的时间
itemid string ID of the related item.相关项的ID。
ns integer Nanoseconds when the value was received. 收到值时的纳秒。
value text Received value.获取值。

Log history日志历史

The log history object has the following properties.日志历史对象具有以下属性。

属性 类型 说明
id string ID of the history entry.历史记录条目的ID。
clock timestamp Time when that value was received. 收到这个值的时间
itemid string ID of the related item. 相关项的ID。
logeventid integer Windows event log entry ID.Windows事件日志条目ID。
ns integer Nanoseconds when the value was received. 收到值时的纳秒。
severity integer Windows event log entry level. Windows事件日志条目级别。
source string Windows event log entry source.Windows事件日志条目源。
timestamp timestamp Windows event log entry time.Windows事件日志输入时间。
value text Received value. 获取值。