Versions Compared

Key

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

...

  1. Get the factory defaults from the original file, for example:

    Code Block
    languagebash
    themeRDark
    title~/lib/python3/cmk/gui/plugins/config/base.py
    # Default timestamp format to be used in multisite
    default_ts_format = 'mixed'

    .

  2. Create a file below ~/local/share/check_mk/web/plugins/config and define your preferred default setting, for example:

    Code Block
    languagebash
    themeRDark
    title~/local/share/check_mk/web/plugins/config/my_base.py
    # We prefer to se both, the absolute and the relative time
    default_ts_format = 'both'

    .

  3. After doing an "omd restart apache", you will find this setting in your GUI:

    Code Block
    languagebash
    themeRDark
    OMD[mysite]:~$ omd restart apache


Screenshot showing the Service Problem page. Date format set to 1970-12-18 and Time Stamp Format set to Both.Image Modified

.

Note
The views for which you already explicitly have set the Time stamp format will not be changed because the settings in your personal config files below ~/var/check_mk/web/<username> are overriding the default settings.

...