Maintenance not closing indexes

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Maintenance not closing indexes

Post by BanditBBS »

file.tar.gz
I skimmed through it. It seems to not indicate any issue.
You do not have the required permissions to view the files attached to this post.
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance not closing indexes

Post by gsmith »

Hi,

Please run:

Code: Select all

/usr/local/nagioslogserver/scripts/curator.sh --loglevel debug --logfile /tmp/close_index.log close indices --older-than 30 --time-unit days --timestring %Y.%m.%d
This will try to close any indices older than 30 days, and provide debug output to /tmp/close_index.log.

Please send me the /tmp/close_index.log, feel free to look through it for any errors.

Thanks
User avatar
BanditBBS
Posts: 2474
Joined: Tue May 31, 2011 12:57 pm
Location: Scio, OH
Contact:

Re: Maintenance not closing indexes

Post by BanditBBS »

I think we're fixed. I tried that command and got:
/usr/local/nagioslogserver/scripts/curator.sh: /usr/local/bin/curator: /usr/bin/python3.6: bad interpreter: No such file or directory
installed python 3.6 and tried again and it worked fine!
2 of XI5.6.14 Prod/DR/DEV - Nagios LogServer 2 Nodes
See my projects on the Exchange at BanditBBS - Also check out my Nagios stuff on my personal page at Bandit's Home and at github
gsmith
Posts: 1253
Joined: Tue Mar 02, 2021 11:15 am

Re: Maintenance not closing indexes

Post by gsmith »

Sounds great!

I'll lock this.

Thanks
Locked