diff --git a/salt/monitoring/prometheus/prometheus.yml b/salt/monitoring/prometheus/prometheus.yml index c456db09c..807714e84 100644 --- a/salt/monitoring/prometheus/prometheus.yml +++ b/salt/monitoring/prometheus/prometheus.yml @@ -13,7 +13,6 @@ alerting: rule_files: - /etc/prometheus/rules.yml -{% if grains.get('monitored_hosts') %} scrape_configs: - job_name: hanadb static_configs: @@ -36,4 +35,3 @@ scrape_configs: {% for ip in grains['monitored_hosts'] %} - "{{ ip }}:9002" # 9002: ha_cluster_exporter metrics {% endfor %} -{% endif %}