Hello,
I am trying to import from a csv with the below format:
name , ip-address, groups.1
server1, 10.100.12.1, Edge Servers
server2 , 10,100.12.92, Edge Servers
…..
name is the name of the host I want to import, ip-address is the ip of the host , groups.1 is the existing group that I need the new host to be added.
I tried multiple ways to make it happen but nothing worked.
mgmt_cli add host --batch rightone.csv
I received the below messages cause some of the hosts are already saved with other name I suppose.
Line 3xxxx: code: "err_validation_failed"
message: "Validation failed with 1 warning and 1 error"
warnings:
- message: "Multiple objects have the same IP address 10.1.21.82"
errors:
- message: "More than one object named 'server_sql' exists."
What can I do to resolve the problem?