Added Prometheus Stuffs
This commit is contained in:
parent
9e4494b89b
commit
9f457f7c8c
20 changed files with 433 additions and 3 deletions
76
inventory/host_vars/super.yaml
Normal file
76
inventory/host_vars/super.yaml
Normal file
|
|
@ -0,0 +1,76 @@
|
|||
---
|
||||
server_name: super
|
||||
ansible_python_interpreter: /usr/bin/python3
|
||||
prometheus_scrape_configs:
|
||||
- job_name: "prometheus"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "localhost:9090"
|
||||
- job_name: "adguard_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "adguard.local.cobb.lgbt:9100"
|
||||
- job_name: "stephanie_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "stephanie.local.cobb.lgbt:9100"
|
||||
- job_name: "nemetona_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "nemetona.local.cobb.lgbt:9100"
|
||||
- job_name: "ida_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "ida.local.cobb.lgbt:9100"
|
||||
- job_name: "emosen_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "emosen.local.cobb.lgbt:9100"
|
||||
- job_name: "adguardpi_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "adguardpi.local.cobb.lgbt:9100"
|
||||
- job_name: "knivi_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "knivi.local.cobb.lgbt:9100"
|
||||
- job_name: "reir_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "reir.local.cobb.lgbt:9100"
|
||||
- job_name: "curren_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "curren.local.cobb.lgbt:9100"
|
||||
- job_name: "pve_node"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "10.69.1.7:9100"
|
||||
- "10.69.1.7:9221"
|
||||
- job_name: "snmp"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "10.69.1.1"
|
||||
- "10.69.1.10"
|
||||
- "10.69.1.11"
|
||||
- "10.69.1.126"
|
||||
metrics_path: /snmp
|
||||
params:
|
||||
auth: [public_v2]
|
||||
module: [if_mib]
|
||||
relabel_configs:
|
||||
- source_labels: [__address__]
|
||||
target_label: __param_target
|
||||
- source_labels: [__param_target]
|
||||
target_label: instance
|
||||
- target_label: __address__
|
||||
replacement: 127.0.0.1:9116
|
||||
- job_name: "snmp_exporter"
|
||||
static_configs:
|
||||
- targets: ["localhost:9116"]
|
||||
- job_name: "traefik"
|
||||
static_configs:
|
||||
- targets:
|
||||
- "nemetona.local.cobb.lgbt:7000"
|
||||
metrics_path: /metrics
|
||||
prometheus_db_dir: /mnt/storage/db
|
||||
|
|
@ -15,6 +15,8 @@ all:
|
|||
ansible_host: 10.69.10.131
|
||||
stephanie:
|
||||
ansible_host: 10.69.10.52
|
||||
super:
|
||||
ansible_host: 10.69.1.31
|
||||
nemetona:
|
||||
ansible_host: 10.69.10.50
|
||||
ida:
|
||||
|
|
@ -37,6 +39,7 @@ all:
|
|||
nemetona:
|
||||
ida:
|
||||
emosen:
|
||||
home_assistant:
|
||||
debian:
|
||||
hosts:
|
||||
adguardpi:
|
||||
|
|
@ -44,6 +47,7 @@ all:
|
|||
knivi:
|
||||
reir:
|
||||
curren:
|
||||
super:
|
||||
docker:
|
||||
hosts:
|
||||
adguard:
|
||||
|
|
@ -76,3 +80,6 @@ all:
|
|||
frigate:
|
||||
hosts:
|
||||
curren:
|
||||
prometheus:
|
||||
hosts:
|
||||
super:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue