Can I flush all hosts and services (start over) ?

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
Daithi
Posts: 8
Joined: Wed Sep 20, 2017 11:20 am

Can I flush all hosts and services (start over) ?

Post by Daithi »

I had a V2 nagios server that crashed and have installed nagiosxi but have run into problems importing my old configuration files - i.e. I have four copies of some services in each host, etc. I'd like to just roll back to empty and go with the static method. Is there a way to clean out everything ?

Thanks,
Dave
kyang

Re: Can I flush all hosts and services (start over) ?

Post by kyang »

Running the script below will allow you to restore XI back to a clean install state.

Code: Select all

/usr/local/nagiosxi/scripts/restore_defaults.sh
Daithi
Posts: 8
Joined: Wed Sep 20, 2017 11:20 am

Re: Can I flush all hosts and services (start over) ?

Post by Daithi »

Thanks! I have a trial system that I'll run that on and see if can do better the second time around.
kyang

Re: Can I flush all hosts and services (start over) ?

Post by kyang »

Sounds good!

I'll be closing this thread, if you have any more questions feel free to create another one.
Thanks for using the Nagios Support Forums!
Locked