Project was created after this rant: https://www.reddit.com/r/selfhosted/comments/1i7msq3/netdata_you_can_now_view_5_nodes_at_a_time_unless/?rdt=37893
Basically, in the endpoint that limit the number of nodes that can be used. It returns all the registered nodes instead of only the ones that you had to choose in the "Review your Space active Nodes".
This allows to choose more than 5 nodes or any node that you want in your dashboard.
Make sure to select at least 5 nodes in the nodes selector in the netdata web interface. Otherwise, the program will not work.
Reported in #3
- Install Deno: https://docs.deno.com/runtime/getting_started/installation/
- Run:
deno task run
- Install Deno: https://docs.deno.com/runtime/getting_started/installation/
- Run:
deno task compile
You can configure the program with these environment variables:
- PORT: the port to bind to
- HOST: the hostname to bind to
- NETDATA_BASE_URL: the URL to your netdata (eg. http://localhost:19999)
You can also put these into a file .env by copying the .env.example file.