1. cadvisor监控

利用谷歌的cadvisor,目前只能监控docker下的容器

1
2
3
4
5
6
7
 docker pull hub.c.163.com/xbingo/cadvisor:latest
docker run \
-v /var/run:/var/run \
-v /sys:/sys:ro \
-v /var/lib/docker:/var/lib/docker:ro \
-d -p 8080:8080 --name=mon \
hub.c.163.com/xbingo/cadvisor:latest

2. scope监控

1
2
3
4
5
6
[root@control ~]# ./scope launch
6766fe71c2edc2977631a9b419f640d974f590af52ffd8b15581672e1193c896
Scope probe started
Weave Scope is listening at the following URL(s):
* http://192.168.10.10:4040/
* http://10.4.0.1:4040/