How to copy your local BI structure to a remote site |
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 directory.
OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache |
Reload the site
OMD[remotesite]:~$ cmk -O |
.
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/ |
Change ownership of the file.
OMD[remotesite]:~$ chown remotesite:remotesite ~/etc/check_mk/multisite.d/wato/bi_config.bi |
Remove the BI Cache directory.
OMD[remotesite]:~$ rm -r ~/tmp/check_mk/bi_cache |
Reload the site
OMD[remotesite]:~$ cmk -O |
Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.
|