<?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[Export Running DCI List and Map to NodeID using Jython Jar]]></title><description><![CDATA[<p dir="auto">Hi All</p>
<p dir="auto">I need to get the list of all the DCI ID's running on their respective nodes Id's and also the name of the interfaces.</p>
<p dir="auto">I know that there is an 'nxshell-1.2.8.jar' which works on the jython. But I am unable to link the nodeId to the Dci Id.</p>
<p dir="auto">In the Java Doc API, there is a class getDciId() , I am not sure how to link this class with the NodeId.</p>
<p dir="auto">I also tried to get the ID of DCI, but it is giving an errror message that "self arg's can't be coerced"</p>
<p dir="auto">##### Sample Script #####</p>
<p dir="auto">from org.netxms.client.datacollection import DciData</p>
<p dir="auto">print "I am Above DCI Objects Export"<br />
for node in [o for o in s.getAllObjects() if isinstance(o, objects.Node)]:<br />
 <br />
   NodeID = node.getObjectId()<br />
   DciNodeId = DciData.getDciId().NodeID</p>
<p dir="auto">################</p>
<p dir="auto">Can you please guide me on how to get that information using the java doc API?</p>
<p dir="auto">API I referred : <a href="https://www.netxms.org/documentation/javadoc/latest/" rel="nofollow ugc">https://www.netxms.org/documentation/javadoc/latest/</a></p>
<p dir="auto">Thanks and Regards,<br />
Ashu</p>
]]></description><link>https://forum.netxms.org/topic/2713/export-running-dci-list-and-map-to-nodeid-using-jython-jar</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 12:18:44 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/2713.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 08 Nov 2013 05:36:26 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Export Running DCI List and Map to NodeID using Jython Jar on Fri, 08 Nov 2013 09:47:03 GMT]]></title><description><![CDATA[<p dir="auto">Please check attached scripts.</p>
<hr />
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001465-dci.py">dci.py</a></p>
<p dir="auto"><a href="/assets/uploads/files/smf/0000000001466-interfaces.py">interfaces.py</a></p>
]]></description><link>https://forum.netxms.org/post/11746</link><guid isPermaLink="true">https://forum.netxms.org/post/11746</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Fri, 08 Nov 2013 09:47:03 GMT</pubDate></item></channel></rss>