/netdata-unlock-5-nodes

Unlock "Local dashboard is limited to 5 nodes" on Netdata

Primary LanguageTypeScriptMIT LicenseMIT

Netdata unlock more than 5 nodes

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.

How to run

Using the command line

  1. Install Deno: https://docs.deno.com/runtime/getting_started/installation/
  2. Run: deno task run

Compile the program

  1. Install Deno: https://docs.deno.com/runtime/getting_started/installation/
  2. Run: deno task compile

Available configuration

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.