Elasticsearch service failure on Nagios Logserver

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Elasticsearch service failure on Nagios Logserver

Post 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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Elasticsearch service failure on Nagios Logserver

Post 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
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Elasticsearch service failure on Nagios Logserver

Post 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.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Elasticsearch service failure on Nagios Logserver

Post by pbroste »

Hello @HIINNS

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

Thanks,
Perry
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Elasticsearch service failure on Nagios Logserver

Post 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
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Elasticsearch service failure on Nagios Logserver

Post 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
HIINNS
Posts: 172
Joined: Wed Mar 14, 2018 9:43 am

Re: Elasticsearch service failure on Nagios Logserver

Post by HIINNS »

Sorry, it has to be this server. I guess close the case. Thank you for your help.
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: Elasticsearch service failure on Nagios Logserver

Post 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
Locked