32 lines
564 B
Plaintext
32 lines
564 B
Plaintext
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
|
|
|
|
disable iptables/docker
|
|
|
|
# vi /etc/docker/deamon.json
|
|
{
|
|
"iptables": false
|
|
}
|
|
|
|
enable/start docker-service:
|
|
|
|
# systemctl enable docker
|
|
# systemctl start docker
|
|
|
|
run netdata:
|
|
|
|
# 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
|