<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Ability to manually set: Node/Hypervisor type]]></title><description><![CDATA[<p dir="auto">If running nxagent as non root user within LXC container src/agent/subagents/linux/hypervisor.cpp will fail to detect container=lxc as it can not read /proc/1/environ.</p>
<p dir="auto">Would it be possible to:</p>
<p dir="auto">OR</p>
<ol>
<li>
<p dir="auto">extend src/agent/subagents/linux/hypervisor.cpp to implement methods to detect hypervisor and node type<br />
    example: <a href="https://github.com/systemd/systemd/blob/main/src/basic/virt.c#L657" rel="nofollow ugc">https://github.com/systemd/systemd/blob/main/src/basic/virt.c#L657</a><br />
 </p>
</li>
<li>
<p dir="auto">use systemd-detect-virt executable directly</p>
</li>
<li>
<p dir="auto">try to read /run/systemd/container</p>
</li>
<li>
<p dir="auto">enable/explain option to manually set:<br />
    Node type: Container<br />
    Hypervisor type: LXC</p>
</li>
</ol>
<p dir="auto">thank you,</p>
<p dir="auto">Ales</p>
]]></description><link>https://forum.netxms.org/topic/7652/ability-to-manually-set-node-hypervisor-type</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:44:03 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7652.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Mar 2023 12:15:57 GMT</pubDate><ttl>60</ttl></channel></rss>