Mudanças entre as edições de "Netdata"
De MochilaWiki
Ir para navegaçãoIr para pesquisar (Criou página com 'Página do projeto * https://github.com/firehol/netdata == Instalando == <source lang="bash"> apt-get install zlib1g-dev gcc make git autoconf autogen automake pkg-config git...') |
|||
Linha 4: | Linha 4: | ||
== Instalando == | == Instalando == | ||
<source lang="bash"> | <source lang="bash"> | ||
− | apt-get install zlib1g-dev gcc make | + | 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 | git clone https://github.com/firehol/netdata | ||
cd netdata/ | cd netdata/ | ||
./netdata-installer.sh | ./netdata-installer.sh | ||
+ | </source> | ||
+ | |||
+ | == No Nginx == | ||
+ | |||
+ | geral senha | ||
+ | <source lang="bash"> | ||
+ | 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> | ||
Linha 16: | Linha 40: | ||
== Referência == | == Referência == | ||
* https://blog.butecopensource.org/monitoramento-de-servidor-com-netdata/ | * https://blog.butecopensource.org/monitoramento-de-servidor-com-netdata/ | ||
+ | * http://yallalabs.com/linux/how-to-install-netdata-to-monitor-your-linux-environment/ | ||
+ | * https://easyengine.io/tutorials/nginx/status-page/ | ||
+ | * http://www.techietown.info/2017/02/monitor-nginx-using-netdata/ | ||
+ | * https://www.digitalocean.com/community/tutorials/how-to-set-up-real-time-performance-monitoring-with-netdata-on-ubuntu-16-04 | ||
+ | * https://github.com/firehol/netdata/wiki/Running-behind-nginx |
Edição das 14h58min 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
- https://blog.butecopensource.org/monitoramento-de-servidor-com-netdata/
- http://yallalabs.com/linux/how-to-install-netdata-to-monitor-your-linux-environment/
- https://easyengine.io/tutorials/nginx/status-page/
- http://www.techietown.info/2017/02/monitor-nginx-using-netdata/
- https://www.digitalocean.com/community/tutorials/how-to-set-up-real-time-performance-monitoring-with-netdata-on-ubuntu-16-04
- https://github.com/firehol/netdata/wiki/Running-behind-nginx