Commit bf5f978d authored by 赵建伟's avatar 赵建伟

update codes

parent 01a6a305
*/10 * * * * python /srv/apps/flink-monitor/shs/statistics.py
\ No newline at end of file
*/10 * * * * /usr/local/bin/python2.7 /srv/apps/flink-monitor/libs/statistics.py
\ No newline at end of file
......@@ -133,6 +133,8 @@ def check_is_ok():
if shd_dic.get(suc[0]) != suc[1]:
is_send = True
error_msg += "【" + mapping_dic.get(suc[0]) + "】打点异常,应打点个数为:" + bytes(shd_dic.get(suc[0])) + ",实际打点个数为:" + bytes(suc[1]) + ", 请核实!\n"
else:
print "all is ok!"
if is_send:
logging.error(error_msg)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment