Netdata: mudanças entre as edições

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Sem resumo de edição
Sem resumo de edição
Linha 16: Linha 16:
<source lang="bash">
<source lang="bash">
printf "yourusername:$(openssl passwd -crypt 'yourpassword')" > /etc/nginx/passwords
printf "yourusername:$(openssl passwd -crypt 'yourpassword')" > /etc/nginx/passwords
</source>
<source lang="nginx">
server {
    auth_basic "Protected";
    auth_basic_user_file passwords;
}
        location /stub_status {
          stub_status on;
          access_log  off;
          allow 127.0.0.1;
          deny all;
        }
</source>
</source>



Edição das 11h58min de 19 de julho de 2017

Página do projeto

Instalando

apt-get install zlib1g-dev uuid-dev libmnl-dev gcc make autoconf autoconf-archive autogen automake pkg-config curl git
cd /usr/src
git clone https://github.com/firehol/netdata
cd netdata/
./netdata-installer.sh

No Nginx

geral senha

printf "yourusername:$(openssl passwd -crypt 'yourpassword')" > /etc/nginx/passwords
server {
    auth_basic "Protected";
    auth_basic_user_file passwords;
}

        location /stub_status {
          stub_status on;
          access_log   off;
          allow 127.0.0.1;
          deny all;
        }


Acessa em http://192.168.0.1:19999

Configuração em http://192.168.0.1:19999/netdata.conf

Referência