...
- 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
Copy
SCP the bi config from the target site to the remote site.Code Block language bash theme RDark OMD[mysitecentralsite]:~$ cpscp /omd/sites/atcentralsite/etc/check_mk/multisite.d/wato/bi.mk siteuser@remotesite:/omd/sites/bi1remotesite/etc/check_mk/multisite.d/wato/
Change the ownership of the file.Code Block language bash theme RDark OMD[mysiteremotesite]:~$ chown mysiteremotesite:mysite bi1. remotesite ~/etc/check_mk/multisite.d/wato/bi.mk
Remove the BI Cache directoryCode Block language bash theme RDark linenumbers true # please copy the bi config from target site to the remote site # please chown bi1. bi.mk # please remove the BI Cache directory OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache #
Reloadthe
sitesite
Code Block language bash theme RDark OMD[bi1remotesite]:~$ cmk -O
For Checkmk 2.0 / 2.1
SCP the bi config from the central site to the remote siteCode Block language bash theme RDark linenumbers true # please copy the bi config from target site to the remote site cp OMD[centralsite]:~$ scp /omd/sites/atcentralsite/etc/check_mk/multisite.d/wato/bi_config.bi siteuser@remotesite:/omd/sites/bi1remotesite/etc/check_mk/multisite.d/wato # please change ownership of the file chown bi1. /
Change ownership of the fileCode Block language bash theme RDark OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi_config.bi # please remove the BI Cache directory
Remove the BI Cache directoryCode Block language bash theme RDark OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache #
Reloadthe
sitesite
Code Block language bash theme RDark OMD[bi1remotesite]:~$ cmk -O
Related articles
...