The following overview shows all of the important files and directories applicable to the Checkmk Micro Core (CMC).
All file paths relate to the site’s home directory.
For example: if a site is named
mysite, then all of its file paths are derived from
1. Runtime data
|File path name
In this file messages from starting and stopping the CMC can be found, as well as general warnings and error messages. The history for hosts and services (in Nagios both are contained in
Directory with all CMC runtime data.
The core’s configuration with all static data on hosts, services, groups, users and global settings. In Nagios this data equates to the files under
The core’s current runtime state. The file stores information on the current status of hosts and services, likewise scheduled downtimes, acknowledgements and commentaries. The data is updated regularly during processing and when the core is stopped. If it is unavailable or incompatible when the core starts, the core will begin with an empty state. This data equates to the
Backup copies of the status following a migration from an old CMC version, or when the CMC detects a large reduction in the number of hosts in the configuration. Thus you can return to the old status (and recover your scheduled downtimes and acknowledgements), e.g., if due to a configurations-error all hosts have been temporarily removed from the monitoring.
This file is normally not present. If it is, then this indicates an earlier core crash and aids the developers in locating the cause of the error.
This file stores the history of all hosts and services in text format. This corresponds in its content and format to the
Old versions of
The CMC’s Livestatus socket. This is in the same location as in Nagios. Because the CMC is Livestatus-compatible with Nagios and Icinga, all extensions based on Livestatus can be used without modification (e.g. NagVis).
The CMC’s current process-ID
The CMC does not have its own configuration file.
All settings for the CMC can be found in the Checkmk’s web interface under Global settings > Monitoring Core.
They are stored together with the other global settings in
|File path name
Executable program for the CMC itself. This has been developed in C++, and apart from the standard C++ library requires no other libraries (in particular, no Boost). For testing purposes one can also call the CMC by hand (try:
The CMC’s start script
Auxiliary process that is started by the CMC and which takes over the sending of ICMP packages for the Smart Ping. This must be installed with set user ID for root.
Auxiliary process that is started by the CMC and which takes over the receiving of ICMP and TCP connection packets for the Smart Ping. This must be installed with set user ID for root.
Auxiliary process check helper that is started several times by the CMC and takes over the efficient execution of active checks.
Auxiliary process Checkmk fetcher that is started several times by the CMC and retrieves the agent information from the network.