Hi all.
Is there a way to mass import hosts into XI? I've been grabbing data via nmap and have it in a .csv file so I was hoping to have some "seamless" way to import all of it.
Importing hosts from a csv file
-
cwscribner
- Posts: 316
- Joined: Thu Mar 31, 2011 9:54 am
- Location: Patten, ME
- Contact:
Re: Importing hosts from a csv file
You can do this, but first You have to change the format of the data (.csv) to what nagios understands (look at /usr/local/nagios/etc/hosts/ files for an example).
You can write a simple shell script to do this
Then use Nagios Core Config Manager->Tools->Import Config Files to bulk import all data at once.
Take care
Michalux
You can write a simple shell script to do this
Then use Nagios Core Config Manager->Tools->Import Config Files to bulk import all data at once.
Take care
Michalux