Use config files from Nagios XI on Nagios Core ?

An open discussion forum for obtaining help with Nagios Core. Nagios Core users of all experience levels are welcome here. Subforum have been created for the discussion of Nagios Core and Nagios Plugin development.

NOTE: The SourceForge.net mailing lists have been deprecated in favor of this forum in order to expedite support and provide additional features not available on the old mailing list.

Use config files from Nagios XI on Nagios Core ?

Postby ks6764 » Sat Feb 10, 2018 1:39 pm

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.
ks6764
 
Posts: 54
Joined: Thu Aug 20, 2015 10:42 am

Re: Use config files from Nagios XI on Nagios Core ?

Postby mcapra » Mon Feb 12, 2018 9:39 am

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 ?

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 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 don't know about "in bulk", but there's a handful of configuration management utilities out there:
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
http://www.mcapra.com/
User avatar
mcapra
 
Posts: 3077
Joined: Thu May 05, 2016 3:54 pm

Re: Use config files from Nagios XI on Nagios Core ?

Postby kyang » Mon Feb 12, 2018 12:17 pm

Thanks for the help @mcapra!

It's worth mentioning that support for any of those utilities on this particular support forum will be limited.


ks6754, Let us know if you have any more questions.
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
kyang
Support Tech
 
Posts: 1505
Joined: Tue Jul 25, 2017 3:35 pm

Re: Use config files from Nagios XI on Nagios Core ?

Postby ks6764 » Mon Feb 12, 2018 12:25 pm

Thanks for the information, you can close this thread now.
ks6764
 
Posts: 54
Joined: Thu Aug 20, 2015 10:42 am

Re: Use config files from Nagios XI on Nagios Core ?

Postby kyang » Mon Feb 12, 2018 12:36 pm

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!
Be sure to check out our Knowledgebase for helpful articles and solutions!
User avatar
kyang
Support Tech
 
Posts: 1505
Joined: Tue Jul 25, 2017 3:35 pm


Return to Nagios Core

Who is online

Users browsing this forum: Knack and 39 guests