Zabbix Api - history.get
时间:2015-09-07 18:09:11
收藏:0
阅读:1147
history.get方法中的 history 参数默认值为 3(int类型):
参数history的数值需要根据 zabbix 设定的去设置,否则返回的数据会是空列表:
value = zapi.history.get({"output":"extend","history":3,"itemids":itemid,"time_from":str(start_time),"time_till":str(end_time)})
评论(0)