bash <(curl -Ss https://my-netdata.io/kickstart.sh)
systemctl restart netdata
insert
echo "metric2:+2|c" | nc localhost 8125
https://netdata.2i.raphaelpiccolo.com/api/v1/allmetrics
https://raw.githubusercontent.com/firehol/netdata/master/web/netdata-swagger.yaml
http://2i.raphaelpiccolo.com:19999/api/v1/charts
créer un domaine (sur ovh par ex)
créer les certificats avec letsencrypt
créer un htpasswd (/etc/apache2/.htpasswd)
ajouter un vhost
ServerName netdata.raphaelpiccolo.com RewriteEngine on RewriteRule ^/(.*) https://netdata.raphaelpiccolo.com/$1 [L,R] ServerName netdata.raphaelpiccolo.com SSLEngine on SSLCertificateFile "/etc/letsencrypt/live/netdata.raphaelpiccolo.com/cert.pem" SSLCertificateKeyFile "/etc/letsencrypt/live/netdata.raphaelpiccolo.com/privkey.pem" SSLCertificateChainFile "/etc/letsencrypt/live/netdata.raphaelpiccolo.com/chain.pem" ProxyRequests Off ProxyPass / http://localhost:19999/ ProxyPassReverse / http://localhost:19999/ ProxyPreserveHost On