]> granicus.if.org Git - icinga2/commitdiff
db_ido: Update documentation for cleanup.
authorMichael Friedrich <michael.friedrich@netways.de>
Thu, 26 Sep 2013 15:23:15 +0000 (17:23 +0200)
committerMichael Friedrich <michael.friedrich@netways.de>
Thu, 26 Sep 2013 15:23:53 +0000 (17:23 +0200)
refs #4567

doc/3.3-object-types.md

index f25794336e24a523b5f6c8cc75eaa78b66321ee8..89122e54590e42a6f4a974e1bb0796437ffc2fd4 100644 (file)
@@ -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
 ------------------