<?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[create DCI with Java API]]></title><description><![CDATA[<p dir="auto">HI,<br />
I'm trying to create a DCI for a Node with Java API(version 1.1.6),and noticed that when create a DCI in Java console,after some DCI's parameter selected, its default information like data type,origin are also specialized dynamically,<br />
how to get these default setting information with Java API or any other advice for creating DCI?</p>
<p dir="auto">Best regards</p>
]]></description><link>https://forum.netxms.org/topic/1586/create-dci-with-java-api</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 07:41:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/1586.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 06 Feb 2012 08:46:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to create DCI with Java API on Wed, 08 Feb 2012 00:28:38 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much！</p>
]]></description><link>https://forum.netxms.org/post/6868</link><guid isPermaLink="true">https://forum.netxms.org/post/6868</guid><dc:creator><![CDATA[moseszero]]></dc:creator><pubDate>Wed, 08 Feb 2012 00:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to create DCI with Java API on Tue, 07 Feb 2012 13:05:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/moseszero" aria-label="Profile: moseszero">@<bdi>moseszero</bdi></a> said in <a href="/post/6851">create DCI with Java API</a>:</p>
<blockquote>
<p dir="auto">HI,<br />
I'm trying to create a DCI for a Node with Java API(version 1.1.6),and noticed that when create a DCI in Java console,after some DCI's parameter selected, its default information like data type,origin are also specialized dynamically,<br />
how to get these default setting information with Java API or any other advice for creating DCI?</p>
</blockquote>
<p dir="auto">When you use DataCollectionConfiguration.createItem call, new DCI is created with the following default parameters:</p>
<p dir="auto">origin - agent<br />
data type - integer<br />
polling interval - 60 seconds<br />
retention time - 30 days<br />
status - ACTIVE<br />
delta calculation - none</p>
<p dir="auto">all other attributes are set to 0, null, or empty string, depending on attribute's type.</p>
<p dir="auto">You should set all required attributes and call DataCollectionConfiguration.modifyItem.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6865</link><guid isPermaLink="true">https://forum.netxms.org/post/6865</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 07 Feb 2012 13:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to create DCI with Java API on Tue, 07 Feb 2012 13:01:23 GMT]]></title><description><![CDATA[<p dir="auto">Hi!</p>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/moseszero" aria-label="Profile: moseszero">@<bdi>moseszero</bdi></a> said in <a href="/post/6861">create DCI with Java API</a>:</p>
<blockquote>
<p dir="auto"> Is the list of all supported DCI to some Node  available using Java API?</p>
</blockquote>
<p dir="auto">Yes, you can use Session.getSupportedParameters call. It accepts node object ID and returns list of parameters supported by that node.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/6864</link><guid isPermaLink="true">https://forum.netxms.org/post/6864</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Tue, 07 Feb 2012 13:01:23 GMT</pubDate></item><item><title><![CDATA[Reply to create DCI with Java API on Tue, 07 Feb 2012 02:31:14 GMT]]></title><description><![CDATA[<p dir="auto"> Is the list of all supported DCI to some Node  available using Java API?</p>
]]></description><link>https://forum.netxms.org/post/6861</link><guid isPermaLink="true">https://forum.netxms.org/post/6861</guid><dc:creator><![CDATA[moseszero]]></dc:creator><pubDate>Tue, 07 Feb 2012 02:31:14 GMT</pubDate></item></channel></rss>