My proxmox containers are showing the same stats

Hi,

New to netdata.

I have recently installed the netdata parent in a proxmox container and within a docker container.

I have then installed the netdata agent in two other proxmox containers. In each of these containers I have netdata running in docker containers.

As you can see in the screenshot, for some reason, aside from the CPU Metrics, everything else looks the same. For reference, the netdata node is the parent and the other two are the agents sending the data.

I have some data from “themacattic” container if it helps. My assumption here is that I’m missing some configuration but not sure where to look. Thank you in advance.

{
“version”:“v1.42.0-122-nightly”,
“uid”:“f8fac4c6-502c-11ee-8004-b6681ef7e8bb”,
“hosts-available”:1,
“mirrored_hosts”:[“themacattic”],
“mirrored_hosts_status”:[{
“hostname”:“themacattic”,
“hops”:0,
“reachable”:true,
“guid”:“f8fac4c6-502c-11ee-8004-b6681ef7e8bb”,
“node_id”:null,
“claim_id”:null
}],
“alarms”:{
“normal”:115,
“warning”:0,
“critical”:0
},
“os_name”:“Debian GNU/Linux”,
“os_id”:“debian”,
“os_id_like”:“unknown”,
“os_version”:“11 (bullseye)”,
“os_version_id”:“11”,
“os_detection”:“/host/etc/os-release”,
“cores_total”:“20”,
“total_disk_space”:“17251164897280”,
“cpu_freq”:“3600000000”,
“ram_total”:“67169656832”,
“container_os_name”:“Alpine Linux”,
“container_os_id”:“alpine”,
“container_os_id_like”:“unknown”,
“container_os_version”:“unknown”,
“container_os_version_id”:“3.18.3”,
“container_os_detection”:“/etc/os-release”,
“is_k8s_node”:“false”,
“kernel_name”:“Linux”,
“kernel_version”:“6.2.16-3-pve”,
“architecture”:“x86_64”,
“virtualization”:“none”,
“virt_detection”:“none”,
“container”:“docker”,
“container_detection”:“dockerenv”,
“cloud_provider_type”:“unknown”,
“cloud_instance_type”:“unknown”,
“cloud_instance_region”:“unknown”,
“host_labels”:{
“_os_name”:“Debian GNU/Linux”,
“_os_version”:“11 (bullseye)”,
“_kernel_version”:“6.2.16-3-pve”,
“_system_cores”:“20”,
“_system_cpu_freq”:“3600000000”,
“_system_ram_total”:“67169656832”,
“_system_disk_space”:“17251164897280”,
“_architecture”:“x86_64”,
“_virtualization”:“none”,
“_container”:“docker”,
“_container_detection”:“dockerenv”,
“_virt_detection”:“none”,
“_is_k8s_node”:“false”,
“_install_type”:“oci”,
“_prebuilt_arch”:“x86_64”,
“_aclk_available”:“true”,
“_mqtt_version”:“5”,
“_aclk_proxy”:“none”,
“_aclk_ng_new_cloud_protocol”:“true”,
“_is_ephemeral”:“false”,
“_has_unstable_connection”:“false”,
“_is_parent”:“false”,
“_streams_to”:“tcp:192.168.1.48”,
“_cloud_instance_region”:“unknown”,
“_cloud_provider_type”:“unknown”,
“_cloud_instance_type”:“unknown”
},
“functions”:{
“processes”:{
“help”:“Detailed information on the currently running processes.”,
“timeout”:10,
“options”:[“GLOBAL”]
}
},
“collectors”:[{
“plugin”:“idlejitter.plugin”,
“module”:“”
},{
“plugin”:“statsd.plugin”,
“module”:“stats”
},{
“plugin”:“netdata”,
“module”:“stats”
},{
“plugin”:“ml.plugin”,
“module”:“detection”
},{
“plugin”:“go.d”,
“module”:“docker”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/stat”
},{
“plugin”:“apps.plugin”,
“module”:“”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/uptime”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/loadavg”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/sys/fs/file-nr”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/sys/kernel/random/entropy_avail”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/pressure”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/interrupts”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/softirqs”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/vmstat”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/meminfo”
},{
“plugin”:“proc.plugin”,
“module”:“/sys/kernel/mm/ksm”
},{
“plugin”:“ml.plugin”,
“module”:“training”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/sockstat”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/sockstat6”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/netstat”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/softnet_stat”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/stat/nf_conntrack”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/diskstats”
},{
“plugin”:“diskspace.plugin”,
“module”:“”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/spl/kstat/zfs/arcstats”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/spl/kstat/zfs”
},{
“plugin”:“proc.plugin”,
“module”:“ipc”
},{
“plugin”:“python.d.plugin”,
“module”:“sensors”
},{
“plugin”:“timex.plugin”,
“module”:“”
},{
“plugin”:“proc.plugin”,
“module”:“/proc/net/dev”
},{
“plugin”:“cgroups.plugin”,
“module”:“/sys/fs/cgroup”
},{
“plugin”:“cgroups.plugin”,
“module”:“systemd”
}],
“cloud-enabled”:true,
“cloud-available”:true,
“agent-claimed”:false,
“aclk-available”:false,
“memory-mode”:“dbengine”,
“multidb-disk-quota”:256,
“page-cache-size”:32,
“web-enabled”:true,
“stream-enabled”:true,
“stream-compression”:true,
“https-enabled”:true,
“buildinfo”:“Netdata Cloud|Stream Compression|Machine Learning|dbengine|Native HTTPS|TLS Host Verification|zlib|protobuf|JSON-C|libcrypto|libm|apps|cgroup Network Tracking|debugfs|IPMI|perf|slabinfo|MongoDB|Prometheus Remote Write”,
“release-channel”:“nightly”,
“notification-methods”:“SEND_EMAIL”,
“exporting-enabled”:false,
“exporting-connectors”:“”,
“allmetrics-prometheus-used”:0,
“allmetrics-shell-used”:0,
“allmetrics-json-used”:0,
“dashboard-used”:0,
“charts-count”:892,
“metrics-count”:4033,
“ml-info”:{
“version”:1,
“enabled”:true,
“min-train-samples”:900,
“max-train-samples”:21600,
“train-every”:10800,
“diff-n”:1,
“smooth-n”:3,
“lag-n”:5,
“random-sampling-ratio”:0.2,
“max-kmeans-iters”:0,
“dimension-anomaly-score-threshold”:0.99,
“anomaly-detection-grouping-method”:“average”,
“anomaly-detection-query-duration”:300,
“hosts-to-skip”:“!",
“charts-to-skip”:"anomaly_detection.
netdata.*”
}
}

Hi, @foxyproxy. Netdata collects most system metrics by reading the proc filesysystem. Netdata installed in a Docker container collects the host metrics, not the container. For instance, you can check mem values in /proc/meminfo, see Netdata installed in LXC retrieves statistics from bare-metal - #4 by ilyam8.

But I’m using the docker compose file specified in the documentation here Install Netdata with Docker | Learn Netdata

Shouldn’t it be configured to log container metrics automatically? I’m not sure I understand what I need to change.