Build Cadvisor + INFLUXDB + Grafna Monitoring System

Source: Internet
Author: User
Tags grafana docker run influxdb cadvisor

Start Influxdb

Docker run-d--net=host-e pre_create_db=cadvisor--name influxsrv tutum/influxdb:0.8.8


Start Cadvisor

Docker run--volume=/:/rootfs:ro--volume=/var/run:/var/run:rw--volume=/sys:/sys:ro--volume=/var/lib/docker/:/va R/lib/docker:ro--publish=8080:8080--detach=true--name=cadvisor-e run_opts= "-storage_driver=influxdb-storage_d river_host=hostip:8086 "Logbase/cadvisor-influxdb

Abnormal:
At the beginning, the INFLUXDB executes the list series without data, knowing that cadvisor is not transmitting to DB
/usr/bin/cadvisor--logtostderr--v=2 View detailed log, usually network problems, the official image has been a problem, unable to read the network status, so replace the mirror


Start Grafana

Docker run-d--net=host-e http_user=admin-e http_pass=admin-e influxdb_host=localhost-e influxdb_port=8086-e INFLUXD B_NAME=CADVISOR-E influxdb_user=root-e influxdb_pass=root--name Grafana grafana/grafana:2.0.2



This article is from the "Silver Fox" blog, please be sure to keep this source http://foxhound.blog.51cto.com/1167932/1774410

Build Cadvisor + INFLUXDB + Grafna Monitoring System

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.