feat: add zabbix-proxy to monitoring stack

This commit is contained in:
Sebastian Mark 2023-07-03 21:22:23 +02:00
parent b679b3110e
commit 7a2f25cb64
3 changed files with 23 additions and 22 deletions

View file

@ -6,6 +6,7 @@
* selfsigned issuer
* LetsEncrypt issuers (Prod and Staging)
* [prometheus and grafana](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
* [zabbix-proxy](https://git.zabbix.com/projects/ZT/repos/kubernetes-helm/browse?at=refs%2Fheads%2Frelease%2F6.4)
* [loki](https://grafana.com/docs/loki/latest/)
* [keel](https://keel.sh)
* [reloader](https://github.com/stakater/Reloader)

View file

@ -32,28 +32,7 @@ app + {
kubeControllerManager:
enabled: false
alertmanager:
config:
global:
resolve_timeout: 5m
route:
group_by: ['alertname', 'cluster']
group_wait: 30s
group_interval: 5m
repeat_interval: 12h
receiver: 'pushover'
routes:
- receiver: 'null'
matchers:
- alertname="Watchdog"
- receiver: 'null'
matchers:
- alertname="InfoInhibitor"
receivers:
- name: 'null'
- name: 'pushover'
pushover_configs:
- user_key: x9PipXt1zGOU31OJH9Osv18BFrlRhw
token: aqvce1uukerhxhayxdq85wgtdh2c5r
enabled: false
prometheus:
prometheusSpec:
storageSpec:

View file

@ -0,0 +1,21 @@
local app = import "../../_templates/argocd_app.libsonnet";
[
app + {
name:: "zabbix-proxy",
namespace:: "monitoring",
chart:: "zabbix-helm-chrt",
repo:: "https://cdn.zabbix.com/zabbix/integrations/kubernetes-helm/6.4",
version:: "1.3.*",
values:: |||
zabbixAgent:
enabled: false
zabbixProxy:
env:
- name: ZBX_HOSTNAME
value: zabbix-proxy
- name: ZBX_SERVER_HOST
value: "zabbix.smsvc.net"
|||
}
]