Skip to main content
Solved

Adding large number of devices to a single map

  • November 3, 2021
  • 1 reply
  • 241 views

Hi all,

I have a list of 50+ devices (hostnames) in a file which I would like to add to a single map. They are spread among many existing groups. Is there a way how to have them added to a map all at once? Like “Add to a map every hostname from this csv file” kind of at once.
Or do I have to add them one by one from search menu?
Related question, once I am finished with discovery process in domain management, is there a way to immediately put all discovered devices into a single map?

Thank you for your time

Jan Dudic
 

Best answer by Carsten.Schmidt

Hi @Jan Dudic
there is no way to simply add devices to maps, at least to my knowledge. What you can do is add the devices to a Device Group and from that group you can create a map.

You can manually create a Device Group and add the devices from your CSV file, using the Import function or you can add devices using a script that iterates through your CSV and calls the API “Add Devices to Group”
https://github.com/NetBrainAPI/NetBrain-REST-API-R10/blob/master/REST%20APIs%20Documentation/Device%20Group%20Management/Add%20Devices%20to%20Group.md.

1 reply

Forum|alt.badge.img+4
  • Brainy
  • 82 replies
  • Answer
  • November 3, 2021

Hi @Jan Dudic
there is no way to simply add devices to maps, at least to my knowledge. What you can do is add the devices to a Device Group and from that group you can create a map.

You can manually create a Device Group and add the devices from your CSV file, using the Import function or you can add devices using a script that iterates through your CSV and calls the API “Add Devices to Group”
https://github.com/NetBrainAPI/NetBrain-REST-API-R10/blob/master/REST%20APIs%20Documentation/Device%20Group%20Management/Add%20Devices%20to%20Group.md.