I was wondering if there was a way that I could bulk load host and server configs into Nagios XI? I have approximately 1200 hosts, each with 12 standard service checks. Obviously, I'd rather not have the servers entered by hand if we can do it in bulk.
Two options immediately come to mind:
1) Writing the mySQL insert statements directly (in which case I have to figure out the database schema (with mySQL workbench) and the syntax used for record insertion (with mySQL query analyzer)).
2) Using the "Nagios Core Configuration Import" procedure. I'm not entirely certain of using that interface for that quantity of hosts and services (14,400).
Are there any options I'm missing?
Bulk loading host and services?
-
tonyyarusso
- Posts: 1128
- Joined: Wed Mar 03, 2010 12:38 pm
- Location: St. Paul, MN, USA
- Contact:
Re: Bulk loading host and services?
This *should* work actually - give it a try. There's also a configuration import prep tool in XI that will do some sanity checks / formatting for you before you pass it into that part.TSCAdmin wrote:2) Using the "Nagios Core Configuration Import" procedure. I'm not entirely certain of using that interface for that quantity of hosts and services (14,400).
Re: Bulk loading host and services?
Where can I find this Nagios Core Configuration Procedure and the configuration import Prep Tool in XI?tonyyarusso wrote:This *should* work actually - give it a try. There's also a configuration import prep tool in XI that will do some sanity checks / formatting for you before you pass it into that part.TSCAdmin wrote:2) Using the "Nagios Core Configuration Import" procedure. I'm not entirely certain of using that interface for that quantity of hosts and services (14,400).
We are developing scripts to deploy VMs in Vsphere and would like to add newly deployed hosts automatically to nagios for monitoring
as an ongoing process and also delete them from nagios when decommissioned
Suggestions?
Re: Bulk loading host and services?
Start another topic(or find the topic already started) for the NagiosXI automation stuff, though this can be done and there is some bits of pointers floating around.
As for your import it's all documented in our Nagios Library linked off our site nagios.com.
As for your import it's all documented in our Nagios Library linked off our site nagios.com.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Bulk loading host and services?
How did you go with the bulk import?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.