Page 1 of 1

Nagios XI data retention period

Posted: Mon Feb 03, 2020 4:52 pm
by anilgupta
Team,

I understand that all the data captured from Nagios Agents are stored in embedded database. API and Reports get the stats from the database.

I need to know if there is any hard limit on retention policy for these data or it all depends on size of database.
We are required to keep the data for longer time.

Thanks

Re: Nagios XI data retention period

Posted: Tue Feb 04, 2020 11:14 am
by benjaminsmith
Hello @anilgupta,

Good question. All of the check results are written to the nagios log files, and this data is stored in the database as well. The log files are never deleted and are archived automatically, you'll find those files in the /usr/local/nagios/var/archives folder.

The retention of data in the database can be set by the admin by going to Admin > System Config > Performance Settings > Database.
database-rentention-settibgs.png
These settings are explained in the following document:
Nagios XI Database Optimization

Let me know if you have further questions.