From 6a31b706f85a873f7e61e27bc9c000511988a68a Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Thu, 26 Sep 2013 17:23:15 +0200 Subject: [PATCH] db_ido: Update documentation for cleanup. refs #4567 --- doc/3.3-object-types.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/doc/3.3-object-types.md b/doc/3.3-object-types.md index f25794336..89122e545 100644 --- a/doc/3.3-object-types.md +++ b/doc/3.3-object-types.md @@ -409,6 +409,10 @@ Example: table_prefix = "icinga_", instance_name = "icinga2", instance_description = "icinga2 dev instance" + cleanup = { + downtimehistory_age = 24h, + logentries_age = 24h, + } } Attributes: @@ -423,6 +427,26 @@ Attributes: table\_prefix |**Optional.** MySQL database table prefix. Defaults to "icinga\_". instance\_name |**Optional.** Unique identifier for the local Icinga 2 instance. Defaults to "default". instance\_description|**Optional.** Description for the Icinga 2 instance. + cleanup |**Optional.** Dictionary with items for historical table cleanup. + +Cleanup Items: + + ----------------|---------------- + acknowledgement_age |**Optional.** Max age for acknowledgement table rows (entry_time) + commenthistory_age |**Optional.** Max age for commenthistory table rows (entry_time) + contactnotifications_age |**Optional.** Max age for contactnotifications table rows (start_time) + contactnotificationmethods_age |**Optional.** Max age for contactnotificationmethods table rows (start_time) + downtimehistory_age |**Optional.** Max age for downtimehistory table rows (entry_time) + eventhandlers_age |**Optional.** Max age for eventhandlers table rows (start_time) + externalcommands_age |**Optional.** Max age for externalcommands table rows (entry_time) + flappinghistory_age |**Optional.** Max age for flappinghistory table rows (event_time) + hostchecks_age |**Optional.** Max age for hostchecks table rows (start_time) + logentries_age |**Optional.** Max age for logentries table rows (logentry_time) + notifications_age |**Optional.** Max age for notifications table rows (start_time) + processevents_age |**Optional.** Max age for processevents table rows (event_time) + statehistory_age |**Optional.** Max age for statehistory table rows (state_time) + servicechecks_age |**Optional.** Max age for servicechecks table rows (start_time) + systemcommands_age |**Optional.** Max age for systemcommands table rows (start_time) LiveStatusListener ------------------ -- 2.40.0