Nagios Dashboard Issue

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
SrinivasanNSL
Posts: 28
Joined: Wed Oct 18, 2017 4:51 am

Nagios Dashboard Issue

Post by SrinivasanNSL »

HI,

Nagios Log Server was running out of Storage space, hence I deleted couple of Logs from "/usr/local/nagioslogserver/elasticsearch/data" path. Post reboot the Dashboard is not showing any Logs on the screen. The Error is "No results There were no results because no indices were found that match your selected time span". Please assist me in resolving this error. Also I like to know how to configure UDP port in Log server. I have a client which has to send logs over UDP 5544 to Log server. Is there any configuration to be done for it?
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Dashboard Issue

Post by cdienger »

Hopefully you have some backups because the /usr/local/nagioslogserver/elasticsearch/data path is where the database is located. You can try restoring backups from under Admin > System > Snapshot & Maintenance, if you have them.

Please see https://support.nagios.com/kb/article.php?id=68 regarding making backups in NLS.

The UDP question is a seperate issue and should really be on another post. That said, NLS should be listening on port 5544 by default with the syslog input. You can check this under Admin > Configure > Global(All Instances) > Global config > Inputs. By default a syslog input is defined there with:

Code: Select all

syslog {
    type => 'syslog'
    port => 5544
}
You can verify that it up and listening by running "netstat -nap | grep 5544" at the command line. Please open a new thread for the UDP question if more help is needed.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SrinivasanNSL
Posts: 28
Joined: Wed Oct 18, 2017 4:51 am

Re: Nagios Dashboard Issue

Post by SrinivasanNSL »

HI, Thanks for your Post. I had raised a different Query for UDP port issue.

Regarding Dashboard issue, I did deletion from the Path ("/usr/local/nagioslogserver/elasticsearch/data/c6e5aafc-ee57-4283-9c46-3b3753b9cc66/nodes/0/indices") and not from "/usr/local/nagioslogserver/elasticsearch/data".

I just deleted the Logstash-Date files to free up some space. IN my Dashboard it shows 23 clients reporting to Server but when I scroll down for LOgs I didnt see anything. PLease suggest.
SrinivasanNSL
Posts: 28
Joined: Wed Oct 18, 2017 4:51 am

Re: Nagios Dashboard Issue

Post by SrinivasanNSL »

HI,

I could see in /var/log/logstash, there are couple or Red Colour Logstash files. As per forum I removed those files then the Dashboard showing logs, but after some time again the corrupted logstash files getting created and Dashboard is not showing any Logs. Please suggest
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Dashboard Issue

Post by cdienger »

Can you provide the logs and a screenshot of where you see the corrupted files? It's not clear to me what error you're seeing.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
SrinivasanNSL
Posts: 28
Joined: Wed Oct 18, 2017 4:51 am

Re: Nagios Dashboard Issue

Post by SrinivasanNSL »

Please Find my comments appended along with Attachments.
You do not have the required permissions to view the files attached to this post.
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: Nagios Dashboard Issue

Post by cdienger »

Those are log files and the red indicates that the file was rotated and archived(see the .gz extension).

Removing these files should not have any impact on the dashboards.

I suspect there may be additional steps you are taking or something else at play here that we are not aware of. To move forward with this, please open a ticket(support.nagios.com/tickets/) and attach to it the output of:

ll /usr/local/nagioslogserver/elasticsearch/data/c6e5aafc-ee57-4283-9c46-3b3753b9cc66/nodes/0/indices

A profile which can be generated under Admin > System > System Status > Download System Profile, and the files found in /var/log/logstash and /var/log/elasticsearch.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked