> 对象

The following objects are directly related to the trend API. 以下对象与trend API直接相关。

Trend 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 server创建,不能通过API进行修改。

Float trend 浮点型趋势

The float trend object has the following properties. 浮点型趋势对象具有以下属性。

Property 属性Type 类型Description 说明
clocktimestamp 时间戳Time when that value was received. 收取该值的时间。
itemidstring 字符串ID of the related item. 相关监控项ID。
numinteger 整数型Number of values within this hour. 在该小时内值的数量。
value_minfloat 浮点型Hourly minimum value. 每小时最小值。
value_avgfloat 浮点型Hourly average value. 每小时平均值。
value_maxfloat 浮点型Hourly maximum value. 每小时最大值。

Integer trend 整数型趋势

The integer trend object has the following properties. 整数型趋势对象具有以下属性。

Property 属性Type 类型Description 说明
clocktimestamp 时间戳Time when that value was received. 收取该值的时间。
itemidstring 字符串ID of the related item. 相关监控项ID。
numinteger 整数型Number of values within this hour. 在该小时内值的数量。
value_mininteger 整数型Hourly minimum value. 每小时最小值。
value_avginteger 整数型Hourly average value. 每小时平均值。
value_maxinteger 整数型Hourly maximum value. 每小时最大值。