<?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[Usage of nxpush to load values in a new DCI over a node]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">We installed NetXMS 1.2.4 few days ago. Very good tool thanks!</p>
<p dir="auto">We create a node called Switch_1 and add a new push DCI called Time (Push Integer).</p>
<p dir="auto">We are loading values into Time using command</p>
<p dir="auto">nxpush -u admin -P ******** localhost Switch_1:Time="c:\netXMS\bin\nxget localhost Icmp.Ping(10.194.133.1)"</p>
<p dir="auto">When we check Last Values in node, the DCI took the string c:\netXMS\bin\nxget localhost Icmp.Ping(10.194.133.1) not the value itself. We replace " by ', remove c:\netXMS/bin and do many possible variations but nothing happen.</p>
<p dir="auto">Thanks for your support</p>
]]></description><link>https://forum.netxms.org/topic/2086/usage-of-nxpush-to-load-values-in-a-new-dci-over-a-node</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 17:51:45 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2086.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 18 Dec 2012 21:28:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Fri, 11 Jan 2013 10:56:58 GMT]]></title><description><![CDATA[<ol>
<li>Check that "primary IP" on overview tab for node "MARLONHURTADO" is listed in MasterServers</li>
<li>Check again with nxget, but use external IP instead of loopback.</li>
</ol>
]]></description><link>https://forum.netxms.org/post/9300</link><guid isPermaLink="true">https://forum.netxms.org/post/9300</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 11 Jan 2013 10:56:58 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 22:04:48 GMT]]></title><description><![CDATA[<p dir="auto">Yes I restart both server and agent. And I obtain a positive answer using nxget</p>
<p dir="auto">This is the agent text</p>
<p dir="auto">MasterServers = netxms.demo<br />
SubAgent = ping.nsm<br />
 <br />
*PING<br />
Timeout = 1000<br />
PacketRate = 12<br />
Target = 10.194.133.1</p>
<p dir="auto">This is the answer from nxget<br />
C:\Users\marlon.hurtado&gt;nxget localhost icmp.ping(10.194.133.1)<br />
50</p>
<p dir="auto">DCI config is in attachment</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000991-DCI.jpg" alt="DCI.jpg" class="img-markdown  img-fluid" width="625" height="532" /></p>
]]></description><link>https://forum.netxms.org/post/9211</link><guid isPermaLink="true">https://forum.netxms.org/post/9211</guid><dc:creator><![CDATA[malexishp]]></dc:creator><pubDate>Wed, 19 Dec 2012 22:04:48 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 21:01:01 GMT]]></title><description><![CDATA[<p dir="auto">Did you restart agent after adding ping subagent? Also, can you check that you can get required value via nxget?<br />
And maybe post here screenshot of your DCI config, this can help identifying the problem.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9208</link><guid isPermaLink="true">https://forum.netxms.org/post/9208</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 19 Dec 2012 21:01:01 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 19:00:35 GMT]]></title><description><![CDATA[<p dir="auto">I forgot to mention I suppossed you made a mistake when saying name so I put it in parameters but it does not work.</p>
<p dir="auto">Maybe I missed some setup?</p>
]]></description><link>https://forum.netxms.org/post/9205</link><guid isPermaLink="true">https://forum.netxms.org/post/9205</guid><dc:creator><![CDATA[malexishp]]></dc:creator><pubDate>Wed, 19 Dec 2012 19:00:35 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 18:09:35 GMT]]></title><description><![CDATA[<p dir="auto">Sorry, my mistake - I mean "Parameter" field. "Name" was an old name for it. See attached screenshot for example. Description is a human-readable text to be displayed in UI, and "parameter" is an actual parameter name to be collected (it will be SNMP OID for SNMP parameters).</p>
<p dir="auto">Best regards,<br />
Victor</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000000989-dci_ping.png" alt="dci_ping.png" class="img-markdown  img-fluid" width="635" height="615" /></p>
]]></description><link>https://forum.netxms.org/post/9202</link><guid isPermaLink="true">https://forum.netxms.org/post/9202</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 19 Dec 2012 18:09:35 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 15:41:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">Thanks to clarify my mistake using UNIX instructions in Windows</p>
<p dir="auto">We use your solution but still it does not work; Last value is &lt;&lt;ERROR&gt;&gt;. This is what we did</p>
<ul>
<li>
<p dir="auto">We modify server parameter CheckTrustedNodes to 0 and restart server.</p>
</li>
<li>
<p dir="auto">We check that nxagentd.conf in server have line SubAgent = ping.nsm and define timeout, packetrate and target values</p>
</li>
<li>
<p dir="auto">We finally create new DCI as NetXMS Agent in swtich_1 and in server node<br />
     - Description Icmp.Ping(10.194.133.1) as description (There is no name field, right?)<br />
     - No parameters<br />
     - Proxy for Switch_1 SERVER; No Proxy for SERVER NODE</p>
</li>
</ul>
<p dir="auto">Thanks for your help</p>
]]></description><link>https://forum.netxms.org/post/9196</link><guid isPermaLink="true">https://forum.netxms.org/post/9196</guid><dc:creator><![CDATA[malexishp]]></dc:creator><pubDate>Wed, 19 Dec 2012 15:41:23 GMT</pubDate></item><item><title><![CDATA[Reply to Usage of nxpush to load values in a new DCI over a node on Wed, 19 Dec 2012 11:15:36 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto">It's not so simple to use command's output in Windows as in UNIX shell. You can achieve this using FOR command:</p>
<pre><code>for /F %x in ('nxget localhost Icmp.Ping(10.194.133.1)') do @nxpush -u admin -P ******** localhost Switch_1:Time=%x
</code></pre>
<p dir="auto">However, there are easier way to achieve what you want using proxy DCI: create DCI on node Switch_1, set origin to "NetXMS Agent", enter Icmp.Ping(10.194.133.1) as name, and set proxy node to your NetXMS server node. This way system will show collected data for node Switch_1, but real data collection will occur from NetXMS server node. You will also need to add Switch_1 to list of trusted nodes in NetXMS server node's properties, or set server configuration variable "CheckTrustedNodes" to 0.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/9188</link><guid isPermaLink="true">https://forum.netxms.org/post/9188</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 19 Dec 2012 11:15:36 GMT</pubDate></item></channel></rss>