Historical data retention and pruning

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Historical data retention and pruning

Post 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 :)
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: Historical data retention and pruning

Post 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?
User avatar
GldRush98
Posts: 259
Joined: Wed May 25, 2011 10:51 am
Location: Springfield, IL
Contact:

Re: Historical data retention and pruning

Post 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.
Prod XI: Debian 12 - Nagios XI 2026R1.2
Dev XI: Debian 12 - Nagios XI 2026R1.2
Locked