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
    OMD[
  2. mysite
  3. centralsite]:~$ 
  4. cp
  5. scp /omd/sites/
  6. at
  7. centralsite/etc/check_mk/multisite.d/wato/bi.mk siteuser@remotesite:/omd/sites/
  8. bi1
  9. remotesite/etc/check_mk/multisite.d/wato/

    .

  10. Change the ownership of the file.

    Code Block
    languagebash
    themeRDark
    OMD[
  11. mysite
  12. remotesite]:~$ chown 
  13. mysite
  14. remotesite:
  15. mysite bi1.
  16. remotesite ~/etc/check_mk/multisite.d/wato/bi.mk

    .

  17. Remove the BI Cache directory.

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

  22. Reload the site

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ cmk -O
  23. 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