[icinga-checkins] icinga.org: icinga-core/master: idoutils: enable max_logentries_age & max_acknowledgements_age with 31 days for cleaning by default in ido2db .cfg #1155

git at icinga.org git at icinga.org
Thu Jan 27 16:12:55 CET 2011


Module: icinga-core
Branch: master
Commit: e2ad9b7bc52b6c3d6210e7bd289f3bcb3a8a0b43
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=e2ad9b7bc52b6c3d6210e7bd289f3bcb3a8a0b43

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Thu Jan 27 10:04:54 2011 +0100

idoutils: enable max_logentries_age & max_acknowledgements_age with 31 days for cleaning by default in ido2db.cfg #1155

fixes #1155

---

 Changelog                                   |    1 +
 module/idoutils/config/ido2db.cfg-sample.in |    6 ++----
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Changelog b/Changelog
index 12119c7..c26414a 100644
--- a/Changelog
+++ b/Changelog
@@ -49,6 +49,7 @@ ENHANCEMENTS
 	- changed 1 SQL statement for each rdbms, making it smaller and saving index lookup (and virtual table by merge in oracle)
 	- index savings, and dropped unique keys - check upgrade sql scripts for mysql/postgresql/oracle
 * idoutils: add indexes for logentries, preventing heavy load #1055
+* idoutils: enable max_logentries_age & max_acknowledgements_age with 31 days for cleaning by default in ido2db.cfg #1155
 
 * contrib: bring daemonchk.cgi building into shape (Elan Ruusamäe) #1051
 
diff --git a/module/idoutils/config/ido2db.cfg-sample.in b/module/idoutils/config/ido2db.cfg-sample.in
index 2395c3d..d2a2612 100644
--- a/module/idoutils/config/ido2db.cfg-sample.in
+++ b/module/idoutils/config/ido2db.cfg-sample.in
@@ -169,13 +169,11 @@ max_eventhandlers_age=10080
 # Keep external commands for 1 week
 max_externalcommands_age=10080
 
-# ***OPTIONAL***
-
 # Keep logentries for 31 days
-# max_logentries_age=44640
+max_logentries_age=44640
 
 # Keep acknowledgements for 31 days
-# max_acknowledgements_age=44640
+max_acknowledgements_age=44640
 
 
 ## CLEAN REALTIME TABLES AT CORE STARTUP





More information about the icinga-checkins mailing list