Liebe Experten,
Ich habe ein
omd version: OMD - Open Monitoring Distribution Version 2.1.0p18.cre
auf
cat /etc/os-release: NAME=“openSUSE Leap”, VERSION=“15.2”
Das CheckMK wurde mit Updates auf diese Version gebracht, wobei bei jedem Schritt, wie empfohlen, die unkompatiblen Werks gesichtet und bestätigt wurden.
Prinzipiell läuft alles wie gewünscht, nur dass seit gestern Konfigurationen nicht mehr aktiviert werden können.
Der letzte Schritt war, dass
der Server “japsand” auf “do not monitor” gesetzt wurde. Diese Änderung wurde erfolgreich aktiviert, obwohl der Server für den Service ‘TEF-Web’ ein Elternteil ist.
Der Server wurde physisch vom Switch getrennt, dessen SFP wechselte den Platz und dort wurde ein anderer Server angeschlossen.
Die daraufhin bemerkten vanished und unmonitored services beim Switch wurden in einem Schritt mit “Remove vanished services” und “Monitor undecided services” bedient.
Das anschliessende “Activate on selected sites” endet mit der roten Meldung:
Progress failed:
Started at: 14:51:08. Finished at: 14:51:22.
Error running automation call restart (exit code 1), 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/cmk_buero/etc/nagios/conf.d'...
Processing object config file '/omd/sites/cmk_buero/etc/nagios/conf.d/templates.cfg'...
Processing object config file '/omd/sites/cmk_buero/etc/nagios/conf.d/check_mk_objects.cfg'...
Processing object config file '/omd/sites/cmk_buero/etc/nagios/conf.d/check_mk_templates.cfg'...
Read object config files okay...
Running pre-flight check on configuration data...
Checking services...
Checked 1971 services.
Checking hosts...
<div class=err>Error: 'japsand' is not a valid parent for host 'TEF-Web'!</div>
Checked 70 hosts.
Checking host groups...
Checked 1 host groups.
Checking service groups...
Checked 0 service groups.
Checking contacts...
Checked 5 contacts.
Checking contact groups...
Checked 5 contact groups.
Checking service escalations...
Checked 0 service escalations.
Checking service dependencies...
Checked 52 service dependencies.
Checking host escalations...
Checked 0 host escalations.
Checking host dependencies...
Checked 0 host dependencies.
Checking commands...
Checked 77 commands.
Checking time periods...
Checked 1 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: 1
***> 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/cmk_buero/tmp/check_mk/check_mk_objects.cfg.broken" for analysis.
Egal was im weiteren konfiguriert wird – es kann nicht aktiviert werden.
Ein “Discard all pending changes” liefert die gleiche (rote) Antwort wie der Aktivierungsversuch.
In dem file “/omd/sites/cmk_buero/tmp/check_mk/check_mk_objects.cfg.broken” sehe ich die gewünschte Konfiguration mit dem Fehler “japsand” als parent für “TEF-Web”, da es “japsand” als host nicht mehr gibt.
In dem aktiven file /omd/sites/cmk_buero/etc/nagios/conf.d/check_mk_objects.cfg residiert offenbar noch die Konfiguration vor den Änderungen.
Ein Neustart der Instanz hat nicht geholfen.
Was muss ich nun tun, damit die pending changes verschwinden oder aktiviert werden können?