Page 4 of 4

Re: Nagios stop working

Posted: Tue Nov 15, 2016 2:56 pm
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

Re: Nagios stop working

Posted: Tue Nov 15, 2016 3:13 pm
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.

Re: Nagios stop working

Posted: Tue Nov 15, 2016 3:26 pm
by rbizzell39
Yes it is running as a vm. I might have to do that

Re: Nagios stop working

Posted: Tue Nov 15, 2016 3:28 pm
by dwhitfield
If you have a snapshot, you could just roll it back.

Re: Nagios stop working

Posted: Tue Nov 15, 2016 3:36 pm
by rbizzell39
yeah I will do that but I never took any previous ones

Re: Nagios stop working

Posted: Tue Nov 15, 2016 4:09 pm
by dwhitfield
Please let us know when you are done with the reinstall and if you run into any problems.

Re: Nagios stop working

Posted: Wed Nov 16, 2016 9:27 am
by rbizzell39
ok will do

Re: Nagios stop working

Posted: Wed Nov 16, 2016 10:34 am
by dwhitfield
No rush on our end. Just let us know.