<?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[список всех DCI]]></title><description><![CDATA[<p dir="auto">Баловался с графиками и понасоздавал кучу DCI у разных нод.<br />
Вопрос...<br />
Как получить весь список DCI с привязкой к объектам. Хочу почистить. Да и просто интересно.<br />
ПС:<br />
И куда делся Unbind ?</p>
]]></description><link>https://forum.netxms.org/topic/6178/список-всех-dci</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 09:44:41 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6178.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 19 Sep 2019 15:22:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to список всех DCI on Fri, 20 Sep 2019 12:40:11 GMT]]></title><description><![CDATA[<p dir="auto">Это скрипт на языке NXSL, который используется в NetXMS в качестве внутренного скриптового языка.<br />
Если щелкнуть правой кнопкой по любой ноде, там будет пункт "Execute server script". Туда закопипаcтить код и нажать F2.</p>
]]></description><link>https://forum.netxms.org/post/26590</link><guid isPermaLink="true">https://forum.netxms.org/post/26590</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 20 Sep 2019 12:40:11 GMT</pubDate></item><item><title><![CDATA[Reply to список всех DCI on Fri, 20 Sep 2019 12:25:54 GMT]]></title><description><![CDATA[<p dir="auto">Стесняюсь спросить  :-[<br />
А куда это все пихать?</p>
]]></description><link>https://forum.netxms.org/post/26589</link><guid isPermaLink="true">https://forum.netxms.org/post/26589</guid><dc:creator><![CDATA[deepjohnsea]]></dc:creator><pubDate>Fri, 20 Sep 2019 12:25:54 GMT</pubDate></item><item><title><![CDATA[Reply to список всех DCI on Fri, 20 Sep 2019 10:16:59 GMT]]></title><description><![CDATA[<p dir="auto">Можно например таким NXSL скриптом:</p>
<pre><code>global visited = %();

EnumerateNodes(FindObject(1));

sub EnumerateNodes(rootObject)
{
	for(o : GetObjectChildren(rootObject))
	{
		if (classof(o) == "Node")
		{
			PrintDCIs(o);
		}
		else if (classof(o) == "Subnet")
		{
			EnumerateNodes(o);
		}
	}
}

sub PrintDCIs(node)
{
	if (visited[node-&gt;id] != null)
		return;

	println("***** " . node-&gt;name . " *****");
	for(dci : FindAllDCIs(node))
	{
		println("   " . dci-&gt;description);
	}

	visited[node-&gt;id] = 1;
}
</code></pre>
]]></description><link>https://forum.netxms.org/post/26587</link><guid isPermaLink="true">https://forum.netxms.org/post/26587</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 20 Sep 2019 10:16:59 GMT</pubDate></item></channel></rss>