how to remove all hosts and checks

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

how to remove all hosts and checks

Post by benhank »

Is there a script that will wipe out all hosts services checks .etc, basically putting it back to a clean install state?
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
dwasswa

Re: how to remove all hosts and checks

Post 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
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: how to remove all hosts and checks

Post by benhank »

yeaaahhh! thanks!
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
bolson

Re: how to remove all hosts and checks

Post by bolson »

May we close this topic?
User avatar
benhank
Posts: 1264
Joined: Tue Apr 12, 2011 12:29 pm

Re: how to remove all hosts and checks

Post by benhank »

yes
Proudly running:
NagiosXI 5.4.12 2 node Prod Env 2500 hosts, 13,000 services
Nagiosxi 5.5.7(test env) 2500 hosts, 13,000 services
Nagios Logserver 2 node Prod Env 500 objects sending
Nagios Network Analyser
Nagios Fusion
Locked