Page 1 of 1

how to remove all hosts and checks

Posted: Fri Sep 08, 2017 11:58 am
by benhank
Is there a script that will wipe out all hosts services checks .etc, basically putting it back to a clean install state?

Re: how to remove all hosts and checks

Posted: Fri Sep 08, 2017 12:12 pm
by dwasswa
Hi @ benhank,

There is a script that can help you do that. Please see below...

Code: Select all

 cd  /usr/local/nagiosxi/scripts
Run the script:

Code: Select all

./restore_defaults.sh

Re: how to remove all hosts and checks

Posted: Fri Sep 08, 2017 12:17 pm
by benhank
yeaaahhh! thanks!

Re: how to remove all hosts and checks

Posted: Fri Sep 08, 2017 12:27 pm
by bolson
May we close this topic?

Re: how to remove all hosts and checks

Posted: Mon Sep 11, 2017 8:50 am
by benhank
yes