define/change hostname in netdata app

digity

Contributor
Joined
Apr 24, 2016
Messages
156
I've installed the netdata app from the official TrueNAS catalog. The only problem is the hostname for the node is randomly generated which makes it hard to determine which node is which in the web UI (both cloud and local agent). How do I define or change the hostname for a node running via TrueNAS' app system?
 

chilexican

Cadet
Joined
Mar 13, 2023
Messages
2
Having the same issue.. from what im reading it has to be done on the local agent which makes sense but what would the command be to run in the shell or is this something that needs to be changed elsewhere?
 

whasamatau

Cadet
Joined
Sep 22, 2023
Messages
1
I searched and searched with the same issue. I am running the Truecharts version with PVC storage so I bet this would also work with the TrueNAS Community app as well.

I used the app shell to go to "/etc/netdata" and run "./edit-config netdata.conf" which launches the file in vim editor, then added the line for hostname="setnamehere" and this has persisted as the hostname for for me

To exit vim with write and save you have to type ":wq"
 

etoel

Cadet
Joined
Jun 13, 2023
Messages
5
I don't have any editors installed so edit-config fails :(
 
Top