2022 Zabbix中国峰会
2022 Zabbix中国峰会

> Trend object趋势对象

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.趋势对象根据item的信息类型而有所不同.它们由Zabbix server创建,不能通过API进行修改。

Float trend浮点型趋势

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

Property参数 T pe类型 Des ription说明
clock timestamp Time when that value was received获取此值的时间.
itemid string ID of the related item相关项的ID.
num integer Number of values within this hour在该小时内的数值.
value_min float Hourly minimum value每小时最小值.
value_avg float Hourly average value每小时平均值.
value_max float Hourly maximum value每小时最大值.

Integer trend整型趋势

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

Property参数 T pe类型 Des ription说明
clock timestamp Time when that value was received获取此值的时间.
itemid string ID of the related item相关项的ID.
num integer Number of values within this hour在该小时内的数值.
value_min integer Hourly minimum value每小时最小值.
value_avg integer Hourly average value每小时平均值.
value_max integer Hourly maximum value每小时最大值.