No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.mvn/wrapper first commit Oct 31, 2018
src add showCpuChart and showMemeryChart config Nov 2, 2018
.gitignore first commit Oct 31, 2018
README.md add showCpuChart and showMemeryChart config Nov 2, 2018
lombok.config first commit Oct 31, 2018
mvnw first commit Oct 31, 2018
mvnw.cmd first commit Oct 31, 2018
pom.xml first commit Oct 31, 2018

README.md

Mycat-mini-monitor

配置application.yml:

配置需要监控的机器例如

monitor:
    ips: 10.0.0.1, 10.0.0.2, 10.0.0.3

监控间隔时间(秒)例如

monitor:
    fetchInteval: 10

数据保留时间(秒)(-1为永久)例如

monitor:
    cleanInteval: 86400

是否监控CPU例如

monitor:
    showCpuChart: true

是否监控Memery例如

monitor:
    showMemeryChart: true

打包:

mvn clean package

运行:

java -jar monitor-1.0.0.war

主页:

http://localhost:8080/view/jmx_metrics