mirroir readonly du Gitit wiki.evolix.org (attention, ne rien commiter/merger sur ce dépôt) https://wiki.evolix.org
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.

1.2 KiB

categories title
web monitoring Howto Netdata


# apt install curl gnupg apt-transport-https debian-archive-keyring
# curl -L https://packagecloud.io/netdata/netdata/gpgkey | apt-key add -
# echo "deb https://packagecloud.io/netdata/netdata/debian/ $(lsb_release -c -s) main" > /etc/apt/sources.list.d/netdata_netdata.list
# apt update
# apt install netdata


L’accès par défaut se fait sur le port 19999. Ou bien on peut configurer un reverse proxy Apache ou Nginx.

Accès via Apache

    RewriteEngine On
    ProxyRequests Off
    ProxyPreserveHost On

    <Proxy *>
        Require all granted

    # Local Netdata server accessed with '/netdata/', at localhost:19999
    ProxyPass "/netdata/" "http://localhost:19999/" connectiontimeout=5 timeout=30 keepalive=on
    ProxyPassReverse "/netdata/" "http://localhost:19999/"

    # if the user did not give the trailing /, add it
    # for HTTP (if the virtualhost is HTTP, use this)
    RewriteRule ^/netdata$ http://%{HTTP_HOST}/netdata/ [L,R=301]
    # for HTTPS (if the virtualhost is HTTPS, use this)
    #RewriteRule ^/netdata$ https://%{HTTP_HOST}/netdata/ [L,R=301]