Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Info
In this guide, we will show you how to modify the Round Robin Database (RRD) storage time range format.

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.13.0P1


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

...

Panel
borderColorblack
bgColor#F8F8F8

"Number of steps aggregated into one data point=360" for 6-hour measurement points. Because 6 hours x 60 min = 360 min (360 steps)

"Number of steps aggregated into one data point=60" for 1-hour measurement points. Because one hour is 60min (60steps).


You can use different aggregated steps depending on your needs!


Another example:

Code Block
languagebash
themeRDark
The formula for saving measurements 1 or 8 years with an aggregated step of one minute:

One year: 366 x 1 x 24 x 60 = 525.600 measurement points
Eight years: 366 x 8 x 24 x 60 = 4.204.800 measurement points

...

Customize the RRD structure

  1. Create Edit the rule "Configuration of RRD databases of hosts" 

    Setup → Services → Service monitoring rules → Configuration of RRD databases of services
    Screenshot of configuration of RRD databases of services rule. Description reads Default RRD configuration. Using new single RRD format.

    Screenshot of options. Percentage of points below which an interval is unknown is set to 50 percent.


  2. Create Edit the rule "Configuration of RRD databases of hosts"

    Setup → Hosts → Host monitoring rules → Configuration of RRD databases of hosts
    Screenshot of options. Percentage of points below which an interval is unknown is set to 50 percent.

    .

  3. Save and activate the changes

  4. Convert the RRD Files

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~$ omd stop
    OMD[mysite]:~$ cmk --convert-rrds -vv


    Note

    In this example, I used 480 (8 hours) as aggregated steps!


...

Info

You will find here more resources about RRD:


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "rrd" , "rrdcached" ) and type = "page" and space = "KB"
labelsagent_bakery user_roles_permissions roles user

...