NetData - El panel de monitorización Linux mas completo para tu Pi - Instalación y configuración

Sección Unicamente para Tutoriales y Guías
Avatar de Usuario
Kike
Administrador
Administrador
Mensajes: 2311
Registrado: 13 May 2016, 18:53
Ubicación: Islas Baleares - Menorca
Agradecido: 47 veces
Agradecimiento recibido: 175 veces
Contactar:

silvyana escribió: 05 Nov 2023, 09:46 Buenos días a todos.
Me ocurre lo siguiente; cuando estoy en el paso:
"Nos pedirá confirmación para instalar, y pulsamos ENTER”
En vez de:
“... OK. NetData is installed and it is running. ...”
Responde con:
./netdata-installer.sh: 562: shift: can't shift that many
.
SECUENCIA COMPLETA:
“...
pi@raspberrypi:~/netdata $ sudo ./netdata-installer.sh --libs-are-really-here

^
|.-. .-. .-. .-. .-. . netdata .-. .-. .-. .-. .-. .-
| '-' '-' '-' '-' '-' '-' '-' '-' '-' '-'
+----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+--->

--- real-time performance monitoring, done right! ---

You are about to build and install netdata to your system.

The build process will use /tmp for
any temporary files. You can override this by setting $TMPDIR to a
writable directory where you can execute files.

It will be installed at these locations:

- the daemon at /usr/sbin/netdata
- config files in /etc/netdata
- web files in /usr/share/netdata
- plugins in /usr/libexec/netdata
- cache files in /var/cache/netdata
- db files in /var/lib/netdata
- log files in /var/log/netdata
- pid file at /var/run/netdata.pid
- logrotate file at /etc/logrotate.d/netdata

This installer allows you to change the installation path.
Press Control-C and run the same command with --help for help.


NOTE:
Anonymous usage stats will be collected and sent to Netdata.
To opt-out, pass --disable-telemetry option to the installer or export
the environment variable DISABLE_TELEMETRY to a non-zero or non-empty value
(e.g: export DISABLE_TELEMETRY=1).

Press ENTER to build and install netdata to your system >
./netdata-installer.sh: 562: shift: can't shift that many
pi@raspberrypi:~/netdata $

...”

Alguna idea?
GRACIAS

Saludos
Pedro
Buenos días Pedro! Te actualizo rápidamente el tutorial (probado en mi Rpi4) :

1) Inserta este comando para instalar:

Código: Seleccionar todo

wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --disable-telemetry
2) Te pide leer un texto y pulsas la tecla Y

3) Se habrá instalado en unos segundos, y por último configuramos para que arranque con el sistema:

Código: Seleccionar todo

sudo systemctl enable netdata
Y arrancamos netdata:

Código: Seleccionar todo

sudo systemctl start netdata
Para acceder simplemente pones tu IP de la raspberry en el navegador con el puerto 19999
IP:19999

Para cualquier cosa me comentas, un abrazo :guiño2
Si lo puedes soñar, lo puedes hacer
silvyana
Pi Newbie
Pi Newbie
Mensajes: 3
Registrado: 05 Nov 2023, 09:28
Agradecido: 0
Agradecimiento recibido: 1 vez

Muchas gracias Kike

Después de volverme loco, tenía aquí tu respuesta, mirare ciertos comandos que también has dejado.

Así lo he resuelto:
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --disable-telemetry
ver:
https://learn.netdata.cloud/docs/installing/
Estos usuarios agradecieron al autor silvyana por el mensaje:
Kike
Responder