Solved Netdata docker container custom dashboard

Currently reading
Solved Netdata docker container custom dashboard

7
1
NAS
DS1019+
Operating system
  1. macOS
  2. Windows
Mobile operating system
  1. iOS
I'm using the netdata/netdata container and it's working just fine. However, I am trying to figure out where to store a custom-dashboard.html at. The documentation says it's on /usr/share/netdata/web but such directory does not exist on the NAS.

Container image

My goal is to be able to integrate my custom dashboard into Organizr. I had this working before using the linuxserver/letsencrypt container which has all the directories accessible from the /config mount following this tutorial.

 
Welcome to the forum.

As you can see from the link you have posted, it stats that you need to use docker exec -it ... and that means that after you have your netdata container running, you need to interactively connect to it and then go to the location that you specified (/usr/share/netdata/web

So the dashboard.html, along with all the rest of CSS and JS scrip files are not on the NAS but inside netdata conteiner.

You can get to it in a few ways. One is to use the Terminal tab in Synology Docker UI using DSM, another is to SSH into your NAS and then as sudo elevate your credentials and connect to the container with docker exec command.

As you can see from the image below, the needed data is inside the container.

Screenshot 2020-05-10 at 13.26.24.png


So the location in the terminal is /usr/share/netdata/web and the ls command lists the content of the folder.
 
Rusty,

Thank you very much for your reply. That makes perfect sense and I totally forgot that detail from the tutorial. I just uploaded the custom.html to that location and it works as intended. A couple more questions.

1. Does this mean that if I update the image, the change will be removed and I will have to re add the file?

2. I don't see any files being created in the volumes created by the container. Are they even necessary?
-v /proc:/host/proc:ro \
-v /sys:/host/sys:ro \
-v /var/run/docker.sock:/var/run/docker.sock:ro \
 

Create an account or login to comment

You must be a member in order to leave a comment

Create account

Create an account on our community. It's easy!

Log in

Already have an account? Log in here.

Similar threads

I am struggling with that since I am only a copy & paste hacker. I have installed netdata on my Synology...
Replies
0
Views
1,941
Added in the docker compose. Not keen on running as root, for obvious reasons. I'm just unsure as to why...
Replies
4
Views
6,588
I can’t find any option to restore just the settings. 1710356648 Phew, managed to fix it. Within the...
Replies
4
Views
394
Good to hear. Deluge has not been updated for almost two years now as an app, nevertheless. But it gives...
Replies
12
Views
961
  • Question
Open an issue on that GitHub page. The developers will be glad to assist. OP has posted two threads on...
Replies
5
Views
963
I'm happy with email notifications but in v0.3.3 of dockcheck the author added apprise notifications...
Replies
4
Views
1,043
I am also trying to setup a Z-wave USB dongle and am getting stuck after following the same steps as...
Replies
1
Views
1,031

Welcome to SynoForum.com!

SynoForum.com is an unofficial Synology forum for NAS owners and enthusiasts.

Registration is free, easy and fast!

Back
Top