45 lines
1.4 KiB
YAML
45 lines
1.4 KiB
YAML
all:
|
|
children:
|
|
monitoring:
|
|
hosts:
|
|
rpi:
|
|
ansible_host: 192.168.1.100 # Change to your RPi IP
|
|
ansible_user: pi # Change if different
|
|
ansible_become: true
|
|
|
|
# Configuration variables
|
|
prometheus_version: "2.48.0"
|
|
promtail_version: "2.9.2"
|
|
grafana_version: "10.2.2"
|
|
snmp_exporter_version: "0.24.1"
|
|
|
|
# Loki endpoint (in Talos cluster)
|
|
loki_url: "http://192.168.1.200:30100" # Change to your Talos node IP
|
|
|
|
# Prometheus cluster endpoint (for Grafana datasource)
|
|
prometheus_cluster_url: "http://192.168.1.200:30090" # Change to your Talos node IP
|
|
|
|
# Network device IPs for SNMP
|
|
snmp_targets:
|
|
- name: "router"
|
|
ip: "192.168.1.1"
|
|
module: "if_mib"
|
|
- name: "modem"
|
|
ip: "192.168.1.2"
|
|
module: "if_mib"
|
|
|
|
# Targets with node_exporter
|
|
node_exporter_targets:
|
|
- name: "proxmox"
|
|
ip: "192.168.1.10"
|
|
port: 9100
|
|
- name: "nfs"
|
|
ip: "192.168.1.11"
|
|
port: 9100
|
|
|
|
# Proxmox PVE exporter target
|
|
proxmox_targets:
|
|
- name: "proxmox"
|
|
ip: "192.168.1.10"
|
|
port: 9221
|