Major issues indexes no longer deleted

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Major issues indexes no longer deleted

Post by WillemDH »

Hello,

I'm having issues with our NLS sttorage filling up fast. After some investigation, it seems the backup_maintenance jobs are no longer running. The backup_maintenance job says it's running since 19/15/2016.

Please advise what to do to clean up some data asap or make backup_maintenance job run properly again..

I have started the 'reset all jobs' in the command subsystem, an configured a date 5 minutes from now. Hoepfully it's doing what is upposed to do now..

Another question => If I would want to delet the data from the indexes that havent been cleaned up, how would I do this? Can I just delete the index in the gui and will the data get deleted?

I managed to delete the index and data with

Code: Select all

curl -XDELETE 'localhost:9200/<name-of-index>'
So my space problem is resolved now. Please advise how to get the backup_maintenance script working properly again. I'll delete the last indexes manually for now.

Willem
You do not have the required permissions to view the files attached to this post.
Nagios XI 5.8.1
https://outsideit.net
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: Major issues indexes no longer deleted

Post by mcapra »

Here are the maintenance tasks that run behind the scenes:

Code: Select all

curator --debug optimize indices --older-than <x> --time-unit days --timestring %Y.%m.%d
curator --debug close indices --older-than <y> --time-unit days --timestring %Y.%m.%d
curator --debug delete indices --older-than <z> --time-unit days --timestring %Y.%m.%d
Could you share the outputs of those commands? Replace the <x> / <y> / <z> in the commands with the appropriate values from your "Backup & Maintenance" page:
2016_09_22_09_10_08_Backup_Maintenance_Nagios_Log_Server.png
You do not have the required permissions to view the files attached to this post.
Former Nagios employee
https://www.mcapra.com/
User avatar
WillemDH
Posts: 2320
Joined: Wed Mar 20, 2013 5:49 am
Location: Ghent
Contact:

Re: Major issues indexes no longer deleted

Post by WillemDH »

Resetting the jobs seem to have fixed the issue. Thread can be cloes, next time I'll execute the curator command as per your suggestion. Grtz
Nagios XI 5.8.1
https://outsideit.net
Locked