Uninstall nagios that has been manually installed through source
34,735
You just do the steps in reverse(ish) order:
- Stop the Nagios daemon
- Remove the web conf, if you installed it
- Remove the user and group that you added for Nagios
- Remove the init script
- Remove /usr/local/nagios directory
Then, next time you want to test a new version of Nagios, you use a VM so you can revert to a snapshot.
Related videos on Youtube
Author by
n00b
Updated on September 18, 2022Comments
-
n00b almost 2 years
I installed nagios through this guide which works fine, but now i'd like to uninstall it altogether. Could you guide me what i need to delete as i cannot see an uninstallation routine.
-
Castaglia over 8 yearsUsing this from the root of the filesystem might be a bit extreme; better would be to suggest to the OP that the
find
command start with the Nagios installation directory. Also, the suggested answer would be improved with some explanation for why this would cover everything requested. -
Arash Hatami about 6 yearsA part of this command is helpful to find all directories .... because in normal mode there is an error to delete a directory
-
Avamander over 5 yearsI had to use this to get everything nagios removed. Wish they learned how to package their software properly.