Page 1 of 1

How Long Does the XI keep historical data

Posted: Wed Aug 29, 2018 8:58 am
by mkeey
How Long Does the XI keep historical data on hosts & services?

Re: How Long Does the XI keep historical data

Posted: Wed Aug 29, 2018 9:27 am
by scottwilkerson
This depends on your settings in Admin -> Performance Settings -> Databases -> NDOUtils Database section

The most relevant sections are
Max Log Entries Age:
Max Notifications Age:
Max State History Age:

Performance data is 4 years, and the nagios text based logs which are used for Availability report are kept forever.

Re: How Long Does the XI keep historical data

Posted: Thu Aug 30, 2018 8:26 am
by mkeey
Thanks for the information. Since some logs are kept forever, it would probably be a good idea to monitor that file system. What is the directory path?

Re: How Long Does the XI keep historical data

Posted: Thu Aug 30, 2018 8:31 am
by mcapra
This documentation provides a reasonably comprehensive description of the logs and their locations:
https://assets.nagios.com/downloads/nag ... ptions.pdf

Re: How Long Does the XI keep historical data

Posted: Thu Aug 30, 2018 8:39 am
by scottwilkerson
mkeey wrote:Thanks for the information. Since some logs are kept forever, it would probably be a good idea to monitor that file system. What is the directory path?
Specifically /usr/local/nagios/var/archives/