Cisco Cisco Firepower Management Center 4000 Developer's Guide
3-31
FireSIGHT System Host Input API Guide
Chapter 3 Using the Host Input Import Tool
Running a Host Input Import
Running a Host Input Import
You can run the host input import tool from the command line to process the import file you created.
Caution
The system discards any data in the import file that it cannot interpret. Additionally, if you run the same
import multiple times, you may find duplicate data in your network map for some items. To prevent these
issues, you may want to test import of your import file before running the actual import. For more
information, see
import multiple times, you may find duplicate data in your network map for some items. To prevent these
issues, you may want to test import of your import file before running the actual import. For more
information, see
Note that if you set up the host input reference client on a remote host with access to the Defense Center,
you can use the
you can use the
ssl_host_input_api_test.pl
script to process an import file from the client. For more
information on setting up the reference client, see
.
To run an import:
Step 1
Copy the import file you created to the
/usr/local/sf/bin/
directory on the Defense Center where you
want to run the import.
Caution
You must log in using an account with read/write access to this directory in to import a file.
Step 2
Log into your Defense Center using an account with
admin
privileges.
Step 3
At the command line, type
/usr/local/sf/bin/nmimport.pl filename
.
Tip
To redirect the results of the test import to a log file, add
> logfilename
to the end of the command.
The system adds the imported data to the network map and either displays the result messages on the
screen or redirects them to the file you specify.
screen or redirects them to the file you specify.