Claiming a node via command line with Netdataclaim.exe (netdata-installer-x64.exe)

Suggested template:

I am testing the nightly builds of netdata-installer-x64.exe v1.99.0-347-nightly

Problem/Question

I am doing a silent installation via powershell, the client installs and i can see the web UI in port 19999, but the node is node claimed.

How can i use the netdataclaim.exe command?

what are the arguments it accepts;

Can the node be claimed via command line

The installation command i use is the following

netdata-installer-x64.exe /S /A /I /token /room id

When i try to sign into the cloud instance via email the email never comes

Hello @mawashi ,

You can use the installer with the following commands:

netdata-installer-x64.exe /S /A /I /TOKEN=yyy /ROOMS=zzz

Where yyy is your token while zzz is your room, or rooms separated by comma.

It is necessary to use TOKEN= for while, because this is the way our current installer is working, but we are working to bring a msi installation next days with the PR Import draft Wix template for creating MSI packages. by vkalintiris · Pull Request #18787 · netdata/netdata · GitHub, to simplify our users’ life.

Best regards!

I have followed the steps you described above and the agent is installed with no problem, BUT unfortunately it is not claimed by the cloud instance. Are there any extra steps to be done locally on the agent.

I can see the empty local dashboard but when i try to sign in via email link the email never comes.

I took it one step further there seems to be an error with the SSL certificate.

How are cetrificates handled from the agent side;

When I try to connect a newly installed node to the cloud I get the following message

Something went wrong

Request failed with error: SSL peer certificate or SSH remote key was not OK the node works locally and though the local node PCNAME:19999 i can acces the other nodes in the cloud instance

Hello @mawashi ,

Could you please confirm whether the file claim.conf is located in C:\Program Files\Netdata\etc\netdata?

I have a few additional questions:

  • When you restart the Netdata service, do the same errors persist? I recall that we had an installer issue requiring users to restart the service, but that has already been addressed.
  • What version of Netdata is displayed in your Control Panel?

Thank you!

Best regards,

Hello,

I confirm that claim.conf is in place att Netdata\etc\netadata
I cannot see the nodes in the cloud dashboard. I have used the current nightly every time from the script provides in the ADD nodes section (windows).

last succesfull installation and claim with the windows verions after approx 30 retries was with v1.99.0-347-nightly

One of the nodes was claimed and shows as unseen now

I don not know how to restart the netdata service on the windows version

When i check the API tokens issued on the nodes I see a number o tokens equal to the reties I have made to claim the node.

I tried to install a node with the latest v1.99.0-367-nightly but the problem in claiming remains