Info |
---|
This article details the configuration for logfile retention with Checkmk. |
Status |
---|
colour | Green |
---|
title | LAST TESTED ON CHECKMK 2.1.0P1 |
---|
|
Problem
You want to change the default log file retention within Checkmk.
Solution
Site log files
Have a look at the following files and directories within your Checkmk site:
Code Block |
---|
|
~/etc/logrotate.conf
~/etc/logrotate.d/ |
Here you can find the default log retention settings and adapt them to your needs if necessary.
Warning |
---|
Changing these settings might result in manual action when upgrading Checkmk. Please also make sure to understand what you are doing here to avoid future issues. |
Checkmk history log
Within Checkmk, you can configure the time of day when the rotation of the history log occurs, as well as the size necessary to trigger a rotation:
Related articles
Filter by label (Content by label) |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | KB |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("kb-how-to-article","howto","logfile") and type = "page" and space = "KB" |
---|
labels | kb-how-to-article |
---|
|