Page 4 of 4

Re: Elasticsearch service failure on Nagios Logserver

Posted: Tue Dec 07, 2021 10:23 am
by HIINNS
Perry,

DIrectory /usr/local/nagioslogserver/logstash/etc/conf.d is empty. Nagios Enterprises highly recommends and will only support installing Nagios Log Server on a newly installed, "clean" system (a bare minimal install with nothing else installed or configured). Being I don't have another server to use, what do I need to remove to get it to this state? Thank you for your assistance.

Re: Elasticsearch service failure on Nagios Logserver

Posted: Tue Dec 07, 2021 5:23 pm
by pbroste
Hello @HIINNS

This will get you back to a state where you can then run the Nagios Log server Installer.

Code: Select all

service logstash stop
service elasticsearch stop
systemctl stop httpd    #or apache2 depending on distro
rm -rf /usr/local/nagioslogserver
rm -rf /var/www/html/nagioslogserver
rm /etc/rc.d/init.d/elasticsearch
rm /etc/rc.d/init.d/logstash
rm /etc/rsyslog.d/nagioslogserver.conf
rm /etc/cron.d/nagioslogserver
pip uninstall elasticsearch-curator==3.4.0
service crond restart
Not quite sure what is required to clean up any Docker Containers, I see that there are forums about that on the elasticsearch git.

Please let us know how we can help going forward,
Perry

Re: Elasticsearch service failure on Nagios Logserver

Posted: Wed Dec 08, 2021 7:24 am
by HIINNS
Perry,

Still doesn't work. Perhaps its because I have to manually install the pip packages manually, Below is how the fullinstall executes the pip packages.

8 Dec 06:36:58 ntpdate[19298]: no server suitable for synchronization found
Could not fetch URL https://pypi.python.org/simple/click/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: click==7.1.2 in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/argparse/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: argparse in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/elasticsearch-curator/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: elasticsearch-curator==3.4.0 in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/elasticsearch/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: elasticsearch<2.1.0,>=1.8.0 in /usr/lib/python2.7/site-packages (from elasticsearch-curator==3.4.0)
Could not fetch URL https://pypi.python.org/simple/urllib3/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping

Still can't bring up the logstash sservice.

Re: Elasticsearch service failure on Nagios Logserver

Posted: Wed Dec 08, 2021 2:15 pm
by pbroste
Hello @HIINNS

What results do you get when you execute 'get-pip.py' within the '/nagioslogserver/...' installer package?

Thanks,
Perry

Re: Elasticsearch service failure on Nagios Logserver

Posted: Thu Dec 09, 2021 1:19 pm
by HIINNS
Could not fetch URL https://pypi.python.org/simple/click/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: click==7.1.2 in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/argparse/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: argparse in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/elasticsearch-curator/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: elasticsearch-curator==3.4.0 in /usr/lib/python2.7/site-packages
Could not fetch URL https://pypi.python.org/simple/elasticsearch/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: elasticsearch<2.1.0,>=1.8.0 in /usr/lib/python2.7/site-packages (from elasticsearch-curator==3.4.0)
Could not fetch URL https://pypi.python.org/simple/urllib3/: There was a problem confirming the ssl certificate: EOF occurred in violation of protocol (_ssl.c:618) - skipping
Requirement already up-to-date: urllib3<2.0,>=1.8 in /usr/lib/python2.7/site-packages (from elasticsearch<2.1.0,>=1.8.0->elasticsearch-curator==3.4.0)
./fullinstall: line 160: get-pip.py: command not found

Re: Elasticsearch service failure on Nagios Logserver

Posted: Fri Dec 10, 2021 12:28 pm
by pbroste
Hello @HIINNS

Thanks for following up, appears that we are running into conflicts with os along with other things and want to go ahead and bring up a fresh os (with Selinux disabled) and install Log Server on it.

Here are the requirements:
https://assets.nagios.com/downloads/nag ... Server.pdf

We cannot support issues that stem from conflicts and operating systems with incompatible applications.

Thanks,
Perry

Re: Elasticsearch service failure on Nagios Logserver

Posted: Tue Dec 14, 2021 5:14 am
by HIINNS
Sorry, it has to be this server. I guess close the case. Thank you for your help.

Re: Elasticsearch service failure on Nagios Logserver

Posted: Tue Dec 14, 2021 3:39 pm
by pbroste
Hello @HIINNS

Thanks for following, please let us know if you have questions that you want to bounce off of us as you work on spinning this up.

Will go ahead and close,
Perry