Hello Martin, In order to use the Service Discovery feature, you have to use the Prometheus version provided in the Uyuni Client Tools channel, which has a specific extension to support this. Can you confirm which version you have installed? Best regards, João On 22/04/20 22:08, Martin Willisegger wrote:
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
-- João Cavalheiro - Engineering Manager, SUSE Manager; R&D SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nuremberg, Germany -- To unsubscribe, e-mail: uyuni-users+unsubscribe@opensuse.org To contact the owner, e-mail: uyuni-users+owner@opensuse.org