====== Netdata - monitor tiempo real ====== ===== Descripción ===== Esta cuestion es super para cosa que no se logran con munin que solo toma cada 5 minutos. Esto es tiempo real\\ ===== Prerequistos ===== Esta cosa tiene un script que lo hace todo (hasta da susto)\\ \\ >> curl -Ss 'https:%%//%%raw.githubusercontent.com/firehol/netdata-demo-site/master/install-required-packages.sh' >/tmp/kickstart.sh && bash /tmp/kickstart.sh -i netdata-all\\ \\ Eso instala lo que se necesite\\ \\ o hacerlo a mano\\ \\ Debian / Ubuntu\\ >> apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make git autoconf autoconf-archive autogen automake pkg-config curl\\ \\ Fedora\\ >> dnf install zlib-devel libuuid-devel libmnl-devel gcc make git autoconf autoconf-archive autogen automake pkgconfig curl findutils\\ \\ CentOS / Red Hat Enterprise Linux\\ >> yum install autoconf automake curl gcc git libmnl-devel libuuid-devel lm-sensors make MySQL - MariaDB-python nc pkgconfig python python-psycopg2 PyYAML zlib-devel\\ ===== Instalación ===== Los scripts que tiene son brillantes\\ \\ download it - the directory 'netdata' will be created\\ \\ >> git clone https:%%//%%github.com/firehol/netdata.git --depth=1\\ >> cd netdata\\ \\ run script with root privileges to build, install, start netdata\\ \\ >> ./netdata-installer.sh\\ \\ Este ultimo toca correrlo como root  y decirle a donde MEJOR\\ \\ >> ./netdata-installer.sh  --install /usr/local/netdata\\ \\ Este script deja corriendo de una netdata y ya puede verlo en localhost:19999\\ ===== Configuración ===== ==== 1. Configurando el arranque ==== **systemd**\\ The installer already installs netdata.service if it detects a systemd system.\\ \\ To install netdata.service by hand, run:\\ \\ stop netdata\\ >> killall netdata\\ \\ copy netdata.service to systemd\\ >> cp system/netdata.service /etc/systemd/system/\\ \\ let systemd know there is a new service\\ >> systemctl daemon-reload\\ \\ enable netdata at boot\\ >> systemctl enable netdata\\ \\ start netdata\\ >> systemctl start netdata\\ \\ \\ **init.d  o SystemV**\\ \\ In the system directory you can find netdata-lsb. Copy it to the proper place according to your distribution documentation. For Ubuntu, this can be done via running the following commands as root.\\ \\ copy the netdata startup file to /etc/init.d\\ >> cp system/netdata-lsb /etc/init.d/netdata\\ \\ make sure it is executable\\ >> chmod +x /etc/init.d/netdata\\ \\ enable it\\ >> update-rc.d netdata defaults\\ \\ o en Centos / RH viejos\\ \\ >> chkconfig --add netdata\\ \\ **other systems**\\ \\ You can start netdata by running it from /etc/rc.local or equivalent.\\ \\ ==== 2. Segunda accion ==== ===== Trucos ===== ===== Problemas ===== ==== 1. Si el instale_mrtg.sh no le funciona ==== - ===== Referencias ===== -  https:%%//%%github.com/firehol/netdata/wiki FIN ---- __**Advertencia**__ Este documento es privado y es de u so exclusivo de sus autores y de SKINA TECH. Cualquier uso sin una autorización escrita es contra la ley de derechos de autor y de propiedad intelectual, y será motivo de una acción legal. ----   ============================================================== 15-Marzo-2006 J.E.Gomez v1.0 Primera version