Dear all,
I have created a Black List group and every week I am adding roughly between 20 up to 40(ish) new hosts...
I have read that there is a possibility to use mgmt_cli in order to create all of them in one shot....
I have created the csv file in a UTF-8 format and used sk113078 as a guideline...
name,ip-address
Black_List_408,104.248.164.231
Black_List_409,118.70.113.1
These are the top three rows of the csv file...
when trying to execute the file I get the following:
[Expert@management:0]# mgmt_cli add host --batch blacklist.csv
Username: ohadadmin
Password:
Failed to read parameters file [blacklist.csv]: Failed to open file.
I have no idea what I am doing wrong here... and the Management API Reference is less than useless... There isnt even 1 example of how it should be...
Can anyone please assist...?
Also if anyone could educate me on how to add those objects to the "Black_List" group that I created (Preferably with the same csv file) I would really appreciate it