#!/usr/bin/python27
#-*-coding:utf8-*-
importrequests
importtime
importjson
importos,os.path
eaglecachelog="PATH/TO/SOME_FILE"
ts=int(time.time())
ifos.path.isfile(eaglecachelog):
state=1
else:
state=0
printstate
cache=[
{
"endpoint":"HOSTNAME",
"metric":..
分类:
其他好文 时间:
2016-08-05 21:40:31
阅读次数:
174