db_ido: Update documentation for cleanup.

refs #4567
This commit is contained in:
Michael Friedrich 2013-09-26 17:23:15 +02:00
parent f1c0ce3b23
commit 6a31b706f8
1 changed files with 24 additions and 0 deletions

View 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
------------------