Page 1 of 1
How to add multiple hosts(upto 500) in nagios core 3.5
Posted: Sun Jul 07, 2013 3:23 pm
by ceh
Hi Guys,
I need to add multiple hosts which are around 500, Manually adding them in windows.cfg or switch.cfg under the objects takes so much time, so is there any other way to add multiple hosts at a time.
Regards,
ceh
Re: How to add multiple hosts(upto 500) in nagios core 3.5
Posted: Mon Jul 08, 2013 12:19 pm
by slansing
With nagios core you are limited in the respect that configuration files must be created and edited manually. You will need to either create the host configuration files by hand out side of the server then transfer them at the same time, or hand create them within the server itself. I don't know of any bulk modification or import tools available for nagios core.
Re: How to add multiple hosts(upto 500) in nagios core 3.5
Posted: Tue Sep 09, 2014 12:43 pm
by mmacpuguy
Is this how most people configure Nagios, one host at a time? Or are there add-ons that can be used?
Or are you saying that Nagios Core is limited and other Nagios versions are not?
Re: How to add multiple hosts(upto 500) in nagios core 3.5
Posted: Tue Sep 09, 2014 12:54 pm
by tmcdonald
Since configs are flat files on the filesystem, changes are made by hand. You could certainly write a perl/python script that handles mass creation, but I don't know of one personally that exists as a general solution.
Nagios Core is not "limited" in any way, but our commercial product Nagios XI adds a nice web configuration interface (among many other things) on top of it.