Jump to content

Netdata


Rkpaxam
Go to solution Solved by Rkpaxam,

Recommended Posts

  • Solution

So

I downloaded the "official" Docker Version from the Unraid App Store

 

Dont change anything yet just let it Run (i have mine on "Privileged" not sure if this make a difference.)

 

Set yourself an account up on Netdata and make a "room" (if you want to monitor remotely if not ignore steps after step 4)

 

Then Stop the container

 

Click Edit the container and enter the following "paths" https://imgur.com/a/6ng8ZmW

 

Now Login to your cloud account and under Integrations > Deploy > Docker & Kubernetes > click Docker
* Copy the Docker CLI output and paste it into Notepad or a text editor
* click "Add another Path, Port, Variable, Label or Device"
* Change the type to Variable
* For Name and Key paste in NETDATA_CLAIM_TOKEN
*for Value paste in your claim token from your text file
*Repeat adding variables and values for NETDATA_CLAIM_URL and NETDATA_CLAIM_ROOMS

It will look like the picture above ( This will connect the docker to your account whenever it is stopped or updated, otherwise its a right pain)

6) Save the container DO NOT START!

7) open an Unraid Terminal and paste the following command

cd /mnt/cache/appdata/netdata/
mkdir config
mkdir cache
mkdir lib
docker run -d --name netdata_tmp netdata/netdata
docker cp netdata_tmp:/etc/netdata /mnt/user/appdata/netdata/cacheconfig/
docker cp netdata:/var/cache/netdata/netdata-meta.db /mnt/user/appdata/netdata/cache/netdata
docker cp netdata:/var/lib/netdata /mnt/user/appdata/netdata/lib
docker rm -f netdata_tmp
chmod 777 -R /mnt/user/appdata/netdata

 

Start your Container ( if it comes up with an error press back on your browser DONT click ok as this removes the container) .. Enjoy something like this https://imgur.com/a/VE5fjql

NOTE this does save data if the container is stopped/restarted but for some reason if the container is updated which is daily it looses previous data. If i find a way i will update the thread!

 

Thank you to everyone on Unraid this is everything i found on the forum in one place for ease

  • Like 1
Link to comment
  • 7 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...