2018-03-22 10:40:17 +01:00
|
|
|
howto run netdata (in a docker) monitoring on a server:
|
|
|
|
|
|
|
|
disable ipv6:
|
|
|
|
|
|
|
|
# vi /etc/sysctl.conf:
|
|
|
|
net.ipv6.conf.all.disable_ipv6 = 1
|
|
|
|
net.ipv6.conf.default.disable_ipv6 = 1
|
|
|
|
|
|
|
|
rerun sysctl:
|
|
|
|
|
|
|
|
# sysctl -p
|
|
|
|
|
|
|
|
install docker:
|
|
|
|
|
|
|
|
# yum install docker -y
|
|
|
|
|
2018-03-22 11:33:13 +01:00
|
|
|
disable iptables/docker
|
|
|
|
|
|
|
|
# vi /etc/docker/deamon.json
|
|
|
|
{
|
|
|
|
"iptables": false
|
|
|
|
}
|
|
|
|
|
2018-03-22 10:40:17 +01:00
|
|
|
enable/start docker-service:
|
|
|
|
|
|
|
|
# systemctl enable docker
|
|
|
|
# systemctl start docker
|
|
|
|
|
|
|
|
run netdata:
|
|
|
|
|
2018-03-22 12:20:34 +01:00
|
|
|
# docker run --network host --hostname=cms-fa22 -d --cap-add SYS_PTRACE -v /proc:/host/proc:ro -v /sys:/host/sys:ro -p 19999:19999 titpetric/netdata
|