{"id":402,"date":"2023-08-04T08:49:34","date_gmt":"2023-08-04T06:49:34","guid":{"rendered":"https:\/\/whoami.lausitz-event.info\/?p=402"},"modified":"2023-08-04T08:49:34","modified_gmt":"2023-08-04T06:49:34","slug":"icinga-und-ido-daten","status":"publish","type":"post","link":"https:\/\/whoami.lausitz-event.info\/?p=402","title":{"rendered":"Icinga und IDO Daten"},"content":{"rendered":"\n\n<p>Im Laufe der Zeit h\u00e4ufen sich die gespeicherten Daten von Icinga2 und das System wird zusehends voller und langsamer. Einschr\u00e4nken kann man das in den IDO Einstellungen. In meinem Beispiel beschr\u00e4nken wir die maximale Speicherzeit auf 180 Tage.<\/p>\n\n\n\n\n\n<p>\/etc\/icinga2\/features-available\/ido-mysql.conf<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>\/**\n * The db_ido_mysql library implements IDO functionality\n * for MySQL.\n *\/\n\nlibrary \"db_ido_mysql\"\n\nobject IdoMysqlConnection \"ido-mysql\" {\n  user = \"bla\"\n  password = \"blub\"\n  host = \"localhost\"\n  database = \"icingadb\"\n  cleanup = {\n    acknowledgements_age = 180d\n    commenthistory_age = 180d\n    contactnotifications_age = 180d\n    contactnotificationmethods_age = 180d\n    downtimehistory_age = 180d\n    eventhandlers_age = 180d\n    externalcommands_age = 180d\n    flappinghistory_age = 180d\n    hostchecks_age = 180d\n    logentries_age = 180d\n    notifications_age = 180d\n    processevents_age = 180d\n    statehistory_age = 180d\n    servicechecks_age = 180d\n    systemcommands_age = 180d\n  }\n}<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Im Laufe der Zeit h\u00e4ufen sich die gespeicherten Daten von Icinga2 und das System wird zusehends voller und langsamer. Einschr\u00e4nken kann man das in den IDO Einstellungen. In meinem Beispiel beschr\u00e4nken wir die maximale Speicherzeit auf 180 Tage. \/etc\/icinga2\/features-available\/ido-mysql.conf<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[9,3],"tags":[],"class_list":["post-402","post","type-post","status-publish","format-standard","hentry","category-icinga","category-it"],"_links":{"self":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=402"}],"version-history":[{"count":1,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions"}],"predecessor-version":[{"id":403,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/402\/revisions\/403"}],"wp:attachment":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}