del_err_sql="delete from tbl_monitor_portrait_err where monitor_time < '"+three_days_ago_time_str+"'"
del_shd_sql="delete from tbl_monitor_portrait_shd where monitor_time < '"+three_days_ago_time_str+"'"
del_suc_sql="delete from tbl_monitor_portrait_suc where monitor_time < '"+three_days_ago_time_str+"'"
mapping_sql="select action,name from tbl_mapping_action_name"
err_sql="select count(1) from tbl_monitor_portrait_err where monitor_time >= '"+ten_minites_ago_time_str+"' and monitor_time <= '"+current_time_str+"'"
shd_sql="select action_shd,count_shd from tbl_monitor_portrait_shd where monitor_time >= '"+ten_minites_ago_time_str+"' and monitor_time <= '"+current_time_str+"'"
suc_sql="select action_suc,count_suc from tbl_monitor_portrait_suc where monitor_time >= '"+ten_minites_ago_time_str+"' and monitor_time <= '"+current_time_str+"'"