homelab/server/config/prometheus/prometheus.yml

95 lines
2.3 KiB
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
global:
scrape_interval: 60s
2022-02-08 17:00:27 -08:00
scrape_configs:
2022-05-01 15:02:37 -07:00
# scrape hosts
- job_name: 'joey-seedbox'
scrape_interval: 5s
static_configs:
- targets: ['joey-seedbox.local:9100']
- job_name: 'joey-server'
scrape_interval: 5s
static_configs:
- targets: ['joey-server.local:9100']
- job_name: 'pihole'
scrape_interval: 5s
static_configs:
- targets: ['pihole.local: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
2022-04-29 13:10:05 -07:00
- job_name: 'prometheus'
scrape_interval: 60s
static_configs:
- targets: ['localhost:9090']
2022-02-08 17:00:27 -08:00
2022-04-29 13:10:05 -07:00
- job_name: 'traefik'
scrape_interval: 5s
static_configs:
- targets: ['192.168.1.23:28080']
metrics_path: "/metrics"
2022-04-29 12:44:25 -07:00
2022-04-29 13:10:05 -07:00
- job_name: 'pihole.jafner.net'
scrape_interval: 5s
static_configs:
- targets: ['pihole-jafner-net:9617']
metrics_path: "/metrics"
2022-02-08 17:00:27 -08:00
2022-04-29 13:10:05 -07:00
- job_name: 'uptime-kuma'
scrape_interval: 5s
static_configs:
- targets: ['uptime.jafner.net']
basic_auth:
username: Jafner
password: mHYBhPXqydeU4ThfRZDrLqfV6HK5JKvS
2022-02-08 17:00:27 -08:00
- job_name: 'mc-monitor'
scrape_interval: 5s
2022-02-08 17:00:27 -08:00
static_configs:
2022-04-29 13:10:05 -07:00
- targets: ['mc-monitor:8080']
2022-02-08 17:00:27 -08:00
- job_name: 'jafner.chat'
scrape_interval: 5s
2022-02-08 17:00:27 -08:00
static_configs:
2022-04-29 13:10:05 -07:00
- targets: ['143.110.157.109:9100']
2022-02-08 17:00:27 -08:00
2022-05-01 15:02:37 -07:00
- job_name: '5e.jafner.tools'
scrape_interval: 5s
2022-02-08 17:00:27 -08:00
static_configs:
2022-05-01 15:02:37 -07:00
- targets: ['5e-jafner-tools:9117']
metrics_path: "/metrics"
- job_name: 'deluge'
2022-05-02 17:20:10 -07:00
scrape_interval: 5s
static_configs:
- targets: ['192.168.1.21:53000']
2022-05-02 17:42:20 -07:00
labels:
instance: 'ggn'
- targets: ['192.168.1.21:53100']
2022-05-02 17:42:20 -07:00
labels:
instance: 'mam'
- targets: ['192.168.1.21:53200']
2022-05-02 17:42:20 -07:00
labels:
instance: 'emp'
- targets: ['192.168.1.21:53300']
2022-05-02 17:42:20 -07:00
labels:
instance: 'pub'
2022-05-02 17:20:10 -07:00
2022-05-01 15:02:37 -07:00
# scrape IoT devices
- job_name: 'tasmota'
scrape_interval: 5s
static_configs:
2022-04-29 13:10:05 -07:00
- targets: ['tasmota-1','tasmota-2','tasmota-3']