Netdata
How to use Netdata's remote ports?
Netdata connects as a unix socket by default in QuickBox Lite,so if you need to use a TCP port for monitoring, you need to:
remove following information in configuration
/etc/netdata/netdata.conf[web]
bind to = unix:/run/netdata/netdata.sockrestart netdata
systemctl restart netdata
modify Nginx configuration
/etc/nginx/apps/netdata.confproxy_pass http://unix:/run/netdata/netdata.sock:/$ndpath$is_args$args;
to
/etc/nginx/apps/netdata.confproxy_pass http://127.0.0.1:19999/$ndpath$is_args$args;
restart Nginx
nginx -t
nginx -s reload
How to connect Agent to Cloud?
There are 2 ways to claim your agent:
Claiming script
netdata-claim.sh -token=MYTOKEN1234567
Netdata Agent command line
/usr/sbin/netdata -D -W "claim -token=MYTOKEN1234567"
The token can be found on cloud dashboard. The claiming operation requires root privileges.