The CMC now has a new replication mechanism for mirroring the stateof satellite monitoring sites into a central site. This is much likelivedump for the Nagios core but is much more powerful.
In order to setup this you need to call cmcdump -C > cmc.configon the remote site and transfer that file to the central site intoetc/check_mk/conf.d/yourfile.mk. This will dump the configurationof all hosts and services. Afterwards activate the updated configurationwith cmk -O. You need to repeat it from time to time so thatyour central site is up-to-date.
In a much shorter interval (e.g. once per minute) you call cmcdump >cmc.state on the same remote site. This can easily be done with a cronjob. That file you also transfer to the central site via any mechanismyou like (scp, http, rsync, ...). Over there read it into the core with:
OMD[mysite]:~$ unixcat < cmc.state tmp/run/live
This will update the core's complete state of all hosts and services thatare contained in the dump. The transferred state will correctly reflect thefollowing variables:
In the central site this will almost - but not entirely - be handledlike a check execution. One difference is that no notifications will besent. But performance data is being processed graphs will be created. Alsothe monitoring log is being updated and availability data can be processed.Depending on our synchronization interval of the data transfer the latterone might not be 100% precise however.
The tool cmcdump is in your path and can directly be executed.Call cmcdump --help for details on how to call this tool.