We use cookies to ensure that we give you the best experience on our website.  Visit our Privacy Policy to learn more. If you continue to use this site, we will assume that you are okay with it.

Your choices regarding cookies on this site.
Your preferences have been updated.
In order for the changes to take effect completely please clear your browser cookies and cache. Then reload the page.

Werk #11105: apache_status: Configuration of Instance Names

ComponentChecks & Agents
Titleapache_status: Configuration of Instance Names
Date2020-05-18 09:02:26
Checkmk EditionCheckmk Raw Edition (CRE)
Checkmk Version2.0.0i1
LevelTrivial Change
ClassNew Feature
CompatibilityCompatible - 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" }, ]