# setting up netdata on truenas collecting data from proxmox agent without netdata cloud

**URL:** <https://community.netdata.cloud/t/setting-up-netdata-on-truenas-collecting-data-from-proxmox-agent-without-netdata-cloud/5564>\
**Category:** Help\
**Tags:** configuration, dashboards, agent, streaming\
**Created:** [June 28, 2024, 11:15pm UTC](https://community.netdata.cloud/t/setting-up-netdata-on-truenas-collecting-data-from-proxmox-agent-without-netdata-cloud/5564 "2024-06-28T23:15:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![motto](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@motto](https://community.netdata.cloud/u/motto)\
**Post date:** [June 28, 2024, 11:15pm UTC](https://community.netdata.cloud/t/setting-up-netdata-on-truenas-collecting-data-from-proxmox-agent-without-netdata-cloud/5564/1 "2024-06-28T23:15:12Z")

</div>

Hi,

I try to stream netdata from a netdata agent (child) installed on a proxmox node to a netdata agent (parent) running as a Truenas app (Truenas SCALE on another proxmox node ). The Trunas App netdata should become the central netdata instance (parent) where I should see all other agents (childs) reporting to (proxmox nodes, VMs,LXCs), e.g. under tab “nodes”. Parents and children are within the same LAN.

On the Truenas app netdata (parent: tn-pve02) I have configured netdata.conf  
[web]  
bind to = 0.0.0.0

[global]  
hostname = tn-pve02

…and also there in: /etc/netdata/stream.conf  
[stream]  
enabled = yes  
bind to = 0.0.0.0  
default memory mode = save

[pve02b-child]  
enabled = yes  
allow from = \*  
default history = 3600  
health enabled by default = auto  
default postpone alarms on connect seconds = 60  
multiple connections = allow  
api key = 00000000-0000-0000-0000-000000000000

On one of the another proxmox node (pve02b) I have configured a netdata agent (child) in /etc/netdata/stream.conf:

[stream]  
enabled = yes  
destination = tcp:tn-pve02.sub.domain.com  
api key = 00000000-0000-0000-0000-000000000000  
timeout seconds = 60  
default port = 20489  
send charts matching = \*  
buffer size bytes = 1048576  
reconnect delay seconds = 5  
initial clock resync iterations = 60

## However

on parent [http://tn-pve02.sub.domain.com:20489](http://tn-pve02.sub.domain.com:20489)  
I only see node tn-pve02 (the parents own stats) but not pve02b (child stats)

on child as [http://pve02b.sub.domain.com:19999](http://pve02b.sub.domain.com:19999)  
I can see the child stats only on pve02b (child)

systemctl status netdata gitves: “STREAM pve02b [send to tcp:tn-pve02.sub.domain.com]: remote server denied access, probably we don’t have the right API key? - will retry”

During testing, the API-key as shown was used.

What am I doing wrong here?

Best regards  
Marco

---

<div class="post-metadata">

**Author:** ![ilyam8](https://yyz1.discourse-cdn.com/flex029/user_avatar/community.netdata.cloud/ilyam8/32/134_2.png) [@ilyam8](https://community.netdata.cloud/u/ilyam8)\
**Post date:** [June 29, 2024, 6:34pm UTC](https://community.netdata.cloud/t/setting-up-netdata-on-truenas-collecting-data-from-proxmox-agent-without-netdata-cloud/5564/2 "2024-06-29T18:34:07Z")

</div>

Hi, @motto. It is hard to follow your configs because you didn’t use formatting, but your streaming configuration is wrong (API key placement). Consider checking [Configure Parent/Child docs](https://learn.netdata.cloud/docs/observability-centralization-points/metrics-centralization-points/configuring-metrics-centralization-points).

---

<div class="post-metadata">

**Author:** ![motto](https://avatars.discourse-cdn.com/v4/letter/m/aca169/32.png) [@motto](https://community.netdata.cloud/u/motto)\
**Post date:** [July 1, 2024, 10:10am UTC](https://community.netdata.cloud/t/setting-up-netdata-on-truenas-collecting-data-from-proxmox-agent-without-netdata-cloud/5564/3 "2024-07-01T10:10:03Z")

</div>

@ilyam8 it looks like I can not use the installation script as describe in [Configure Parent/Child docs](https://learn.netdata.cloud/docs/observability-centralization-points/metrics-centralization-points/configuring-metrics-centralization-points).

```auto
Autodetected containerized Netdata instance. Attempting to autodetect container ID.
ERROR: Unable to find a usable container tool stack. I support Docker and Podman.

```

Also, there is a port (20489) used for the parent-dashboard, that seems to be different from the 19999. 19999 seems to be closed on TrueNAS and there is probably a lot of Kubernetes involved to get it open (?) that I do not want to deal with.

I probably need to install a netdata instance somewhere outside TrueNAS for the parent, which makes it less suitable for my case. I will try other Truenas apps instead first and see if I find a solution within Truenas.

Best regards

PS: sorry for my bad styling of the code sample in my first post
