taokeeper监控中心

摘要: taokeeper监控中心

环境

1
2
3
4
5
6
7
8
9
10
wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-7/v7.0.85/bin/apache-tomcat-7.0.85.tar.gz
mv apache-tomcat-7.0.85 taokeeper-monitor
rm -rf taokeeper-monitor/webapps/*
cd taokeeper-monitor/webapps
wget https://github.com/downloads/alibaba/taokeeper/taokeeper.sql
wget https://github.com/downloads/alibaba/taokeeper/taokeeper-monitor.tar.gz
tar -zxvf taokeeper-monitor.tar.gz -C /data/client/taokeeper-monitor/webapps/
mv /data/client/taokeeper-monitor/webapps/taokeeper-monitor /data/client/taokeeper-monitor/webapps/ROOT
mkdir /data/client/taokeeper-monitor/webapps/conf
wget https://github.com/downloads/alibaba/taokeeper/taokeeper-monitor-config.properties

配置
taokeeper-monitor-config.properties

1
2
3
4
5
dbcp.dbJDBCUrl=jdbc:mysql://192.168.241.21:3306/taokeeper
dbcp.characterEncoding=utf-8
dbcp.username=root
dbcp.password=123456
SystemConstent.dataStoreBasePath=/data/client/taokeeper-monitor/dataStore

修改
/data/client/taokeeper-monitor/bin/catalina.sh

1
JAVA_OPTS=-DconfigFilePath="/data/client/taokeeper-monitor/webapps/ROOT/conf/taokeeper-monitor-config.properties"

需要安装nc 和 sshd

1
2
yum install -y nc
yum -y install openssh*

如果遇到机器监控不显示可以看这里
最后结果
这里写图片描述
这里写图片描述
这里写图片描述

这里提供快速通道http://download.csdn.net/download/liu_zhaoming/10252626
内置tomcat点击可运行

评论