This article explains how to use python to operate the InfluxDB method environment: CentOS6.5 _ x64
InfluxDB version: 1.1.0
Python: 2.6
Preparations
Start the server
Run the following command:
service influxdb start
Example:
[root@localhost ~]# service influxdb startStarting
Google Cadvisor is a great tool for monitoring Docker containers, but it only shows real-time data by default and does not store historical data. In order to store and display historical data, custom displays, you can integrate Cadvisor with Influxdb, Grafana, a foreign expert Brian Christner wrote an article "How to setup Docker monitoring", Describes the deployment method.Brian's approach is to manually run the Docker Run command to deploy, in order
configuration options, you can view the Cadvisor project documentation on GitHub.
InfluxDB: It is a distributed time series database. Cadvisor only displays real-time information, but does not store monitoring data. Therefore, we need to provide a time series database to store the monitoring information provided by the Cadvisor component in order to display timing data in addition to live information.
Grafana: The Grafana visual display platf
Tags: value duration duplicate function does not duplicate dictionary port CPU alterINFLUXDB Basic Concept data formatIn InfluxDB, we can take a rough look at the data that will be deposited as a virtual key and its corresponding value (field value). The format is as follows:cpu_usage,host=server01,region=hn-zhengzhou value=0.64 1434055562000000000The virtual key consists of the following parts: database, retention policy, measurement, tag sets, field
Collectd+influxdb+grafana Building Performance monitoring PlatformPreface
InfluxDB is an open-source distributed time-series database for Go language development, which is well suited for storing metrics, events, analytics and other data; key-value times database performance is good.
COLLECTD is a system performance acquisition tool written in the C language.
Grafana is a front-end tool for
Hadoop cluster monitoring needs to use a time series database, today spent half a day to investigate the use of the recent comparison of Fire influxdb, found it is really good, record the learning experience.Influx is written in the go language, developed for time series data persistence, and is supported by all platforms due to the use of the Go language. Similar time-series databases have Opentsdb,prometheus and so on.Opentsdb is very famous, perfor
Relies on the Kubenets DNS serviceAddress: https://note.youdao.com/web/#/file/WEB42cf75c02ae113136ff664f3f137cb67/note/WEB0eec19f3667471969b3354b7128fda9c/The implementation of the graphical presentation metrics requires the integration of another addons component of the k8s: Heapster. Heapster Native supports k8s (v1.0.6 and later versions) and CoreOS, and supports a variety of storage backend, such as InfluxDB, ElasticSearch, Kafka.Mirror address:In
Tags: grafana collectd influxdbWhy study Grafana, COLLECTD and InfluxDB, because I work in the use of open source monitoring software (Nagios, Cacti) drawing is based on RRD implementation, and frankly not very beautiful, and can not customize the chart, But with my development level can not do to write their own charts. 650) this.width=650; "src=" Http://img.baidu.com/hi/jx2/j_0059.gif "alt=" J_0059.gif "/>GRAFANA+COLLECTD+
Google Cadvisor is a great tool for monitoring Docker containers, but it only shows real-time data by default and does not store historical data. To store and display historical data, custom displays, you can integrate Cadvisor with Influxdb, Grafana.Required Image:Tutum/influxdbGoogle/cadvisorGrafana/grafanaInstallation: There are 8 mesos-slave that need to run a Cadvisor Docker instance to monitor Docker, then run a
Tags: column into simple format host related MAT statement LANHere is a note of the simple use of the influx console, for more features please refer to INFLUXDB official documentation: HTTPS://DOCS.INFLUXDATA.COM/INFLUXDB/V1.1/ Environment: centos6.5_x64Influxdb version: 1.1.0Preparatory work
Start the server
Execute the following command: Service Influxd
First, INFLUXDB open COLLECTD plug-in
InfluxDB now bring a COLLECTD plug-in to get the data from the COLLECTD client, it was not so convenient, oh, 0.8. Version 4 previously can only be connected by a third-party program such as Influxdb-collectd-proxy to COLLECTD and InfluxDB.InfluxDB comes with the COLLECTD plug-in is turned off by default, you need to manually
First,InfluxDB open collectd plug-inInfluxDB now bring a COLLECTD plug-in to get the data from the COLLECTD client, it was not so convenient, oh, 0.8. Version 4 previously can only be connected by a third-party program such as Influxdb-collectd-proxy to COLLECTD and InfluxDB.InfluxDB comes with the COLLECTD plug-in is turned off by default, you need to manually configure Open Enabled = True, and fill in the
operations and configuration options, you can view the Cadvisor project documentation on GitHub. influxdb: It is a distributed time series database. Cadvisor only displays real-time information, but does not store monitoring data. Therefore, we need to provide a sequential database for storing the monitoring information provided by the Cadvisor component to display time series data in addition to real-time information. Grafana: The Grafana visual dis
Tags: two alt places statistic pop csdn read hit theInfluxdb is a time series database. CentOS Download and install commandswget https://dl.influxdata.com/influxdb/releases/influxdb-1.2.4.x86_64.rpmsudo yum localinstall influxdb-1.2.4.x86_64.rpmService Influxdb Start//StartupNetstat-an | grep 8086Netstta-an | grep 8088
Summary of basic concepts of INFLUXDBInfluxdb as a time series database, compared with the traditional relational database, there are some differences, the following as far as possible in a simple and concise way to introduce the relevant terminology conceptsI. Basic CONCEPTS
MySQL
Influxdb
Description
Database
Database
Database
Table
Measurement
The concept of a table
Tags: blog http io os ar file sp div onWith this logstash extension,Https://github.com/PeterPaulH/logstash-influxdb/blob/master/src/influxdb.rbPut this file in Logstash-1.4.2/lib/logstash/outputs.Look at the Logstash document for the afternoon and finally solve their own needsThis is what Python describes.Development requirements The number of various types in the statistics logWhile True: line = F.readline () try: if ' "type": "Text", "r
Tags: style blog http io ar os sp for stronginstallation command: # for 64-bit Systemswget http://s3.amazonaws.com/influxdb/influxdb-latest-1.x86_64.rpmsudo rpm-ivh influxdb-latest-1.x86_64.rpm The specific installation process is as follows: wget http://s3.amazonaws.com/influxdb/i
1: IntroductionInfluxDB is an open source distributed timing, event, and metrics database. Written in the Go language without external dependencies. Its design goal is to achieve distributed and horizontal scaling expansion.1, it has three major features:1. Time series (timeseries): You can use time-related functions (such as Max, Min, sum, etc.)2. Metrics (Metric): You can calculate large amounts of data in real time3. Eevents (Event): It supports arbitrary event data2. FeaturesSchemaless (unst
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.