Importing Host Not Working
-
SERVER
• FOG Version: 1.4.0
• OS: UbuntuDESCRIPTION
Importing fails when trying to import host under Host Management. The CSV file looks good with about 200 entries. But when importing that CSV file, the Import Host Results (Total Rows, Successful Host, Failed Host, and Errors) are 0. -
when you created the import file, you started with an export to get the file’s structure?
Is this a new fog 1.4.0 server you are importing to (i.e. no records in the database already)?
This is just a guess, but I would look at the apache error log to see if it threw an error on the import.
-
Also, do those hosts already exist in your database?
-
I just tested the import. All seems correct.
Remember the host csv file MUST be in the format:
<mac>,<hostname>, etc…
at a minimum it must have the mac and hostname.
-
@Tom-Elliott Thanks Tom. I went ahead and deleted all the columns and just left the <mac> and <hostname> and they imported successfully.