Hi all,
i'm a new nagios user and i'm planning to install it on our IT Systems.
As in the object, my question is if is possible set an automatic table cleaning of data into DB after (for example) 3 mounth...so disk space for DB is alvays under control.
For example, i want that every day an automatic job cancel all data older than 3 mounth...is possible?
Thanks all
Auto history data pruning is possible on nagios?
-
- Posts: 7698
- Joined: Mon Apr 23, 2012 4:28 pm
- Location: Travelling through time and space...
Re: Auto history data pruning is possible on nagios?
It may be possible to alter the cron which prunes the database, I will get that information for you. You can also run a database repair to keep the tables clean:
http://assets.nagios.com/downloads/nagi ... tabase.pdf
http://assets.nagios.com/downloads/nagi ... tabase.pdf
Re: Auto history data pruning is possible on nagios?
Is this for Nagios XI or Nagios Core?
If you're using Nagios XI, yes. You can adjust the retention times for data from the Admin->Performance Settings->Databse(tab).
For Nagios Core / ndoutils, you can adjust the pruning times in ndo2db.cfg.
If you're using Nagios XI, yes. You can adjust the retention times for data from the Admin->Performance Settings->Databse(tab).
For Nagios Core / ndoutils, you can adjust the pruning times in ndo2db.cfg.
Re: Auto history data pruning is possible on nagios?
Ok great...tanks to all!!