# because the directory/data user group and the user is the Jtserver,docker execution command is the root user,/data/lib/prometheus to the other group permissions to perform
sudo mkdir/data/lib/prometheus
sudo chown 767/data/lib/prometheus
docker run-d \
p 9090:9090 \
--restart=always \
--name Prometheus \
-v/data/lib/prometheus:/data/lib/prometheus \
-v/etc/prometheus/prometheus.yml:/etc/ PROMETHEUS/PROMETHEUS.YML \
prom/prometheus \
--config.file=/etc/prometheus/prometheus.yml \
Label: 1. Installation Platform 1). Grafana , access to a variety of data sources, custom reports, display charts and so on to provide interface monitoring, the default port is 3000, the default login information admin wget https://grafanarel.s3.amazonaws.com/builds/grafana-3.1.1-1470047149.x86_64.rpm
Yum Install initscripts fontconfig-y
-ivh grafana-3.1. 1-1470
What is the official explanation for Grafana's:Grafana is an open source program for visualizing large measurement data, providing a powerful and elegant way to create, share, and explore data. The data from your different metric data sources is displayed in dashboard.Grafana is most commonly used for Internet infrastructure and application analysis, but it also has opportunities in other areas such as industrial sensors, home automation, Process control, and so on.The
--delete
flag
Optional Flag That deletes data on any row that matches the query. See warning below. An optional tag that removes data from any row that matches the query.
not set
--delete
--import
flag
Optional flag That outputs results in a text format useful for importing or storing as a backup.
not set
--import
start-date
string or Integer
Starting time for the query. This is a absol
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 Influxdb Docker instance to store cadvisor generated data, then run a
provides the HTTP API, so you can use InfluxDB to easily build a monitoring data storage center. For INFLUXDB in the data show, here have to mention the data display weapon-grafana.Second, GrafanaA purely HTML/JS application that is very powerful and does not have cross-domain access restrictions when accessing influxdb. As long as you have configured the data source for Influxdb, the rest of the work is to configure the chart.To configure a data source:Set query criteria:Presentation data:Graf
Opentsdb + grafana monitoring is summarized based on usage, opentsdbgrafana1. OpenTSDB introduction OpenTSDB, an Open Source Monitoring System, uses hbase to store all time sequences (without sampling) to build a distributed and scalable Time Series database. It supports second-level data collection of all metrics, permanent storage, capacity planning, and easy access to the existing alarm system. OpenTSDB can obtain the corresponding metrics from a l
Tags: managing file LAN port mappings default input enabled volume typeObjectiveA few years ago since the house of several cats often problems, because there is no effective monitoring and warning means, so that the problem arises or a long time will be notified. One o'clock in the morning this pot can no one want to back, to this end based on the current situation to build the following a set of monitoring and warning system.Related software
Nginx: Proxy Access
Tags: using the download LOB stderr results UAC easy-to-use DEP amp
The Docker swarm cluster has many monitoring options, and the Cadvisor+influxdb+grafana solution is powerful and flexible. The most important thing is that this program is open source, free, easy to use, is an inexpensive version of the monitoring program. Reference Document: https://botleg.com/stories/monitoring-docker-swarm-with-cadvisor-influxdb-and-
After installation, the ETC folder will create a new Grafana folder with the following structure:
[Root@hotlinking-spark-dev001-shgq sysconfig]# ls/etc/grafana/
grafana.ini ldap.toml
Grafana Environment files (envrionment file) are stored under/etc/sysconfig/grafana-server and can be modified to change the log storag
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
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 "/
Use cAdvisor + InfluxDB + Grafana to configure Docker monitoring and cadvisorinfluxdb
Configure the Docker monitoring system, collect data (cAdvisor)-> store data (InfluxDB)-> display data (Grafana)InfluxDB
A series of InfluxDB learning articles. You can view articles related to English blogs and Linux universities.1. docker pull Image
docker pull tutum/influxdb:0.9
The version can be defined as needed. The
First, install the Grafana-zabbix1. On the zabbixserver server, install GrafanaYum Install https://grafanarel.s3.amazonaws.com/builds/grafana-2.1.1-1.x86_64.rpm2, download Grafana Zabbix plugin, downloaded in git, if you cannot run the following command, you can first "# Yum install git" installation of this command[[email protected] ~]# git clone Https://github.
Tags: order variable SQL statement DMI PAT Default DESC Others exampleSimple requirements:Statistics of the 3 major operators in each province interface access success rate, drawing displayData format Logs for final storage (INFLUXDB) Sample data: (Influxdb SQL) INSERT crawl_result,isp=中国移动,province=上海,mobile=15912345678 success="1"
INSERT crawl_result,isp=中国移动,province=上海,mobile=15912345678 success="1"
INSERT crawl_result,isp=中国移动,province=上海,mobile=15912345678 success="1"
INSERT crawl_result,i
Tags: base URL Access View name proxy extra def leaseTelegraf+influxdb+grafana Open Source Monitoring architecture:Telegraf monitoring items are full, no need to install additional plugins, very powerfulTelegraf:wget https://dl.influxdata.com/telegraf/releases/telegraf-1.5.1-1.x86_64.rpmrpm-i telegraf-1.5.1-1.x86_64. Rpmservice Telegraf RestartThe default will point to 127.0.0.1 's influxdb 8086 port (/etc/telegraf/telegraf.conf file, the default data
Build modern surveillance systems with Grafana, COLLECTD and InfluxDBLet's show the little buddies the surveillance that was drawn by Grafana.650) this.width=650; "src=" Http://i.imgur.com/bkXUtFx.png "style=" margin-top:0px;margin-right:0px;margin-bottom:0 px;margin-left:0px;padding-top:0px;padding-right:0px;padding-bottom:0px;padding-left:0px;border-top-width:0px; border-right-width:0px;border-bottom-widt
Build a modern monitoring system using Grafana, collectd, and InfluxDB
To create a beautiful real-time monitoring system like New Relic, we only need the three InfluxDB, collectd, and Grafana tools. The relationship between these three tools is as follows:
Collect data-> store data (InfluxDB)-> display data (Grafana ).
InfluxDB is an open-source Distributed Ti
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.