<?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 [solved]]]></title><description><![CDATA[<p dir="auto">Есть две разных инсталляции netxms с одинаковыми версиями, создан одинаковый DCI для снятия параметра memory used на роутерах Mikrotik. У Mikrotik два instance - "main memory" и "system disk", был создан instance discovery:</p>
<p dir="auto">snmp walk - values: .1.3.6.1.2.1.25.2.3.1.1<br />
script:</p>
<pre><code>transport = CreateSNMPTransport($node);
if (transport == null)
	return false;
name = SNMPGetValue(transport, ".1.3.6.1.2.1.25.2.3.1.3." . $1);
if (name == null)
	return false;
return %(true, $1, name);
</code></pre>
<p dir="auto">На одной инсталяции появляется два DCI с нужными именами, на второй - только одна (main memory), второй не видно. Сделал tcpdump работы DCI, вроде опрашивает всё верно:</p>
<pre><code>IP 10.11.0.3.53103 &gt; 10.11.0.1.161:  C=community GetNextRequest(29)  .1.3.6.1.2.1.25.2.3.1.1
IP 10.11.0.1.161 &gt; 10.11.0.3.53103:  C=community GetResponse(35)  .1.3.6.1.2.1.25.2.3.1.1.65536=65536
IP 10.11.0.3.53103 &gt; 10.11.0.1.161:  C=community GetNextRequest(32)  .1.3.6.1.2.1.25.2.3.1.1.65536
IP 10.11.0.1.161 &gt; 10.11.0.3.53103:  C=community GetResponse(35)  .1.3.6.1.2.1.25.2.3.1.1.131072=131072
IP 10.11.0.3.53103 &gt; 10.11.0.1.161:  C=community GetNextRequest(32)  .1.3.6.1.2.1.25.2.3.1.1.131072
IP 10.11.0.1.161 &gt; 10.11.0.3.53103:  C=community GetResponse(41)  .1.3.6.1.2.1.25.2.3.1.2.65536=.1.3.6.1.2.1.25.2.1.1
IP 10.11.0.3.37580 &gt; 10.11.0.1.161:  C=community GetRequest(32)  .1.3.6.1.2.1.25.2.3.1.3.65536
IP 10.11.0.1.161 &gt; 10.11.0.3.37580:  C=community GetResponse(43)  .1.3.6.1.2.1.25.2.3.1.3.65536="main memory"
IP 10.11.0.3.42202 &gt; 10.11.0.1.161:  C=community GetRequest(32)  .1.3.6.1.2.1.25.2.3.1.3.131072
IP 10.11.0.1.161 &gt; 10.11.0.3.42202:  C=community GetResponse(43)  .1.3.6.1.2.1.25.2.3.1.3.131072="system disk"
</code></pre>
<p dir="auto">Еще проверка:</p>
<pre><code>snmpwalk 10.11.0.1 .1.3.6.1.2.1.25.2.3.1.3
iso.3.6.1.2.1.25.2.3.1.3.65536 = STRING: "main memory"
iso.3.6.1.2.1.25.2.3.1.3.131072 = STRING: "system disk"
</code></pre>
<p dir="auto">Из дампа видно, что netxms опрашивает оба instance, но DCI создает только для первого. В чем может быть дело?</p>
]]></description><link>https://forum.netxms.org/topic/3963/странное-поведение-dci-solved</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 23:41:35 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3963.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Sep 2015 18:08:14 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Странное поведение DCI [solved] on Mon, 14 Sep 2015 08:07:57 GMT]]></title><description><![CDATA[<p dir="auto">Обновился до 2.0-RC1-2, проблема снята.</p>
]]></description><link>https://forum.netxms.org/post/17789</link><guid isPermaLink="true">https://forum.netxms.org/post/17789</guid><dc:creator><![CDATA[Harun]]></dc:creator><pubDate>Mon, 14 Sep 2015 08:07:57 GMT</pubDate></item><item><title><![CDATA[Reply to Странное поведение DCI [solved] on Wed, 09 Sep 2015 07:03:34 GMT]]></title><description><![CDATA[<p dir="auto">Как можно сделать отладку, почему не появляются DCI для второго instance?</p>
]]></description><link>https://forum.netxms.org/post/17753</link><guid isPermaLink="true">https://forum.netxms.org/post/17753</guid><dc:creator><![CDATA[Harun]]></dc:creator><pubDate>Wed, 09 Sep 2015 07:03:34 GMT</pubDate></item></channel></rss>