Dear Team,
We installed nagios agent in one of our Ubuntu machine and its not worked fine so we uninstalled it by following the below commands. We installed the nagios agent again by following the below instructions, this time we are unable to find the nagios directory in the below location and still we are getting "CHECK_NRPE: Error - Could not complete SSL handshake." in the nagios web interface, please help us to resolve this issue ASAP.
https://assets.nagios.com/downloads/nag ... _Agent.pdf
/usr/local/nagios
Post : https://support.nagios.com/forum/viewto ... 10&p=41200
delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
Regards,
Mohan
Installing and Uninstalling Nagios Agent
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: Installing and Uninstalling Nagios Agent
Can you follow the steps in this article and let us know if it helps resolve your problem:
https://support.nagios.com/kb/article.php?id=140
If you are still having problems, let us know what you tried, including commands typed and output produced.
https://support.nagios.com/kb/article.php?id=140
If you are still having problems, let us know what you tried, including commands typed and output produced.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
-
steelwedge
- Posts: 69
- Joined: Fri Apr 24, 2015 4:58 am
Re: Installing and Uninstalling Nagios Agent
The attached article didn't helped me in resolving the issue as after I installed the nagios agent for the second time I didn't find any nagios directory in the below location which should be created during installation.
/usr/local/nagios.
I followed the below steps to uninstall the agent.
Post : viewtopic.php?t=8710&p=41200
delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
I followed the below steps to re install the agent.
https://assets.nagios.com/downloads/nag ... _Agent.pdf
/usr/local/nagios.
I followed the below steps to uninstall the agent.
Post : viewtopic.php?t=8710&p=41200
delgroup nagios
deluser nagios
rm -f /etc/xinet.d/nrpe
service xinetd restart
rm -rf /usr/local/nagios
I followed the below steps to re install the agent.
https://assets.nagios.com/downloads/nag ... _Agent.pdf
Re: Installing and Uninstalling Nagios Agent
Did you run the "fullinstall" script as root? Can you post the install.log? What version of Ubuntu are you currently running? 32- or 64-bit?
Be sure to check out our Knowledgebase for helpful articles and solutions!
Re: Installing and Uninstalling Nagios Agent
Chances are the install dir wasn't removed as part of the removal, so the next install skips everything completed previously. After an installation, a number of 0 byte files exist that tell the install scripts that the steps completed. That's how they know what to try again when installation fails and fullinstall is rerun.
Re: Installing and Uninstalling Nagios Agent
Good call, gormank! Yes, @steelwedge will have to remove the "installed.xxx" files before rerunning the fullinstall script:
Code: Select all
cd /tmp/linux-nrpe-agent
rm -rf installed.*
./fullinstallBe sure to check out our Knowledgebase for helpful articles and solutions!
-
steelwedge
- Posts: 69
- Joined: Fri Apr 24, 2015 4:58 am
Re: Installing and Uninstalling Nagios Agent
This issue has been resolved.