Letzte Aktualisierung: 26. Juni 2012
1. Simulation Mode
The simulation mode allows you to make a dry run of your check_mk installation. It is enabled by setting simulation_mode to True in your main.mk:
simulation_mode = True
When simulation mode is enabled, then:
This all allows you to simulate a complex monitoring environment without have any real targets to monitor. All you have to do is to copy all configuration and runtime data from another installation to your test installation. The best way to do this is by using Check_MK's backup & restore mechanism.
After the restore, edit main.mk and set simulation_mode to True. As of version 1.1.10 you also can put this variable into local.mk. That configuration file will be read as very last and ist not touched by backup or restore.
user@host> cmk -R Generating Nagios configuration...OK Validating Nagios configuration...OK Precompiling host checks...OK Reloading Nagios...OK
After this access the site via your web browser and you should find your whole Nagios setup is running in simulation mode.