Tool that creats host list automatically

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
chuck112
Posts: 9
Joined: Fri Jan 03, 2014 12:01 pm

Tool that creats host list automatically

Post 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.
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Tool that creats host list automatically

Post 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?
chuck112
Posts: 9
Joined: Fri Jan 03, 2014 12:01 pm

Re: Tool that creats host list automatically

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Tool that creats host list automatically

Post 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.
Locked