Delete all configs and start auto discovery

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
Tilburg
Posts: 6
Joined: Mon Nov 20, 2017 7:20 am

Delete all configs and start auto discovery

Post by Tilburg »

Hi,

I want to clone my production Nagios xi server to our O environment and delete all the configs defined. After that i want to start the auto discovery. This is because our O not 100% the same as P and i just want to start from scratch.

Is there an easy way to do this?

If this seems to be a dumb way of going about this, then please let me know what alternatives I can use.

thanks a lot,

Rob
ssax
Dreams In Code
Posts: 7682
Joined: Wed Feb 11, 2015 12:54 pm

Re: Delete all configs and start auto discovery

Post by ssax »

You can backup P and restore to O, then follow the After the Restore section completely from the backup/restore guide:

https://assets.nagios.com/downloads/nag ... ios-XI.pdf

Then to restore to the default configs:

If you run this script it will restore the configs on the system to the defaults:
- I ran this on my system and it left all the XI specific settings/users

Code: Select all

/usr/local/nagiosxi/scripts/restore_defaults.sh
Locked