Hi All,
I was trying to import hundreds of host object to a group using CSV files via command mgmt_cli. However, most of the time when I try to run the command, and after enter the password, it does not show any output or response.
At first I'm thinking whether the files consist of too much of IP list which cause the system hang/fail to process it. Therefore, I break to several files which lesser IP (50 IPs per csv files) and somehow it is working for sometimes but not success all the time. And the weird thing is I do tried to import csv files that consists of IP more than that (about 100+ IPs) and it is import successfully but not success all the time. So that I conclude that might not because of too much of IPs that need to add in the csv files.
And when I check on the Smartconsole, I did see the session of Management API changes report is already import all the objects insides. Therefore, currently my work around is after ran the command in CLI to import, then go to Smartconsole and take over the session and publish.
Command that I run as below:
dos2unix * *
mgmt_cli add host --batch /home/admin/tmp/xxx.csv
Kindly please advise for this weird behavior. Any solution for this? Or did I do any steps wrongly?
Quantum Security Management API and CLI Discussion SmartConsole Extensions
Best Regards,
Keon