From c1b951135a8cea9d9c519e854c9557aa8f6e5a09 Mon Sep 17 00:00:00 2001 From: Finn Date: Thu, 7 Nov 2024 18:00:46 -0800 Subject: [PATCH] add freepbx --- inventory.yml | 9 +++++++-- k8s/monitoring/prom-scrape-configs/scrape-configs.yaml | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/inventory.yml b/inventory.yml index f22f488..be5bc01 100644 --- a/inventory.yml +++ b/inventory.yml @@ -48,9 +48,14 @@ monitoring: jobs: minecraft: /var/minecraft/logs/*.log - pbx: - ansible_host: 10.5.1.236 + freepbx: + ansible_host: 10.5.1.169 home_network: true + logs: + jobs: + apache2: /var/log/apache2/*.log + redis: /var/log/redis/*.log + asterisk: /var/log/asterisk/*.log authentik: hosts: diff --git a/k8s/monitoring/prom-scrape-configs/scrape-configs.yaml b/k8s/monitoring/prom-scrape-configs/scrape-configs.yaml index de59534..8bddd5f 100644 --- a/k8s/monitoring/prom-scrape-configs/scrape-configs.yaml +++ b/k8s/monitoring/prom-scrape-configs/scrape-configs.yaml @@ -65,6 +65,7 @@ - forgejo-runner-2:9080 - forgejo-runner-3:9080 - monitoring-0:9080 + - freepbx:9080 - job_name: node-exporter static_configs: - targets: @@ -91,6 +92,7 @@ - forgejo-runner-1:9100 - forgejo-runner-2:9100 - forgejo-runner-3:9100 + - freepbx:9100 - job_name: minio authorization: credentials_file: /etc/prometheus/secrets/scrape-secrets/minio.token