Add router scrape job and reorganize

This commit is contained in:
Joey Hafner 2022-05-01 15:02:37 -07:00
parent deedbf68c4
commit ae7bf0754a

View File

@ -2,6 +2,34 @@ global:
scrape_interval: 60s
scrape_configs:
# 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
- job_name: 'prometheus'
scrape_interval: 60s
static_configs:
@ -13,12 +41,6 @@ scrape_configs:
- targets: ['192.168.1.23:28080']
metrics_path: "/metrics"
- job_name: '5e.jafner.tools'
scrape_interval: 5s
static_configs:
- targets: ['5e-jafner-tools:9117']
metrics_path: "/metrics"
- job_name: 'pihole.jafner.net'
scrape_interval: 5s
static_configs:
@ -38,31 +60,18 @@ scrape_configs:
static_configs:
- targets: ['mc-monitor:8080']
- job_name: 'jafner.tools'
scrape_interval: 5s
static_configs:
- targets: ['143.110.151.123:9100']
- job_name: 'jafner.chat'
scrape_interval: 5s
static_configs:
- targets: ['143.110.157.109:9100']
- job_name: 'joey-seedbox'
- job_name: '5e.jafner.tools'
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']
- targets: ['5e-jafner-tools:9117']
metrics_path: "/metrics"
# scrape IoT devices
- job_name: 'tasmota'
scrape_interval: 5s
static_configs: