<?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[Difficulty using the CSV Importer]]></title><description><![CDATA[<p dir="auto">Hello all,</p>
<p dir="auto">I am very new to netXMS (using ver 4.3.5) so please be patient.  Currently working on migrating network monitoring for a WISP off of the Dude to netXMS. I figured the best way to go about this would be to import a csv from the Dude device list. I got the list to pass all the checks, but I am getting the following error -</p>
<p dir="auto">SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".<br />
SLF4J: Defaulting to no-operation (NOP) logger implementation<br />
SLF4J: See <a href="http://www.slf4j.org/codes.html#StaticLoggerBinder" rel="nofollow ugc">http://www.slf4j.org/codes.html#StaticLoggerBinder</a> for further details.<br />
Error: NXCException - Access denied.</p>
<p dir="auto">I verified that my credentials and IP address for the netxms server are correct. I appreciate any suggestions.</p>
]]></description><link>https://forum.netxms.org/topic/7671/difficulty-using-the-csv-importer</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 10:21:07 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7671.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 27 Apr 2023 19:17:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 18:06:27 GMT]]></title><description><![CDATA[<p dir="auto">It works beautifully now. Thank you so much, Filipp!</p>
]]></description><link>https://forum.netxms.org/post/34400</link><guid isPermaLink="true">https://forum.netxms.org/post/34400</guid><dc:creator><![CDATA[twparker]]></dc:creator><pubDate>Thu, 01 May 2025 18:06:27 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 17:39:46 GMT]]></title><description><![CDATA[<p dir="auto">I've modified the script above, pls try again</p>
]]></description><link>https://forum.netxms.org/post/34399</link><guid isPermaLink="true">https://forum.netxms.org/post/34399</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 01 May 2025 17:39:46 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 17:20:35 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, Filipp. That got me farther.</p>
<p dir="auto">Traceback (most recent call last):<br />
  File "create_nodes.py", line 17, in &lt;module&gt;<br />
    node_name = data[i].strip()<br />
AttributeError: 'list' object has no attribute 'strip'</p>
]]></description><link>https://forum.netxms.org/post/34398</link><guid isPermaLink="true">https://forum.netxms.org/post/34398</guid><dc:creator><![CDATA[twparker]]></dc:creator><pubDate>Thu, 01 May 2025 17:20:35 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 16:52:10 GMT]]></title><description><![CDATA[<p dir="auto">Looks that some text was accidentally pasted in the middle of the script. I've fixed the source in the above message.</p>
]]></description><link>https://forum.netxms.org/post/34397</link><guid isPermaLink="true">https://forum.netxms.org/post/34397</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 01 May 2025 16:52:10 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 15:41:25 GMT]]></title><description><![CDATA[<p dir="auto">  Hey Filipp,</p>
<p dir="auto">I didn't notice your response to this nearly 2 years ago. I don't know if this table structure is still useful, but it is what is exported from the Dude device list.</p>
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>Flag</th>
<th>Name</th>
<th>Addresses</th>
<th>MAC</th>
<th>Type</th>
<th>Maps</th>
<th>Services Down</th>
<th>Notes</th>
</tr>
</thead>
</table>
<p dir="auto">I was revisiting this thread as I was trying to bulk import older devices we weren't previously monitoring into our NetXMS deployment. I figured that I could re-use this script, but I am running into errors now when I try to use it.</p>
<p dir="auto">SyntaxError: no viable alternative at input 'admin'</p>
]]></description><link>https://forum.netxms.org/post/34396</link><guid isPermaLink="true">https://forum.netxms.org/post/34396</guid><dc:creator><![CDATA[twparker]]></dc:creator><pubDate>Thu, 01 May 2025 15:41:25 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Fri, 05 May 2023 11:23:12 GMT]]></title><description><![CDATA[<p dir="auto">Actually, can you attach an example of how export from the Dude looks like? We might be interested in adding some out-of-the box scripts for import as this might be useful for many people.</p>
<p dir="auto">Is it only the list of nodes, or there is some other useful data from the Dude that can be exported (e.g. templates with OIDs for SNMP polling, etc...)</p>
]]></description><link>https://forum.netxms.org/post/32428</link><guid isPermaLink="true">https://forum.netxms.org/post/32428</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Fri, 05 May 2023 11:23:12 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 01 May 2025 17:39:21 GMT]]></title><description><![CDATA[<p dir="auto">Here's nxshell script that does the same job. nxshell is Jython implementation of Java API. You need to install nxshell to use this, on Linux this is included in netxms-client package</p>
<p dir="auto">To execute the script:<br />
nxshell -u admin -P password create_nodes.py</p>
<pre><code>import csv

print("=========================================================================================================")

with open('nodes.csv') as csv_file:
    reader = csv.reader(csv_file, delimiter=',')
    data = [row for row in reader]

Infrastructure = session.findObjectByName("Infrastructure services")
if Infrastructure is None:
    print("Infrastructure services not found")
    quit()

flags = NXCObjectCreationData.CF_DISABLE_ETHERNET_IP

for i in range(0, len(data)):
    node_name = data[i][0].strip()
    node_address = data[i][1].strip()
    node_container = data[i][2].strip()
    Container = session.findObjectByName(node_container)
    if Container is None:
        cd = NXCObjectCreationData(objects.GenericObject.OBJECT_CONTAINER, node_container, Infrastructure.objectId);
        node_container_id = session.createObject(cd)
        print('Container "{}" created, id={}'.format(node_container, node_container_id))
    else:
        print('Container "{}" already exists'.format(node_container))
        node_container_id = Container.objectId
    Node = session.findObjectByName(node_name)
    if Node is None:
        cd = NXCObjectCreationData(objects.GenericObject.OBJECT_NODE, node_name, node_container_id);
        cd.setCreationFlags(flags);
        cd.setPrimaryName(node_address)
        nodeId = session.createObject(cd)
        print('Node "%s" created, id=%d' % (node_name, nodeId))
    else:
        print('Node "%s" already exists' % (node_name))
</code></pre>
]]></description><link>https://forum.netxms.org/post/32416</link><guid isPermaLink="true">https://forum.netxms.org/post/32416</guid><dc:creator><![CDATA[Filipp Sudanov]]></dc:creator><pubDate>Thu, 01 May 2025 17:39:21 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Fri, 28 Apr 2023 14:39:07 GMT]]></title><description><![CDATA[<p dir="auto">Yes, that is exactly what I am using. If that is the case, are there other options for mass device imports for newer versions of NetXMS? I have about 1500 devices that I am currently tracking with the Dude that I need to migrate.</p>
]]></description><link>https://forum.netxms.org/post/32415</link><guid isPermaLink="true">https://forum.netxms.org/post/32415</guid><dc:creator><![CDATA[twparker]]></dc:creator><pubDate>Fri, 28 Apr 2023 14:39:07 GMT</pubDate></item><item><title><![CDATA[Reply to Difficulty using the CSV Importer on Thu, 27 Apr 2023 21:18:22 GMT]]></title><description><![CDATA[<p dir="auto">What are you using to import  is it  <a href="https://github.com/tomaskir/NetXMS-csv-importer" rel="nofollow ugc">https://github.com/tomaskir/NetXMS-csv-importer</a>  if so im not sure it works with newer versions of Netxms</p>
]]></description><link>https://forum.netxms.org/post/32410</link><guid isPermaLink="true">https://forum.netxms.org/post/32410</guid><dc:creator><![CDATA[gmonk63]]></dc:creator><pubDate>Thu, 27 Apr 2023 21:18:22 GMT</pubDate></item></channel></rss>