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
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!