You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After spending several hours trying to get this script working I'm at a loss as to what's going wrong.
Running Docker on RPi3 w/ latest Rasbian Lite. (Though I want to run both this container and Prometheus on a separate server, running it on the pi to eliminate variables)
Deployment:
# my global config
global:
scrape_interval: 15s # Set the scrape interval to every 15 seconds. Default is every 1 minute.
evaluation_interval: 15s # Evaluate rules every 15 seconds. The default is every 1 minute.
# scrape_timeout is set to the global default (10s).
# Alertmanager configuration
alerting:
alertmanagers:
- static_configs:
- targets:
# - alertmanager:9093
# Load rules once and periodically evaluate them according to the global 'evaluation_interval'.
rule_files:
# - "first_rules.yml"
# - "second_rules.yml"
# A scrape configuration containing exactly one endpoint to scrape:
# Here it's Prometheus itself.
scrape_configs:
# The job name is added as a label `job=<job_name>` to any timeseries scraped from this config.
- job_name: 'prometheus'
# metrics_path defaults to '/metrics'
# scheme defaults to 'http'.
static_configs:
- targets: ['localhost:9090']
- job_name: 'pihole'
honor_timestamps: true
metrics_path: /metrics
scheme: http
static_configs:
- targets: ['localhost:9617']
The text was updated successfully, but these errors were encountered:
When the exporter is running, you can try to go on http://192.168.1.13:9617/metrics in order to see if metrics are well rendered.
In case metrics are available, you have an issue between Prometheus and the exporter, then you can go to http://192.168.1.13:9090/targets and see if the exporter target is UP.
After spending several hours trying to get this script working I'm at a loss as to what's going wrong.
Running Docker on RPi3 w/ latest Rasbian Lite. (Though I want to run both this container and Prometheus on a separate server, running it on the pi to eliminate variables)
Deployment:
prometheus.yml:
The text was updated successfully, but these errors were encountered: