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
How to add multiple hosts(upto 500) in nagios core 3.5
-
slansing
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: How to add multiple hosts(upto 500) in nagios core 3.5
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
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?
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
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.
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.
Former Nagios employee