Zabbix Api - history.get

时间:2015-09-07 18:06:47   收藏:0   阅读:1266

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)})


原文:http://my.oschina.net/moonly/blog/502431

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!