Hello Experts,
I am new at Nagios installation and configuration. I need to completely uninstall Nagios Core from a live server without affecting anything else. This is our production server on amazon so its a critical operation. The OS for this server is "Ubuntu 14.04.2".
Can anyone please guide me here with this?
- Sushant
Uninstall Nagios Core completely from live server OS: Ubuntu
- sushant4tech
- Posts: 25
- Joined: Fri Jul 31, 2015 12:24 am
Re: Uninstall Nagios Core completely from live server OS: Ub
Since we don't know much about your server, it's difficult to give you exact directions regarding the uninstallation of Nagios Core without affecting your other services. What else is your Ubuntu server responsible for?
The most relevant directory for a typical Nagios Core installation is /usr/local/nagios, but there are many more depending on exactly what is installed in your server.
Let's do a little bit of basic reconnaissance:
The most relevant directory for a typical Nagios Core installation is /usr/local/nagios, but there are many more depending on exactly what is installed in your server.
Let's do a little bit of basic reconnaissance:
Code: Select all
find / -iname '*nagios*'- sushant4tech
- Posts: 25
- Joined: Fri Jul 31, 2015 12:24 am
Re: Uninstall Nagios Core completely from live server OS: Ub
Hi Jason,
Thanks for reply. That was my first post.
The Ubuntu also handles Apache, Redis, WordPress and MongoDB so its critical for our other application modules as well. I wouldn't mind working with the existing Nagios as well but there are lost of issues and rather than fixing that, i thought fresh install is a better option if that can happen without disturbing other services.
I want to show the management that Nagios is worth a lot when it comes to monitoring but i will have to show them what can we do with this existing version. Once they see it, i am sure we will move on to commercial version.
So i have two options here:
1. Uninstall the existing setup (Affecting Factor - Good chance of affecting other services, which is a very critical issue)
2. Tune existing setup (Affecting Factor - Will have to go through almost all object definitions to pinpoint issues)
I hope to get help for any of the options above. I can define objects and work with them, tweak them on my own, but its been long time since i did that. I just need the right direction.
To just consider whats in option two, below are the problems listed.
*We have 7 hosts (including local) configured on nagios core as that the limit.
*The services for all the hosts however are working fine, there is no issue there.
1. Except for the local and one other host remaining 5 hosts shows status as pending on Host Status total Page.
2. For the two hosts which shows Status Up, the last check date is shown as 12-12-2014 which is when my predecessor configured it. Rest of the hosts shows Last Check N/A.
3. When i check host information of the 5 hosts which shows status pending, i can see that those are updated every 90 sec and last updated date is up to date however Host state Information shows "This host has not yet been checked, so status information is not available."
Thanks for reply. That was my first post.
The Ubuntu also handles Apache, Redis, WordPress and MongoDB so its critical for our other application modules as well. I wouldn't mind working with the existing Nagios as well but there are lost of issues and rather than fixing that, i thought fresh install is a better option if that can happen without disturbing other services.
I want to show the management that Nagios is worth a lot when it comes to monitoring but i will have to show them what can we do with this existing version. Once they see it, i am sure we will move on to commercial version.
So i have two options here:
1. Uninstall the existing setup (Affecting Factor - Good chance of affecting other services, which is a very critical issue)
2. Tune existing setup (Affecting Factor - Will have to go through almost all object definitions to pinpoint issues)
I hope to get help for any of the options above. I can define objects and work with them, tweak them on my own, but its been long time since i did that. I just need the right direction.
To just consider whats in option two, below are the problems listed.
*We have 7 hosts (including local) configured on nagios core as that the limit.
*The services for all the hosts however are working fine, there is no issue there.
1. Except for the local and one other host remaining 5 hosts shows status as pending on Host Status total Page.
2. For the two hosts which shows Status Up, the last check date is shown as 12-12-2014 which is when my predecessor configured it. Rest of the hosts shows Last Check N/A.
3. When i check host information of the 5 hosts which shows status pending, i can see that those are updated every 90 sec and last updated date is up to date however Host state Information shows "This host has not yet been checked, so status information is not available."
- $u$h@nT
- sushant4tech
- Posts: 25
- Joined: Fri Jul 31, 2015 12:24 am
Re: Uninstall Nagios Core completely from live server OS: Ub
Hey,
My predecessor had commented the line from generic-host to check-host-alive. Since all other hosts used it as template in the definition, none were checked. There is however an issue that the nagios local server is unable to ping to other hosts but i will figure it out.
thanks for response.
My predecessor had commented the line from generic-host to check-host-alive. Since all other hosts used it as template in the definition, none were checked. There is however an issue that the nagios local server is unable to ping to other hosts but i will figure it out.
thanks for response.
Last edited by tmcdonald on Sun Aug 02, 2015 1:27 pm, edited 1 time in total.
Reason: Language
Reason: Language
- $u$h@nT
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Uninstall Nagios Core completely from live server OS: Ub
The Ubuntu server cannot ping other hosts from the CLI or is that what nagios is reporting? By IP Address or FQDN?sushant4tech wrote:There is however an issue that the nagios local server is unable to ping to other hosts but i will figure it out
Outbound firewall rules perhaps?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.