## 基本信息
- 3台
- 代理http请求
- 预测服务超时率汇报
- dsp超时报警
- dsp转发winloss

## 代理http请求
- 使用 nginx
- 配置位置 `/etc/nginx/conf.d/default.conf`

## 预测服务超时率汇报
- proxy-1 才有
- `/data/pycode/proxy_dmp_analyze2`

## dsp超时报警
- `/data/pycode/proxy_status`

## dsp转发winloss
- `/data/dsp-notify`

## 完整定时任务
```
/var/spool/cron/root
*/10 * * * * cd /data/pycode/proxy_status && python main.py mail> /dev/null 2>&1
0 0,6,9,12,15,18,21 * * * /usr/sbin/logrotate -vf /etc/logrotate.d/nginx-dsp

#0 7 * * * cd  /data/pycode/proxy_dmp_analyze2 && nohup python main.py colourdata       >>log.log &
5 7 * * * cd  /data/pycode/proxy_dmp_analyze2 && nohup python main.py samsung-proxy    >>log.log &
#10 7 * * * cd /data/pycode/proxy_dmp_analyze2 && nohup python main.py toutiao          >>log.log &
```

## 日志压缩
```
nginx
/var/log/nginx/toutiao-access.log
/var/log/nginx/samsung-proxy-access.log
/var/log/nginx/colourdata-access.log

nginx-dsp 
/var/log/nginx/error.log
/var/log/nginx/yyb-access.log
/var/log/nginx/toutiao_rta-access.log
/var/log/nginx/qimao_rta-access.log
/var/log/nginx/pangolin-access.log
/var/log/nginx/oppo-access.log
/var/log/nginx/kuaishou-access.log
/var/log/nginx/iflytek-access.log
/var/log/nginx/domob-access.log
/var/log/nginx/baidu-access.log
/var/log/nginx/ylh-access.log
/var/log/nginx/yybnew-access.log
/var/log/nginx/meizu-access.log
/var/log/nginx/qihu-access.log
```