Good afternoon,
We're finally happy with our Core 4.2.4 installation, so I want to uninstall 4.0.8 from its home (different server to 4.2.4)
Please can you point me in the direction of any documentation covering an "approved" means of doing this?
Thanks in advance
Pete
Uninstalling Nagios Core 4.0.8
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Uninstalling Nagios Core 4.0.8
Depending on your system and install, you can check for package installation with (possibly pacman or other package managers):
If you have either of those show a match, you can simply use the distributions package manager to remove nagios completely.
If neither of those match, the only files on a default source install would be:
/usr/local/nagios/ - (libexec directory has your plugins, so I would suggest removing the sub folders and files, but not libexec and the nagios dir as a whole if you plan to use nrpe again)
/etc/init.d/nagios
/etc/sysconfig/nagios
If you modified the compilation in some way, then there's not any way for us to know where things are installed. certainly find / -name *nagios* could be of use, but you'd need to sort out the 4.0.8 stuff versus 4.2.4.
Code: Select all
rpm -qa | grep nagios
dpkg -l | grep nagios
If neither of those match, the only files on a default source install would be:
/usr/local/nagios/ - (libexec directory has your plugins, so I would suggest removing the sub folders and files, but not libexec and the nagios dir as a whole if you plan to use nrpe again)
/etc/init.d/nagios
/etc/sysconfig/nagios
If you modified the compilation in some way, then there's not any way for us to know where things are installed. certainly find / -name *nagios* could be of use, but you'd need to sort out the 4.0.8 stuff versus 4.2.4.
-
- Posts: 329
- Joined: Fri Jul 24, 2015 11:04 am
Re: Uninstalling Nagios Core 4.0.8
Apologies for the delay in coming back to you - I'll read your reply in more detail tomorrow morning and respond to you.
Thanks
Pete
Thanks
Pete
-
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Uninstalling Nagios Core 4.0.8
No problem, just let us know if you need any more help!