Log server out of disk space

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

Log server out of disk space

Post by kmartin »

Cannot login via GUI. Can login via console. I would like to delete old log files. Can this be done from the command line? Where to look and what file names?

Thank you,
Ken
User avatar
mbellerue
Posts: 1403
Joined: Fri Jul 12, 2019 11:10 am

Re: Log server out of disk space

Post by mbellerue »

You will want to use the curator script to do this.

Code: Select all

cd /usr/local/nagioslogserver/scripts/
./curator.sh show indices --all-indices
./curator.sh delete indices --index logstash-YYYY.MM.DD
Also note that recent versions of Log Server come with NCPA installed by default. You can use that to monitor the health of your system.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.

Be sure to check out our Knowledgebase for helpful articles and solutions!
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

Re: Log server out of disk space

Post by kmartin »

Good info, thank you.
User avatar
Box293
Too Basu
Posts: 5126
Joined: Sun Feb 07, 2010 10:55 pm
Location: Deniliquin, Australia
Contact:

Re: Log server out of disk space

Post by Box293 »

Did this answer your question? Is it OK to lock this thread?
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
kmartin
Posts: 17
Joined: Tue Jan 21, 2020 11:50 am

Re: Log server out of disk space

Post by kmartin »

Yes, please.
Locked