Page 1 of 1

Nagios Log Server Not Collecting Logs after Upgrade to 2.1.5

Posted: Fri Apr 10, 2020 8:44 am
by 34Bearman
Since my upgrade the 2.1.5 the java processes have been running high and consuming a lot of memory. Also, no logs are being collected. I've checked the iptables firewall and it's config has not changed. I can logon to the web interface of Nagios Log Server but that is it. Nothing I can find in /var/log/messages to point me in any direction.

2158 nagios 20 0 41.9g 8.8g 512860 S 1.7 56.7 333:57.96 java
1960 root 39 19 4765088 539300 13416 S 0.3 3.3 24:59.12 java

Any ideas?

Re: Nagios Log Server Not Collecting Logs after Upgrade to 2

Posted: Fri Apr 10, 2020 11:53 am
by cdienger
What version of NLS did you upgrade from?

Please PM me a profile from the system. It can be gathered under Admin > System > System Status > Download System Profile or from the command line with:

Code: Select all

/usr/local/nagioslogserver/scripts/profile.sh
This will create /tmp/system-profile.tar.gz.

Note that this file can be very large and may not be able to be uploaded through the ticketing system. This is usually due to the logs in the Logstash and/or Elasticsearch directories found in it. If it is too large, please open the profile, extract these directories/files and send them separately.

I'd also like to get a copy of the current settings index. This can be gathered by running:

Code: Select all

curl -XPOST http://localhost:9200/nagioslogserver/_export?path=/tmp/nagioslogserver.tar.gz
The file it creates and that we'd like to see is /tmp/nagioslogserver.tar.gz.