Node Address Status Type Build Protocol DC 10.2.0.80 10.2.0.80:8301 alive server 0.5.2 2 dc1 10.2.0.77 10.2.0.77:8301 alive server 0.5.2 2 dc1 10.2.0.134 10.2.0.134:8301 alive server 0.5.2 2 dc1
./consul-template --config check_nginx.conf 启动结果: 2016/07/05 14:50:56 [DEBUG] (config) loading configs from "check_nginx.conf" the configuration file /opt/test/nginx/conf/nginx.conf syntax is ok configuration file /opt/test/nginx/conf/nginx.conf test is successful
b2da5c842a06 tutum/influxdb:0.10 "/run.sh" 5 days ago Up 23 hours 0.0.0.0:8083->8083/tcp, 8090/tcp, 0.0.0.0:8086->8086/tcp, 8099/tcp influxsrv
新建数据酷
docker exec -ti influxsrv /bin/bash root@b2da5c842a06:/# influx Visit https://enterprise.influxdata.com to register for updates, InfluxDB server management, and monitoring. Connected to http://localhost:8086 version 0.10.0 InfluxDB shell 0.10.0
CREATE DATABASE cadvisor
SHOW DATABASES
name: databases
name
_internal
cadvisor
use cadvisor
CREATE USER "root" WITH PASSWORD 'root' WITH ALL PRIVILEGES
show users
user admin
root true
exit