Hello everyone I have just updated my older (4.0.x) uyuni installation on openSuSE Leap 15.1 to version 2020.04. Basically everything worked as before after that. I use the installation mainly for educational purposes, since we just bought a SuSE Manager license at work and I will have to familiarize myself with it in the future. I have now tried to set up the monitoring using this guide: https://www.uyuni-project.org/uyuni-docs/uyuni/administration/monitoring.htm... I tried to install the Prometheus service once via zypper and later also via the Web GUI. The installation worked with both variants, but Prometheus will no longer start if you enter the configuration as described in the manual. The problem seems to be this area: # Managed systems metrics: - job_name: 'mgr-clients' uyuni_sd_configs: - host: "http://server.url" username: "admin" password: "admin" Journalctl then shows the following error after a restart of Prometheus and the service dies immediately: Apr 22 22:21:11 uyuni systemd[1]: Started Monitoring system and time series database. -- Subject: Unit prometheus.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit prometheus.service has finished starting up. -- -- The start-up result is done. Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.282242749Z caller=main.go:302 msg="Starting Prometheus" version="(version=2.7.1, branch=non-git, revision=non-git)" Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.282475132Z caller=main.go:303 build_context="(go=go1.12.2, user=abuild@build30, date=20190506-21:40:46)" Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.282506478Z caller=main.go:304 host_details="(Linux 4.12.14-lp151.28.44-default #1 SMP Fri Mar 20 18:20:20 UTC 2020 (dbf1aea) x86_64 uyun> Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.282832865Z caller=main.go:305 fd_limits="(soft=1024, hard=4096)" Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.282976953Z caller=main.go:306 vm_limits="(soft=unlimited, hard=unlimited)" Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.283536813Z caller=main.go:620 msg="Starting TSDB ..." Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.283863869Z caller=repair.go:48 component=tsdb msg="found healthy block" mint=1587549831122 maxt=1587556800000 ulid=01E6GZSKYY5FKCBP0X6VR> Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.284036613Z caller=repair.go:48 component=tsdb msg="found healthy block" mint=1587556800000 maxt=1587564000000 ulid=01E6H6E9GFRTC0TK53Z3H> Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.28420424Z caller=repair.go:48 component=tsdb msg="found healthy block" mint=1587564000000 maxt=1587571200000 ulid=01E6HDA0Q73T9YBKBVM975> Apr 22 22:21:11 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:11.305763892Z caller=web.go:416 component=web msg="Start listening for connections" address=0.0.0.0:9090 Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.935791302Z caller=main.go:635 msg="TSDB started" Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.93611987Z caller=main.go:695 msg="Loading configuration file" filename=/etc/prometheus/prometheus.yml Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.936572835Z caller=main.go:489 msg="Stopping scrape discovery manager..." Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.947640541Z caller=main.go:503 msg="Stopping notify discovery manager..." Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.947869093Z caller=main.go:525 msg="Stopping scrape manager..." Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948016593Z caller=main.go:499 msg="Notify discovery manager stopped" Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948172824Z caller=main.go:485 msg="Scrape discovery manager stopped" Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948311087Z caller=manager.go:736 component="rule manager" msg="Stopping rule manager..." Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.94844027Z caller=manager.go:742 component="rule manager" msg="Rule manager stopped" Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948608988Z caller=main.go:519 msg="Scrape manager stopped" Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948801003Z caller=notifier.go:521 component=notifier msg="Stopping notification manager..." Apr 22 22:21:12 uyuni prometheus[672]: level=info ts=2020-04-22T20:21:12.948936138Z caller=main.go:679 msg="Notifier manager stopped" Apr 22 22:21:12 uyuni prometheus[672]: level=error ts=2020-04-22T20:21:12.949071439Z caller=main.go:688 err="error loading config from \"/etc/prometheus/prometheus.yml\": couldn't load configuration (--config.file=\"/etc/prometheus/prometheus.yml\"): parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:\n line 44: field uyuni_sd_configs not found in type config.plain" Apr 22 22:21:12 uyuni systemd[1]: prometheus.service: Main process exited, code=exited, status=1/FAILURE Apr 22 22:21:12 uyuni systemd[1]: prometheus.service: Unit entered failed state. Apr 22 22:21:12 uyuni systemd[1]: prometheus.service: Failed with result 'exit-code'. The problem seems to be here: YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:\n line 44: field uyuni_sd_configs not found in type config.plain Unfortunately I can't find any help on Google - it also seems to be a specific problem at uyuni, due to the name of the type Does anyone have any ideas? Best regards Martin Willisegger -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org