25 lines
472 B
Plaintext
25 lines
472 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
|
|
|
|
enable/start docker-service:
|
|
|
|
# systemctl enable docker
|
|
# systemctl start docker
|
|
|
|
run netdata:
|
|
|
|
# docker run --hostname=cms-fa22 -d --cap-add SYS_PTRACE -v /proc:/host/proc:ro -v /sys:/host/sys:ro -p 19999:19999 titpetric/netdata
|