Page 1 of 1

Replicate

Posted: Mon Apr 04, 2016 3:31 am
by peter19x
Hello,

I have a functional Nagios XI server with all it's hosts and services and I would like to replicate it on to another Nagios XI instance.
What is the best document that describes the process?

I have found this document below but it is from a nagios core to XI:
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Many Thanks,
Peter

Re: Replicate

Posted: Mon Apr 04, 2016 9:36 am
by rkennedy
What exactly are you looking to accomplish? Just a new fresh system? You should be able to do a backup and restore for this.
https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Re: Replicate

Posted: Tue Apr 05, 2016 4:29 am
by peter19x
Hello Yes , replicating all hosts+ services of my current Nagios XI server to the new fresh server where Nagios XI is installed but there is no host or services.

Will that backup copy all hosts + services? or will I have to import them ?

Thanks,
Peter

Re: Replicate

Posted: Tue Apr 05, 2016 9:36 am
by rkennedy
You shouldn't need to, the backup and restore script should take care of it.
backup-restore.PNG

Re: Replicate

Posted: Wed Apr 06, 2016 3:21 am
by peter19x
Hello,

Thank you for the prompt replies, that's great and simple :)

One more thing though, if I am trying to do the restore on an existing Nagios machine ( with existing hosts and services) and not a fresh one, will the restore overwrite everything or will append on the existing config?

Thanks again,
Peter

Re: Replicate

Posted: Wed Apr 06, 2016 4:30 pm
by lmiltchev
Your "existing" hosts/services will be overwritten (wiped out). If you want to preserve them, try importing the "old" configs to the "new" server manually (provided they are not too many).

Re: Replicate

Posted: Thu Apr 07, 2016 3:07 am
by peter19x
Great Thank you

Re: Replicate

Posted: Thu Apr 07, 2016 9:59 am
by rkennedy
You're welcome, are we good to mark this thread as resolved?

Re: Replicate

Posted: Tue Apr 12, 2016 3:18 am
by peter19x
Good morning,

Apologies for the late reply, being quite busy the past few days.

Yes please.

Re: Replicate

Posted: Tue Apr 12, 2016 9:28 am
by bwallace
No worries, we'll go ahead and close this thread now.