-
Notifications
You must be signed in to change notification settings - Fork 196
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable Autodiscover clients in Prometheus formula in Uyuni 2020.03 #2082
Comments
@cavalheiro @renner |
Might it just be an indentation issue?
|
Using the following configuration (that is, I keep the wrong indentation), it works:
Here, the SUMA server is the one for testing beta 2, and the monitoring client is a sles15sp2. |
@mateiw can you take a look at this please? |
I couldn't reproduce the issue. It works fine for me. |
Man, I have the same problem.. but indetation don't work for me.. error: promtool check config prometheus.ymlChecking prometheus.yml Config:global: Alertmanager configurationalerting:
rule_files:
Scrape configurationsscrape_configs: --------------------Monitor 001.xxx.net--------------------
--------------------Auto discover clients of 001.xxx.net--------------------
--------------------Metamonitoring--------------------
|
@willianops which Prometheus package are you using? |
I'm use Suse Manager to deploy configurations of prometheus. All configs are native and default . Of Course Suse Manager using Uyuni in background. by the way, I opened a Case in Suse Support |
Hi, I help maintain prometheus-formula and this issue is logged there too. |
@witekest If you will have time, can you take a look at this if it is still valid and possibly close the issue? |
Uyuni service discovery is still not available in upstream Prometheus. Uyuni client tools is the repository providing the forked Prometheus with Uyuni SD. After prometheus/prometheus#8190 gets accepted, the problem should be solved. |
Upstream PR merged, this issue should be solved now. Closing issue. |
Hi,
I try to configure monitoring with Prometheus, but after I activate Autodiscover clients in salt formula the Prometheus server dose not start.
The error is:
--config.file=\"/etc/prometheus/prometheus.yml\"): parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:\n line 36: field uyuni_sd_configs not found in type config.plain" (--config.file=\"/etc/prometheus/prometheus.yml\"): parsing YAML file /etc/prometheus/prometheus.yml: yaml: unmarshal errors:\n line 36: field uyuni_sd_configs not found in type config.plain"
If I disable Autodiscover the server works ok, and I have Uyuni performance data.
The text was updated successfully, but these errors were encountered: