I have a physical debian box with proxmox and some lxc containers for nextclaud. iredmail , git and some Websites.
I isntalled netdata on all nodes and use the netdata cloud. All is fine so far.
But if there occurs for example a problem with one of the physical disks i get alarms from every lxc container.
I assume that I have to cofigure them all to suppress the helthchecks in which I am not interested or is ethe a better way ?`
Related or not : in netdata cloud all nodes, even the lxc containers show in thei āNode Informationā āBare Metalā which is for the lxc containers wrong.
This isnāt an issue with the cloud, but with the virtualization technology detection. The script netdata runs to get such info is usually under /usr/libexec/netdata/plugins.d/ and called system-info.sh. The command executed for the virtualization technology is systemd-detect-virt -v.
Can you please verify run that script or just the systemd-detect-virt -v command as the netdata user, to see if youāre getting any errors? I can only imagine some kind of access rights issue, given that the command does give you lxc without the -v argument, but please let us know what you see.
Wow, the only relevant thing I could find was this from the man page:
If multiple virtualization solutions are used, only the "innermost" is detected and identified. That means if both machine and container virtualization are used in conjunction, only the latter will be identified (unless
**--vm** is passed).
But even if you do have both machine and container virtualization, you still shouldnāt be getting ānoneā, right? Iāve asked our experts to see if they have any insights on why this might happen and if we should remove the ā-vā option, but if anyone else in the community has a clue, it would be great.
-v is the same as -vm, so no surprise there
I should be able to get an answer today from our inhouse Linux wizards. Removing the option is simple of course, but I donāt know enough to ensure it wonāt break other use cases.
A current install of Netdata on LXC containers in Proxmox VE is doing the same bug in this thread - reporting all my LXC containers as Bare Metal in Netdata Cloud.
Looking at the questions in this thread:
systemd-detect-virt -c And systemd-detect-virt report as LXC
systemd-detect-virt -v report as None
Any suggestions on how to have them show correctly as containers?