Without going into a long explanation as to why....I would like to know if it is possible to take config files for hosts,hostgroups, contacts, contactgroups, services, servicegroups, etc. that exist currently today on a Nagios xi server and copy them to a Nagios Core server and have them work ?
Secondly, I have been searching the web for any script examples that would work on Nagios Core that would allow me to setup contacts, hosts, hostgroups, etc. in bulk, but have had no luck in finding anything. I would think as long as Nagios Core has been around there would be something. Anyone have a script(s) they can share ?
Thanks much for any input on the above.
Use config files from Nagios xi on Nagios Core ?
-
- Posts: 58
- Joined: Thu Aug 20, 2015 10:42 am
-
- Posts: 3739
- Joined: Thu May 05, 2016 3:54 pm
Re: Use config files from Nagios xi on Nagios Core ?
Assuming the underlying Nagios Core versions are the same, and you update the destination Nagios Core's nagios.cfg file to include the Nagios xi sub-directories, yes this should work. It's not exactly "drag and drop", but the basic concept should work.I would like to know if it is possible to take config files for hosts,hostgroups, contacts, contactgroups, services, servicegroups, etc. that exist currently today on a Nagios xi server and copy them to a Nagios Core server and have them work ?
I don't know about "in bulk", but there's a handful of configuration management utilities out there:I have been searching the web for any script examples that would work on Nagios Core that would allow me to setup contacts, hosts, hostgroups, etc. in bulk, but have had no luck in finding anything.
https://www.thruk.org/
https://sourceforge.net/projects/nagiosql/
https://github.com/aytekinaygun/NagConf
It's worth mentioning that support for any of those utilities on this particular support forum will be limited.
Former Nagios employee
https://www.mcapra.com/
https://www.mcapra.com/
Re: Use config files from Nagios xi on Nagios Core ?
Thanks for the help @mcapra!
ks6754, Let us know if you have any more questions.It's worth mentioning that support for any of those utilities on this particular support forum will be limited.
-
- Posts: 58
- Joined: Thu Aug 20, 2015 10:42 am
Re: Use config files from Nagios xi on Nagios Core ?
Thanks for the information, you can close this thread now.
Re: Use config files from Nagios xi on Nagios Core ?
Sounds good! I'll be closing this thread!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!
If you have any more questions, feel free to create another thread.
Thanks for using the Nagios Support Forum!