homelab/server/config/monitoring/prometheus.yml

63 lines
1.5 KiB
YAML

global:
scrape_interval: 60s
scrape_configs:
# scrape hosts
- job_name: 'joey-server'
scrape_interval: 5s
static_configs:
- targets: ['127.0.0.1:9100']
- job_name: 'jafner.tools'
scrape_interval: 5s
static_configs:
- targets: ['143.110.151.123:9100']
- job_name: 'router'
scrape_interval: 5s
static_configs:
- targets: ['192.168.1.1:9100']
# scrape applications
- job_name: 'traefik'
scrape_interval: 5s
static_configs:
- targets: ['localhost:28080']
metrics_path: "/metrics"
- job_name: 'exporter-pihole'
scrape_interval: 5s
static_configs:
- targets: ['exporter-pihole:9617']
metrics_path: "/metrics"
- job_name: 'exporter-minecraft'
scrape_interval: 5s
static_configs:
- targets: ['exporter-minecraft:8080']
- job_name: 'uptime-kuma'
scrape_interval: 5s
static_configs:
- targets: ['uptime.jafner.tools']
basic_auth:
username: Jafner
password: mHYBhPXqydeU4ThfRZDrLqfV6HK5JKvS
- job_name: 'exporter-plex'
scrape_interval: 5s
static_configs:
- targets: ['exporter-plex:9594']
- job_name: 'exporter-sabnzbd'
scrape_interval: 5s
static_configs:
- targets: ['exporter-sabnzbd:9387']
# scrape IoT devices
- job_name: 'tasmota'
scrape_interval: 5s
static_configs:
- targets: ['tasmota-1','tasmota-2','tasmota-3']