Import list of servers
-
Hey, I actually realized something. I probably can't send out this list. Server names/IP addresses might be considered a bit touchy. Would you be able to take an input using a file formatted like your example?
-
Here is a functional NetXMS .csv importer:
https://github.com/tomaskir/NetXMS-csv-importerIt will take any address for a node (ipv4, ipv6 or a hostname), but will not add multiple addresses to a single node.
The reason for this is that NetXMS uses one primary address to communicate with the node, and then discovers all of the node's IP addresses over an Agent (be that NetXMS or SNMP Agent).Adding multiple IP addresses to a dynamic interface in NetXMS is not possible manually.
I dont want to create multiple interfaces to assign multiple addresses to a node, because you would have to delete them manually later on.The right solution to having all information (which includes all IP addresses) of a node is to have an Agent.
So lets not code work-arounds, and focus on solving it properly, by having an Agent present on the server node
-
Unfortunately, I can't do that. I've begged, but first and foremost we need to have an agentless monitoring solution. I'll test this out this week (and I apologize for the delay... hectic week).
Thank you very much.
-
Hey, finally was able to sit down and work on this. Getting an error .Error - "NXCException"!
Error message - "Incompatible operation".It imports about 150 servers out of a list of about 600, then I get this message.
Update: Did a little troubleshooting. Once I get past about 180 or so entires in the nodes table, I only seem to be able to import servers one at a time using the tool. Otherwise it throws the above exception.
-
-
Thank you very much. You have no idea how helpful this is.
-
After consulting with Victor, we found a potential issue when containers for imported nodes have name duplicities with other objects in NetXMS.
(internally, code could have chosen a non-container object to attempt to bind a node to)I fixed it and released a newer version:
https://github.com/tomaskir/NetXMS-csv-importer/releasesPlease try and let me know if it works now.
-
Ah... much better. Thank you very much.
-
-
I had a few duplicate IPs to weed out, but yes, I got everything imported. Thank you very much for the assistance.
-
-
-
-
Done, I released a new version with container creation support on
https://github.com/tomaskir/NetXMS-csv-importer/releases -
-
tomas,
is it possible to add a feature that allows setting of proxy address on import
currently its is
Node Name |Address |Container to bind to
but it would be nice if it could be as follows
Node Name | Address | Agent Proxy | ICMP Proxy | SNMP Proxy | SSH Proxy | Container to bind to
Thanks,
Gary
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login