Home > other >  The correct build cadvisor + influxdb + grafana monitoring platform
The correct build cadvisor + influxdb + grafana monitoring platform

Time:09-21

In the following order to build cadvisor + influxdb + grafana monitoring platform:
1. The docker run - d - p 8083:8083-8086: p 8086 - expose 8090 - expose 8099 - e PRE_CREATE_DB=cadvisor - name influxsrv tutum/influxdb: 0.8.8
To access the page: http://192.168.3.156:8083/

2. Docker run -- volume=//rootfs: ro - volume=/var/run/var/run: rw - volume=/sys/sys: ro - volume=/var/lib/docker/:/var/lib/docker: ro - publish=8080:8080 - detach=true - link influxsrv: influxsrv - name=cadvisor Google/cadvisor: latest - storage_driver_db=influxdb - storage_driver_host=influxsrv: 8086
To access the page: http://192.168.3.156:8080

3. The docker run - d - 3000: p INFLUXDB_HOST=influxsrv - 3000 - e e INFLUXDB_PORT INFLUXDB_NAME=cadvisor=8086 - e - e INFLUXDB_USER INFLUXDB_PASS=root=root - e - link influxsrv: influxsrv - name grafana grafana/grafana
To access the page: http://192.168.3.156:3000

The data source is added in the grafana, always an error:


Got an afternoon, heads, a great god guide, genuflect is begged

CodePudding user response:

Possible reasons:
1. Influxdb configuration in the wrong url
2. Not create in influxdb root
Please refer to the following post verification screening errors,
http://www.jianshu.com/p/d078d353d12f
  • Related