NLS not collecting data and Cluster stat red after disk full

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
mafamgm
Posts: 26
Joined: Tue May 25, 2021 10:07 am

Re: NLS not collecting data and Cluster stat red after disk

Post by mafamgm »

Hey Perry,

i send you an PM ;)

Cheers,
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NLS not collecting data and Cluster stat red after disk

Post by pbroste »

Hello mafamgm

Thanks for sending along with the System Profile, and after review, we want to have you close the following index and bounce the elasticsearch service.

We see that this is open/red:
red open logstash-2021.08.23 5 1
Web console under Admin > Index Status > logstash-2021.08.23; we want to close that via API:

Code: Select all

curl -X POST "localhost:9200/logstash-2021.08.23/_close?pretty"
Please let us know the results on the close, and if it does close let's bounce the services and wait 15 minutes on the status update.

Code: Select all

systemctl restart elasticsearch logstash
Thanks,
Perry
mafamgm
Posts: 26
Joined: Tue May 25, 2021 10:07 am

Re: NLS not collecting data and Cluster stat red after disk

Post by mafamgm »

Hi Perry,

It looks like it's working again now.
Can you tell me where exactly you saw the problem, or where I could have seen it?

Thanks,
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NLS not collecting data and Cluster stat red after disk

Post by pbroste »

Hello @mafamgm

We took a look at the list of Index or aka "Indices" for the log server to check to see if one was open and in "red".

Do that by running the following api:

Code: Select all

curl 'localhost:9200/_cat/indices?pretty' | grep -Ei 'open'
or list all:

Code: Select all

curl 'localhost:9200/_cat/indices?pretty'
Then went ahead and closed that index and restarted the services.

Thanks,
Perry
mafamgm
Posts: 26
Joined: Tue May 25, 2021 10:07 am

Re: NLS not collecting data and Cluster stat red after disk

Post by mafamgm »

All right, thank you for your help :)
User avatar
pbroste
Posts: 1288
Joined: Tue Jun 01, 2021 1:27 pm

Re: NLS not collecting data and Cluster stat red after disk

Post by pbroste »

Hello @mafamgm,

I will go ahead and lock this, please let us know if there is anything further,
Perry
Locked