Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Import Macro Repair

...

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

    Code Block
    languagebash
    themeRDark
    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.

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

    .

  3. Remove the BI Cache directory.

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache

    .

  4. Reload the site

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


...

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

    Code Block
    languagebash
    themeRDark
    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.

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

    .

  3. Remove the BI Cache directory.

    Code Block
    languagebash
    themeRDark
    OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache

    .

  4. Reload the site

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


...