I see
So the correct command to do now is:
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --force-update
I see
So the correct command to do now is:
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh --force-update
no (not sure to be honest) give me one second
May I ask something obvious but important, does the kickstart script (with the claim tokens from cloud) prompts you to run it as sudoer? This script requires privileged access
Yes I do it as sudoer.
If the goal is just to claim the agent, then you can skip attempting an update by adding --claim-only
to the options (this will still run an install if there is no existing install, but will not try to update if there is no existing install).
As far as permissions, the kickstart script should actually not be run using sudo
, it will prompt automatically when and if it need elevated permissions. Running it as root is fine, it’s just that things get a bit strange if you try to run it under sudo
and not directly as root or normally as a regular user.