Copy BI config to remote site

How to copy your local BI structure to a remote site

LAST TESTED ON CHECKMK 2.2.0P13

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.

    OMD[centralsite]:~$ scp /omd/sites/centralsite/etc/check_mk/multisite.d/wato/bi.mk siteuser@remotesite:/omd/sites/remotesite/etc/check_mk/multisite.d/wato/

    .

  2. Change the ownership of the file.

    OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi.mk

    .

  3. Remove the BI Cache directory.

    OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache

    .

  4. Reload the site

    OMD[remotesite]:~$ cmk -O


Checkmk 2.0, 2.1 & 2.2

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

    OMD[centralsite]:~$ scp /omd/sites/centralsite/etc/check_mk/multisite.d/wato/bi_config.bi siteuser@remotesite:/omd/sites/remotesite/etc/check_mk/multisite.d/wato/

    .

  2. Change ownership of the file.

    OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi_config.bi

    .

  3. Remove the BI Cache directory.

    OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache

    .

  4. Reload the site

    OMD[remotesite]:~$ cmk -O