Archive Old Records From Nagios Database

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
emerson.candido
Posts: 11
Joined: Sat Sep 04, 2010 6:49 pm

Archive Old Records From Nagios Database

Post by emerson.candido »

Hello everyone,

I´ve checking the configuration files of my Nagios server, because I realized that used space disk grow gradually last months, and I found that the files and directory described below are very big:

/usr/local/nagios/var/service-perfdata --> 3.6GB
/var/lib/mysql/nagios/nagios_logentries.MYD --> 3.6GB

I´d like to know whether there´s some procedure to archive old records from nagios and decrease the size of the files described above or if is possible to use some tool or script to make this action.

Could you please tell me what the best manner to solve this problem?

Regards

Emerson Candido
Locked