Error in Distributed Monitoring with Livedump

Dear community,

I am new here in the forum and still very inexperienced with CheckMK. I hope you can help me.

My goal is to run a CheckMK instance as a remote instance. The remote instance should send the status of the monitored devices to a central instance. The procedure is well described in the documentation (Distributed monitoring - Scaling and distributing Checkmk) under point 4. Unfortunately I get an error message on the central instance when activating the configuration file. Both the remote instance and the central instance have the Debian 9 OS and the CheckMK version is identical on both machines.

Thanks in advance! I will be happy to answer any questions :slight_smile:

Error message:

Generating configuration for core (type nagios)...Precompiling host checks...OK
Validating Nagios configuration...ERROR:

Nagios Core 3.5.1


Copyright (c) 2009-2011 Nagios Core Development Team and Community Contributors
Copyright (c) 1999-2009 Ethan Galstad
Last Modified: 08-30-2013
License: GPL

Website: http://www.nagios.org
Reading configuration data...
   Read main config file okay...
Processing object config directory '/omd/sites/OWG_RX/etc/nagios/conf.d'...
Processing object config file '/omd/sites/OWG_RX/etc/nagios/conf.d/check_mk_objects.cfg'...
Processing object config file '/omd/sites/OWG_RX/etc/nagios/conf.d/templates.cfg'...
Processing object config file '/omd/sites/OWG_RX/etc/nagios/conf.d/check_mk_templates.cfg'...
Processing object config file '/omd/sites/OWG_RX/etc/nagios/conf.d/jmx4perl_nagios.cfg'...
Processing object config file '/omd/sites/OWG_RX/etc/nagios/conf.d/configFile_remoteSide.cfg'...
   Read object config files okay...

Running pre-flight check on configuration data...

Checking services...
Error: Contact 'b'check-mk-notify'' specified in service 'b'CPU load'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'CPU load'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'CPU load'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'CPU load'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'CPU utilization'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'CPU utilization'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'CPU utilization'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'CPU utilization'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Check_MK Discovery'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Check_MK Discovery'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Check_MK Discovery'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Check_MK Discovery'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Check_MK HW/SW Inventory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Check_MK HW/SW Inventory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Check_MK HW/SW Inventory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Check_MK HW/SW Inventory'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Check_MK'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Check_MK'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Check_MK'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Check_MK'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Disk IO SUMMARY'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Disk IO SUMMARY'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Disk IO SUMMARY'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Disk IO SUMMARY'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Filesystem /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Filesystem /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Filesystem /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Filesystem /'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Filesystem /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Filesystem /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Filesystem /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Filesystem /boot/efi'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Filesystem /opt/omd/sites/CMKOWGTX/tmp'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Filesystem /opt/omd/sites/CMKOWGTX/tmp'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Filesystem /opt/omd/sites/CMKOWGTX/tmp'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Filesystem /opt/omd/sites/CMKOWGTX/tmp'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Interface 2'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Interface 2'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Interface 2'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Interface 2'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Kernel Performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Kernel Performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Kernel Performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Kernel Performance'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Memory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Memory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Memory'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Memory'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Mount options of /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Mount options of /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Mount options of /'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Mount options of /'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Mount options of /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Mount options of /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Mount options of /boot/efi'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Mount options of /boot/efi'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Number of threads'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Number of threads'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Number of threads'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Number of threads'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'OMD CMKOWGTX Event Console'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'OMD CMKOWGTX Event Console'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'OMD CMKOWGTX Event Console'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'OMD CMKOWGTX Event Console'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'OMD CMKOWGTX apache'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'OMD CMKOWGTX apache'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'OMD CMKOWGTX apache'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'OMD CMKOWGTX apache'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'OMD CMKOWGTX performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'OMD CMKOWGTX performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'OMD CMKOWGTX performance'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'OMD CMKOWGTX performance'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'OMD CMKOWGTX status'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'OMD CMKOWGTX status'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'OMD CMKOWGTX status'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'OMD CMKOWGTX status'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Site CMKOWGTX statistics'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Site CMKOWGTX statistics'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Site CMKOWGTX statistics'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Site CMKOWGTX statistics'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Systemd Service Summary'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Systemd Service Summary'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Systemd Service Summary'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Systemd Service Summary'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'TCP Connections'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'TCP Connections'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'TCP Connections'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'TCP Connections'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Temperature Zone 0'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Temperature Zone 0'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Temperature Zone 0'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Temperature Zone 0'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
Error: Contact 'b'check-mk-notify'' specified in service 'b'Uptime'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in service 'b'Uptime'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in service 'b'Uptime'' for host 'b'CMKOWGTX'' is not defined anywhere!
Error: The description string for service 'b'Uptime'' on host 'b'CMKOWGTX'' contains one or more illegal characters.
        Checked 48 services.
