Authored by qinchao

恢复监控

... ... @@ -38,7 +38,7 @@ public class RedisMonitorTask {
private long updateTime;
//@Scheduled(cron = "${cron_task_redis_monitor}")
@Scheduled(cron = "${cron_task_redis_monitor}")
public void dispathTask() {
updateTime = System.currentTimeMillis();
... ...
... ... @@ -73,7 +73,7 @@ public class DockerMonitorTask {
}
}
//@Scheduled(cron = "${cron_task_docker_pod_scan}")
@Scheduled(cron = "${cron_task_docker_pod_scan}")
public void monitor() {
if("test1".equals(env)||"test".equals(env)){
return ;
... ...
... ... @@ -30,7 +30,7 @@ public class MysqlMonitorTask {
@Autowired
MysqlMonitorServiceImpl mysqlMonitorService;
//@Scheduled(cron = "${cron_task_mysql_monit}")
@Scheduled(cron = "${cron_task_mysql_monit}")
public void monitor() {
synchronized (lockStr.intern()) {
List<MysqlMobjectRep> mysqlMobjectReps= mobjectService.getMysqlMobject();
... ...
... ... @@ -37,7 +37,7 @@ public class NodePm2Task {
@Autowired
private NodeHostMapper nodeHostMapper;
//@Scheduled(cron = "${cron_task_node_mem}")
@Scheduled(cron = "${cron_task_node_mem}")
public void nodePm2Info() {
logger.info("cron_task_node_mem start");
... ...
... ... @@ -7,16 +7,16 @@ JavaApiExecutorPoolMaxSize=50
nginxsync.agent=172.31.16.167:6060
zookeeper.address=yoho-ops-zookeeper:2181
#zookeeper.address=172.31.50.139:2181
#zookeeper.address=yoho-ops-zookeeper:2181
zookeeper.address=172.31.50.139:2181
#aws.redis.proxy.address=172.31.31.170
aws.redis.proxy.address=yoho-ops-redis
aws.redis.proxy.address=172.31.31.170
#aws.redis.proxy.address=yoho-ops-redis
aws.redis.proxy.port=6379
aws.redis.proxy.auth=
zkAddress=yoho-ops-zookeeper:2181
#zkAddress=172.31.50.139:2181
#zkAddress=yoho-ops-zookeeper:2181
zkAddress=172.31.50.139:2181
search.aws.url=http://internal-search-1492740248.cn-north-1.elb.amazonaws.com.cn/
search.qq.url=http://10.66.4.30/
... ...