<?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[PushDCIData() doesn't seem to do anything]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm trying to use <code>PushDCIData()</code> on NetXMS 3.2.400 to update DCIs based on SNMP traps, but even a simple test script doesn't do anything for me. This is what I do for testing:</p>
<pre><code>PushDCIData($node,38620,1);
</code></pre>
<p dir="auto">I've tried running this script manually ("node -&gt; execute server script") or triggered by a trap. I've tried entering the DCI id manually (as shown above) or by using <code>FindDCIByName()</code>. I've verified that <code>FindDCIByName()</code> gives the correct output (<code>print(FindDCIByName())</code>. Whatever I do, the DCI remains unchanged.</p>
<p dir="auto">Any ideas what I'm doing wrong?</p>
<p dir="auto">Thanks,</p>
<p dir="auto">        Hendrik</p>
]]></description><link>https://forum.netxms.org/topic/6469/pushdcidata-doesn-t-seem-to-do-anything</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:35:38 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/6469.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 28 Mar 2020 10:36:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to PushDCIData() doesn't seem to do anything on Wed, 01 Apr 2020 20:14:16 GMT]]></title><description><![CDATA[<p dir="auto">Good idea, works fine! Thanks a lot!</p>
]]></description><link>https://forum.netxms.org/post/27694</link><guid isPermaLink="true">https://forum.netxms.org/post/27694</guid><dc:creator><![CDATA[hoeth]]></dc:creator><pubDate>Wed, 01 Apr 2020 20:14:16 GMT</pubDate></item><item><title><![CDATA[Reply to PushDCIData() doesn't seem to do anything on Wed, 01 Apr 2020 11:40:07 GMT]]></title><description><![CDATA[<p dir="auto">There could be better options, but one I can think of would be to create 2 DCIs:</p>
<ul>
<li>one with "Push" origin - that would be the actual DCI.</li>
<li>another on that receives data via SNMP polls. You can put Retention time = 0, in that case it will not store anything to DB. In transformations script you can PushDCIData into the first DCI.</li>
</ul>
]]></description><link>https://forum.netxms.org/post/27690</link><guid isPermaLink="true">https://forum.netxms.org/post/27690</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Wed, 01 Apr 2020 11:40:07 GMT</pubDate></item><item><title><![CDATA[Reply to PushDCIData() doesn't seem to do anything on Wed, 01 Apr 2020 09:29:44 GMT]]></title><description><![CDATA[<p dir="auto">Ah, that works! Thanks!</p>
<p dir="auto">But this triggers another question: My plan was to have a DCI that is updated every hour through SNMP polls and additionally through SNMP traps triggering PushDCIData() (whenever the value changes on the client). Is there a clever way of doing this? Maybe always use traps? Or can I update DCIs through SNMP traps using a different mechanism than PushDCIData()?</p>
]]></description><link>https://forum.netxms.org/post/27685</link><guid isPermaLink="true">https://forum.netxms.org/post/27685</guid><dc:creator><![CDATA[hoeth]]></dc:creator><pubDate>Wed, 01 Apr 2020 09:29:44 GMT</pubDate></item><item><title><![CDATA[Reply to PushDCIData() doesn't seem to do anything on Mon, 30 Mar 2020 14:55:02 GMT]]></title><description><![CDATA[<p dir="auto">I believe PushDCIData will update only DCIs that have origin "Push".</p>
]]></description><link>https://forum.netxms.org/post/27667</link><guid isPermaLink="true">https://forum.netxms.org/post/27667</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Mon, 30 Mar 2020 14:55:02 GMT</pubDate></item></channel></rss>