Page 1 of 1

Tool that creats host list automatically

Posted: Thu Jul 10, 2014 8:42 am
by chuck112
Hello,
I have been able to install Nagios core and NRPE on 2 devices, I know have a good understanding how this works, but I want to take it one step farther, I would like to add about 20 more hosts that are on VM's. I find the long form on how to do it, with creating and typing in the file information but in the automation world we live in now I would think there is a tool out there that would help speed up the process... where I can typed in the names of the hosts and their Ip addresss.. then go to each one install plugins and nrpe update a couple files and then everthing is working great. So does anyone know of a way to make the host list on the master Nagios Core backbone without typing in all the information line by line for 20 servers?

Thanks for the help.

Re: Tool that creats host list automatically

Posted: Thu Jul 10, 2014 2:04 pm
by slansing
Well, as far as on the Nagios end this is largely taken care of with XI:

http://www.nagios.com/products/nagiosxi

You could just copy out the host, and services files and re-name them, then just change the host name for the services in your services file, or template everything and just create multiple templates for each. Currently you are creating a whole new host file, services file, etc, manually for each host right?

Re: Tool that creats host list automatically

Posted: Tue Jul 15, 2014 1:06 pm
by chuck112
yeah that darn XI looks great, but with a budget of your a linux admin- open source you will find a way to make it work XI is like a shinny little toy that ill never get to play with....lol

thanks

Re: Tool that creats host list automatically

Posted: Tue Jul 15, 2014 1:20 pm
by slansing
Yes... the unfortunate truth for a lot of admins I suppose, you could also take a look at integrating QL into your core instance:

http://exchange.nagios.org/directory/Ad ... QL/details

Or, another option would be the less costly Core VM's:

http://www.nagios.org/download/core/

You'd me most interested in the 'Web Configuration UI' but there are a lot of neat features baked in at all the levels.