Page 1 of 1

Historical data retention and pruning

Posted: Thu Oct 17, 2013 2:10 pm
by GldRush98
Nagios XI stores historical data forever, correct?
So that would mean the database grows forever as well.
Is there any method for pruning historical data to keep the database size reduced?

Thanks :)

Re: Historical data retention and pruning

Posted: Thu Oct 17, 2013 2:13 pm
by slansing
Well a lot of the historical information "for instance most of your reports" come from the nagios logs, and yes they are archived in /usr/local/nagios/var/archives/*

The database is pruned by XI automatically on a cron job. Are your database files currently quite large?

Re: Historical data retention and pruning

Posted: Thu Oct 17, 2013 2:50 pm
by GldRush98
This questions was posed to me by someone concerned about disk usage. I gave them an answer but I wanted to make sure I was right on retention.
I didn't realize there was an auto prune and archive process, so that is very nice.
Thanks for the information.