diff --git a/telegraf-influxdb-grafana/README.md b/telegraf-influxdb-grafana/README.md index 1ecc442..d8fc045 100644 --- a/telegraf-influxdb-grafana/README.md +++ b/telegraf-influxdb-grafana/README.md @@ -34,7 +34,8 @@ services: volumes: influxdb: - grafana:``` + grafana: + ``` When deploying this setup docker-compose maps InfluxDB in the port 8086 and 3000 for Grafana. The Telegraf container enable to you to specify in a telegraf.conf file what systems you want to monitor. By default Telegraf going to connect to http://influxdb:8086 and start to report data about your server. @@ -51,6 +52,7 @@ Creating telegraf ... done ## Expected result Check containers are running and the port mapping: + ``` $ docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES @@ -58,8 +60,6 @@ CONTAINER ID IMAGE COMMAND CREATED 09aa6d8b4dc5 telegraf:latest "/entrypoint.sh tele…" About a minute ago Up 51 seconds 8092/udp, 8125/udp, 8094/tcp telegraf 0760db685a08 influxdb:latest "/entrypoint.sh infl…" About a minute ago Up 51 seconds 0.0.0.0:8086->8086/tcp influxdb -``` - Navigate to `http://localhost:3000` in your web browser to access the installed Grafana. The default user and password is admin/admin ![page](screenshot.png) @@ -68,9 +68,9 @@ Stop and remove the containers ``` $ docker-compose down -``` + To delete all data, remove all named volumes by passing the `-v` arguments: ``` -$ docker-compose down -v -``` +docker-compose down -v +d