Unable to get to web UI

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
bknappCSI
Posts: 2
Joined: Thu Sep 10, 2020 11:48 am

Unable to get to web UI

Post by bknappCSI »

We installed Nagios Log Server and it was running fine for about 2 weeks. I recently tried to get back in to the web UI and it no longer loads for me. I can still get in to the CLI and check processes which says everything is running fine. I have to imagine something is just missing here but I am not versed enough in Linux to find it. We are using CentOS 7.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to get to web UI

Post by cdienger »

Check the system and heap memory, disk, open indices, and cluster health with these commands:

Code: Select all

free -m
df -h
curl -XGET 'http://localhost:9200/_cluster/health?pretty=true'
curl 'localhost:9200/_cat/nodes?v'
curl 'localhost:9200/_cat/indices?pretty'
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
bknappCSI
Posts: 2
Joined: Thu Sep 10, 2020 11:48 am

Re: Unable to get to web UI

Post by bknappCSI »

I was only able to get some of the information. The other commands timed out. Not sure if that is a symptom of the same issue or potentially pointing to a cause.

[root@NECSD-NagiosLS-1 ~]# free -m
total used free shared buff/cache available
Mem: 7812 5696 618 386 1496 1323
Swap: 2047 5 2042
[root@NECSD-NagiosLS-1 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 3.9G 390M 3.5G 10% /run
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/mapper/centos-root 96G 91G 181M 100% /
/dev/sda1 976M 197M 713M 22% /boot
tmpfs 782M 0 782M 0% /run/user/48
tmpfs 782M 0 782M 0% /run/user/1000
tmpfs 782M 0 782M 0% /run/user/0
[root@NECSD-NagiosLS-1 ~]# curl -XGET 'http://localhost:9200/_cluster/health?pre tty=true'



curl: (56) Recv failure: Connection reset by peer
[root@NECSD-NagiosLS-1 ~]# curl 'localhost:9200/_cat/nodes?v'
curl: (56) Recv failure: Connection reset by peer
[root@NECSD-NagiosLS-1 ~]# curl 'localhost:9200/_cat/indices?pretty'
curl: (56) Recv failure: Connection reset by peer
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Unable to get to web UI

Post by cdienger »

The curl commands failing would indicate that the elasticsearch service is not starting. Try starting it and checking its status with:

Code: Select all

systemctl start elasticsearch
systemctl status elasticseach -l
If there are still problems after this, please PM me a profile. It can be generated 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 messaging 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked