Page 1 of 2

Host Creation Tool Wizard now available

Posted: Tue Nov 30, 2010 5:25 pm
by Box293
Hello fellow Nagios XI users. I have created a Host Creation Tool Wizard that is available for download from the Nagios Exchange.

This tool lets you create hosts in bulk.

Ideal for adding hosts of a similar type quickly.

It does NOT add services.

You need a list of hosts, their addresses and optionally a description in a spreadsheet / CSV format.

The format is address,host name,description
If you did not want a description then the format is address,host name

Here are some examples:

VMware ESX Servers
esx1.yourdomain.local,ESX1,ESX1 - Production
esx2.yourdomain.local,ESX2,ESX2 - Production
esx3.yourdomain.local,ESX3,ESX3 - Production
esx4.yourdomain.local,ESX4,ESX4 - Testing
esx5.yourdomain.local,ESX5,ESX5 - Testing

Windows Servers
192.168.111.50,SERVER01,Active Directory
192.168.111.51,SERVER02,Active Directory
email.yourdomain.local,SERVER04
192.168.111.55,SERVER05
192.168.111.38,SERVER06,Email
192.168.111.40,SERVER17
Host Creation Tool Example.png
Version Notes:
2010-11-30
* Initial release, tested on Nagios XI 2009R1.3G

2010-12-05
* Corrections made to wizard code as supplied by mguthrie from Nagios.

2011-05-08
* Updated wizard so it does not require the Linux Server Wizard to be installed for this wizard to complete, as per the "blank screen" problem reported by efesperman.

2012-08-12
* Added the option to provide a description field as suggested by Nagios Support Forum user htel
* Tool will detect most wizards that come supplied with Nagios XI 2011R3.2
* Added additional error checking on user supplied data
* Moved JavaScript and CSS to seperate include files
* Tested on Nagios XI 2011R3.2

Any questions / suggestions / requests are always welcome.

Re: Host Creation Tool Wizard now available

Posted: Tue Nov 30, 2010 6:27 pm
by mguthrie
Very cool!

Re: Host Creation Tool Wizard now available

Posted: Tue Nov 30, 2010 8:53 pm
by Box293
Much appreciated :D

Re: Host Creation Tool Wizard now available

Posted: Sun Dec 05, 2010 8:42 pm
by griffithusg
This very cool indeed. Would it be possible to allow it to add the hosts to a desired hostgroup?

Re: Host Creation Tool Wizard now available

Posted: Tue Dec 07, 2010 3:54 am
by Box293
Hi griffithusg,

Thanks for the feedback :D

When using the wizard, on the Step 6 screen you should be able to select the host group that you want all these hosts to become a member of.

After the configuration is applied you will find that inside the properties of each host the host will now be a member of the host group you selected.
hostgroup membership example.png
Note: If you don't get step 6 of the wizard then you need to upgrade to 2009R1.3 or later as this was added in this release
Extract from release notes - Added ability to specify hostgroups, servicegroups, and parent hosts in config wizards and re-configure screens

Re: Host Creation Tool Wizard now available

Posted: Thu Dec 09, 2010 6:39 am
by griffithusg
Hey Box,
That's bloody fantastic. You're a life saver :D

Re: Host Creation Tool Wizard now available

Posted: Thu Dec 09, 2010 6:16 pm
by Box293
No problem, anytime.

Re: Host Creation Tool Wizard now available

Posted: Mon Apr 18, 2011 7:27 am
by leens
Hi,

I have Nagios xi 2011 and when I use this wizard I have a blank pages at the end of the wizard and no nodes are added. Du you already have this problem? solution?

Re: Host Creation Tool Wizard now available

Posted: Mon Apr 18, 2011 5:14 pm
by Box293
Can you please upload a text file of the content you pasted in the wizard so I can test to see if I can reproduce the problem? If you are not comfortable uploading it in the forum you can email it to [email protected]

Re: Host Creation Tool Wizard now available

Posted: Tue Apr 19, 2011 1:49 am
by leens
Hi,

I have sent you information.
I try manually with this format: ip adress,nam and I have same problem.

Rgds