Public Repository

Last pushed: 6 months ago
Short Description
Short description is empty for this repo.
Full Description

docker run -d \
--name Monitor \
-v /var/lib/influxdb:/var/lib/influxdb/ \
-p 3003:3003 \
-p 3004:8083 \
-p 8086:8086 \
-p 2003:2003 \
-p 25826:25826/udp
ngoctamtam/grafana_influxdb_netdata

Mapped Ports
Host Container Service

3003 3003 grafana
3004 8083 influxdb-admin
8086 8086 influxdb
8125 8125 statsd
22022 22 sshd

Grafana
Open http://10.199.0.225:3003
Username: root
Password: root

influxdb:
Web Interface
Open http://10.199.0.225:3004
Username: root
Password: root
Port: 8086

https://hub.docker.com/r/samuelebistoletti/docker-statsd-influxdb-grafana/
Thêm agent
Tại máy agent cài đặt:

wget https://dl.influxdata.com/telegraf/releases/telegraf_1.2.0_amd64.deb

dpkg -i telegraf_1.2.0_amd64.deb

telegraf -sample-config -input-filter cpu:mem:swap -output-filter influxdb > telegraf.conf

vim telegraf.conf

telegraf -config telegraf.conf

Cài đặt netdata:
https://github.com/firehol/netdata/wiki/Installation

vim /etc/netdata/netdata.conf

[backend]
enabled = yes
data source = average
type = graphite
destination = tcp:<ip-target>:2003
prefix = netdata
hostname = ITAPP02
update every = 10
buffer on failures = 10
timeout ms = 20000

Test connect database
http://<target-ip>:3004/ database
http://<target-ip>:3003/ grafana

Docker Pull Command
Owner
ngoctamtam