when multiple extra packages are added at run time, only one package works

Hi. I’m using netdata in docker, trying to monitor disks’ smart and intel gpu. Both smartmontools and intel_gpu_tools are installed and seperately working well in netdata. But if I add both of them, only one package works while the other shows no data.

To be specific, if I add packages in this order at run time, only smart works:

-e NETDATA_EXTRA_DEB_PACKAGES=intel-gpu-tools \
--device /dev/dri:/dev/dri \
-e NETDATA_EXTRA_DEB_PACKAGES=smartmontools \
--cap-add SYS_RAWIO \
 --device /dev/sda:/dev/sda \

While in this case, only gpu can be monitored:

-e NETDATA_EXTRA_DEB_PACKAGES=smartmontools \
--cap-add SYS_RAWIO \
 --device /dev/sda:/dev/sda \
-e NETDATA_EXTRA_DEB_PACKAGES=intel-gpu-tools \
--device /dev/dri:/dev/dri \

Is there way to add both packages? I’d be grateful for any help.
Environment:
Debian GNU/Linux 11 (bullseye) x86_64
Kernel 5.10.0-33-amd64
Docker version 20.10.5+dfsg1, build 55c4c88
Netdata v2.0.0-205-nightly

Thank you for your time.

Hi. It is not possible to set an env variable twice. Do -e NETDATA_EXTRA_DEB_PACKAGES="intel-gpu-tools smartmontools".

1 Like

It works. Thanks a lot!