You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
564 B
31 lines
564 B
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
|
|
|