Werk #11105: apache_status: Configuration of Instance Names

Component Checks & Agents
Title apache_status: Configuration of Instance Names
Date May 18, 2020
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0i1
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed

It is now possible to configure names for instances in three ways:

- Autodetection according to OMD configuration - Overwrite of automatically detected instances - Setting an Instance Name for manual configured

If ENABLE_OMD_SITE_DETECTION is set to 'True' in apache_status.cfg, the names for server instances are translated to OMD site names if the ip and port match the omd configuration.

To overwrite instance names by preconfigured values, use CUSTOM_ADDRESS_OVERWRITE in apache_status.cfg. Use hostname/IP:Port as key, the new name as the value:


CUSTOM_ADDRESS_OVERWRITE = { '' : "omd_site_mon", }

In custom server configurations use the key 'instance' to set a custom name


servers = [ { 'protocol' : 'http', 'address' : 'localhost', 'port' : 80 , 'instance' : "my-webserver" }, ]

To the list of all Werks