How to copy your local BI structure to a remote site:
- You need to copy/move your hosts to the remote site if you want to use them there
- Copy the bi config
For Checkmk 1.6
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/
Change the ownership of the file.OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi.mk
Remove the BI Cache directoryOMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache
Reload the siteOMD[remotesite]:~$ cmk -O
For Checkmk 2.0 / 2.1
SCP the bi config from the central site to the remote siteOMD[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/
Change ownership of the fileOMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi_config.bi
Remove the BI Cache directoryOMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache
Reload the siteOMD[remotesite]:~$ cmk -O
Related articles
Filter by label
There are no items with the selected labels at this time.