Nagios stop working

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Nagios stop working

Post by rbizzell39 »

What is the proper way to remove all instances of nagios and start from scratch. This was compile so should there be uninstall option
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios stop working

Post by dwhitfield »

Normally, I would say rm -rf the following:

/usr/local/nagios/
/etc/init.d/nagios
/etc/sysconfig/nagios

However, considering it seems like you have a couple of different installs in non-standard locations, it probably makes sense to install a fresh OS. If you have other things running on this server (not really supported anyway), then you could just create a VM and do a fresh Nagios install in the VM. Any VM software should work, but I know we have people using VMWare and VirtualBox sucessfully.

You could try find / -name "nagios*", and remove everything but of course that isn't going to grab nrpe.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Nagios stop working

Post by rbizzell39 »

Yes it is running as a vm. I might have to do that
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios stop working

Post by dwhitfield »

If you have a snapshot, you could just roll it back.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Nagios stop working

Post by rbizzell39 »

yeah I will do that but I never took any previous ones
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios stop working

Post by dwhitfield »

Please let us know when you are done with the reinstall and if you run into any problems.
rbizzell39
Posts: 112
Joined: Thu Dec 17, 2015 1:24 pm

Re: Nagios stop working

Post by rbizzell39 »

ok will do
dwhitfield
Former Nagios Staff
Posts: 4583
Joined: Wed Sep 21, 2016 10:29 am
Location: NoLo, Minneapolis, MN
Contact:

Re: Nagios stop working

Post by dwhitfield »

No rush on our end. Just let us know.
Locked