Versions Compared

Key

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


Info
How to copy your local BI structure to a remote site

...

Status
colourGreen
titleLAST TESTED ON CHECKMK 2.2.0P13


Panel
borderColorblack
bgColor#f8f8f8
titleTable of Contents

Table of Contents

Getting Started

Background information regarding this subject is available in our Official documentation


Checkmk 1.6

  1. SCP the BI config from the target site to the remote site.

    Code Block
    languagebash
    themeRDark
  2. cp
  3. OMD[centralsite]:~$ scp /omd/sites/
  4. at
  5. centralsite/etc/check_mk/multisite.d/wato/bi.mk siteuser@remotesite:/omd/sites/
  6. bi1
  7. remotesite/etc/check_mk/multisite.d/wato/

    .

  8. Change the ownership of the file.

    Code Block
    languagebash
    themeRDark
  9. chown bi1.
  10. OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi.mk

    .

  11. Remove the BI Cache directory.

    Code Block
    languagebash
    themeRDark
  12. linenumberstrue# please copy the bi config from target site to the remote site # please chown bi1. bi.mk # please remove the BI Cache directory
  13. OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache
  14. # Reload the site OMD[bi1
  15. .

  16. Reload the site

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ cmk -O
  17. For

Checkmk 2.0

...

, 2.1 & 2.2

  1. SCP the BI config from the central site to the remote site

    Code Block
    languagebash
    themeRDark
  2. linenumberstrue# please copy the bi config from target site to the remote site cp
  3. OMD[centralsite]:~$ scp /omd/sites/
  4. at
  5. centralsite/etc/check_mk/multisite.d/wato/bi_config.bi siteuser@remotesite:/omd/sites/
  6. bi1
  7. remotesite/etc/check_mk/multisite.d/wato
  8. # please change ownership of the file chown bi1.
  9. /

    .

  10. Change ownership of the file.

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi_config.bi
  11. # please remove the BI Cache directory
  12. .

  13. Remove the BI Cache directory.

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache
  14. # Reload the site OMD[bi1
  15. .

  16. Reload the site

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ cmk -O


Filter by label (Content by label)
showLabelsfalse
max5
spacesKB
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = in ( "businessintelligence" , "bi" ) and type = "page" and space = "KB"
labelsBI businessintelligence


Page Properties
hiddentrue


Related issues