<?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[Node ID for Push parameter]]></title><description><![CDATA[<p dir="auto">Hi</p>
<p dir="auto">As i see for pushing parameter to server node Id and DCI name is needed.<br />
I'm using push parameter for pushing client side event as parameter,<br />
So i need Node Id for each node in agent code, Is there any global variable or any variable to retrieve node id in java sub agent?</p>
<p dir="auto">Is there any better approach to push event to server side for each client(node) ?</p>
<p dir="auto">With Best Regards<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/topic/4041/node-id-for-push-parameter</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:17:43 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/4041.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 14 Oct 2015 11:35:30 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Node ID for Push parameter on Sun, 25 Oct 2015 05:40:10 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for your reply,<br />
there is just some function like this in sample code :</p>
<p dir="auto">@Override<br />
   public ListParameter[] getListParameters()<br />
   {<br />
      return new ListParameter[] {<br />
         new ListParameterAdapter("ListParameter1", "List Description") {<br />
            @Override<br />
            public String[] getValue(String value)<br />
            {<br />
               return new String[] { "1", "2" };<br />
            }<br />
         }<br />
      };<br />
   }</p>
<p dir="auto">how can i use this for pushing parameter to server on an event ?</p>
<p dir="auto">With best regards,<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/post/18108</link><guid isPermaLink="true">https://forum.netxms.org/post/18108</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Sun, 25 Oct 2015 05:40:10 GMT</pubDate></item><item><title><![CDATA[Reply to Node ID for Push parameter on Sat, 24 Oct 2015 17:10:39 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I was thinking you are using Java or C++ API, not command line tool. For command line tool you just have to omit node ID - server will find it from connection's source IP address.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/18106</link><guid isPermaLink="true">https://forum.netxms.org/post/18106</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 24 Oct 2015 17:10:39 GMT</pubDate></item><item><title><![CDATA[Reply to Node ID for Push parameter on Mon, 19 Oct 2015 10:30:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm using Runtime.exec() in java in my agent but here is same story in command prompt.</p>
<p dir="auto">Thank you.</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000002542-Push.png" alt="Push.png" class="img-markdown  img-fluid" width="665" height="327" /></p>
]]></description><link>https://forum.netxms.org/post/18023</link><guid isPermaLink="true">https://forum.netxms.org/post/18023</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Mon, 19 Oct 2015 10:30:12 GMT</pubDate></item><item><title><![CDATA[Reply to Node ID for Push parameter on Sat, 17 Oct 2015 16:40:56 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">can you show me code snippet how you push data?</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17999</link><guid isPermaLink="true">https://forum.netxms.org/post/17999</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 17 Oct 2015 16:40:56 GMT</pubDate></item><item><title><![CDATA[Reply to Node ID for Push parameter on Sat, 17 Oct 2015 05:58:46 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">Thanks for your reply,<br />
I got invalid object Id on using 0 as object id !</p>
<p dir="auto">With best Regards<br />
Pouya</p>
]]></description><link>https://forum.netxms.org/post/17993</link><guid isPermaLink="true">https://forum.netxms.org/post/17993</guid><dc:creator><![CDATA[pouya.moradian]]></dc:creator><pubDate>Sat, 17 Oct 2015 05:58:46 GMT</pubDate></item><item><title><![CDATA[Reply to Node ID for Push parameter on Fri, 16 Oct 2015 15:31:07 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">you may set node ID to 0, then server will find actual node by source IP address.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17985</link><guid isPermaLink="true">https://forum.netxms.org/post/17985</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Fri, 16 Oct 2015 15:31:07 GMT</pubDate></item></channel></rss>