How Long Does the XI keep historical data

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

How Long Does the XI keep historical data

Post by mkeey »

How Long Does the XI keep historical data on hosts & services?
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How Long Does the XI keep historical data

Post 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.
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
mkeey
Posts: 199
Joined: Mon Sep 25, 2017 11:13 am

Re: How Long Does the XI keep historical data

Post 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?
User avatar
mcapra
Posts: 3739
Joined: Thu May 05, 2016 3:54 pm

Re: How Long Does the XI keep historical data

Post by mcapra »

This documentation provides a reasonably comprehensive description of the logs and their locations:
https://assets.nagios.com/downloads/nag ... ptions.pdf
Former Nagios employee
https://www.mcapra.com/
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: How Long Does the XI keep historical data

Post 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/
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked