Nagios stop working
-
rbizzell39
- Posts: 112
- Joined: Thu Dec 17, 2015 1:24 pm
Re: Nagios stop working
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
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.
/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
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
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
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
Please let us know when you are done with the reinstall and if you run into any problems.
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Nagios stop working
No rush on our end. Just let us know.