netdata
https://github.com/firehol/netdata
Installation
https://github.com/firehol/netdata/wiki/Installation
bash <(curl -Ss https://my-netdata.io/kickstart.sh)
netdata by default listens on all IPs on port 19999, so you can access it with: http://this.machine.ip:19999/ Uninstall script generated: ./netdata-uninstaller.sh Update script generated : ./netdata-updater.sh netdata-updater.sh can work from cron. It will trigger an email from cron only if it fails (it does not print anything when it can update netdata). --- Installing netdata-updater at cron --- [/usr/src/netdata.git]# ln -s /usr/src/netdata.git/netdata-updater.sh /etc/cron.daily/netdata-updater OK --- We are done! --- ^ |.-. .-. .-. .-. .-. . netdata .-. .- | '-' '-' '-' '-' '-' is installed and running now! -' '-' +----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+-----+---> enjoy real-time performance and health monitoring...
# netstat -plnt | grep 19999 tcp 0 0 0.0.0.0:19999 0.0.0.0:* LISTEN 10578/netdata tcp6 0 0 :::19999 :::* LISTEN 10578/netdata
server { listen 80; server_name netdata.domain.com www.netdata.domain.com; return 301 https://$host$request_uri; } server{ listen 443; server_name netdata.domain.com www.netdata.domain.com; access_log /var/log/nginx/netdata.error_logs; error_log /var/log/nginx/netdata.access.log; ssl on; ssl_certificate /etc/letsencrypt/live/sitename/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/sitename/privkey.pem; ssl_protocols TLSv1 TLSv1.1 TLSv1.2; #used to prevent poodle attacks for outdated protocols location / { proxy_pass http://127.0.0.1:19999; auth_basic "Authentication PART1!!"; auth_basic_user_file "/var/www/.htpasswd_netdata"; } }
netdata.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1