Checking hosts...
Error: Host check command 'b'check-mk-host-ping' specified for host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'all'' specified in host 'b'CMKOWGTX'' is not defined anywhere!
Error: Contact group 'b'check-mk-notify' specified in host 'b'CMKOWGTX'' is not defined anywhere!
Error: The name of host 'b'CMKOWGTX'' contains one or more illegal characters.
        Checked 2 hosts.
Checking host groups...
        Checked 1 host groups.
Checking service groups...
        Checked 0 service groups.
Checking contacts...
        Checked 2 contacts.
Checking contact groups...
        Checked 3 contact groups.
Checking service escalations...
        Checked 0 service escalations.
Checking service dependencies...
        Checked 1 service dependencies.
Checking host escalations...
        Checked 0 host escalations.
Checking host dependencies...
        Checked 0 host dependencies.
Checking commands...
        Checked 29 commands.
Checking time periods...
        Checked 2 time periods.
Checking for circular paths between hosts...
Checking for circular host and service dependencies...
Checking global event handlers...
Checking obsessive compulsive processor commands...
Checking misc settings...

Total Warnings: 0
Total Errors:   100

***> One or more problems was encountered while running the pre-flight check...

     Check your configuration file(s) to ensure that they contain valid
     directives and data defintions.  If you are upgrading from a previous
     version of Nagios, you should be aware that some variables/definitions
     may have been removed or modified in this version.  Make sure to read
     the HTML documentation regarding the config files, as well as the
     'Whats New' section to find out what has changed.

An error occurred: Error creating configuration: Configuration for monitoring core is invalid. Rolling back. The broken file has been copied to "/omd/sites/OWG_RX/tmp/check_mk/check_mk_objects.cfg.broken" for analysis.

First of all your central system should have also a little bit of own objects/configuration.
Is this working correctly if you don’t try to use the livedump config file?

The missing contact and contact group exists in every CMK system if properly configured.

What version is used?

Beside these question i think i know what the problem is.
All the strings shown are prefixed with ‘b’ for binary string.
This will not work. At the moment i have no one of my livedump systems running with 2.0 and it is possible that this is a Python3 / CMK 2.0 problem.

Yes, without the livedump configuration file CheckMK runs without errors. However, the central instance only monitors itself.

2.0.0p17_0

Despite my limited experience in CheckMK, I had the same suspicion. Especially because of the error message: Error: The name of host ‘b’CMKOWGTX’’ contains one or more illegal characters.

Had also once given the remote site a new name without special characters.

So you assume that it works better with an old CheckMK version?

I tried this again today with CheckMK version 1.6.0p27. In this case I was able to set up the distributed monitoring without any problems. The configuration file created on the remote instance is now much shorter and also no longer includes the type prefixes (‘b’…').

However, I would argue that I have not changed anything in my approach to version 2.0.0. For this reason, the question still remains why this did not work for version 2.0.0.

@andreas-doehler: Thanks already once you have helped me already very well.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.