From cf6b98ea7966801ddaae5d3f73c311a12e255b95 Mon Sep 17 00:00:00 2001 From: SeanOMik Date: Sat, 16 Sep 2023 22:37:36 -0400 Subject: [PATCH] fix(monitoring): enable airquality external monitoring --- .../external-monitors/air-quality.yaml | 21 ++----------------- cluster/apps/monitoring/kustomization.yaml | 2 +- 2 files changed, 3 insertions(+), 20 deletions(-) diff --git a/cluster/apps/monitoring/external-monitors/air-quality.yaml b/cluster/apps/monitoring/external-monitors/air-quality.yaml index 63a7a80..0ed5498 100644 --- a/cluster/apps/monitoring/external-monitors/air-quality.yaml +++ b/cluster/apps/monitoring/external-monitors/air-quality.yaml @@ -19,7 +19,7 @@ metadata: namespace: monitoring subsets: - addresses: - - ip: 192.168.2.10 + - ip: 192.168.1.10 ports: - name: metrics port: 80 @@ -39,21 +39,4 @@ spec: - port: metrics interval: 60s scrapeTimeout: 15s - path: /metrics - -#kind: Probe -#apiVersion: monitoring.coreos.com/v1 -#metadata: -# name: air-quality-prober -# namespace: monitoring -# labels: -# release: kube-prometheus-stack -#spec: -# jobName: air-quality -# interval: 60s -# prober: -# url: 192.168.2.1:80/metrics -# targets: -# staticConfig: -# static: -# - https://www.google.com + path: /metrics \ No newline at end of file diff --git a/cluster/apps/monitoring/kustomization.yaml b/cluster/apps/monitoring/kustomization.yaml index f5a040d..119d034 100644 --- a/cluster/apps/monitoring/kustomization.yaml +++ b/cluster/apps/monitoring/kustomization.yaml @@ -9,4 +9,4 @@ resources: - ./victoria-metrics - ./varken - ./proxmoxve-exporter -#- ./external-monitors \ No newline at end of file +- ./external-monitors \ No newline at end of file