feat: add zabbix-proxy to monitoring stack
This commit is contained in:
parent
b679b3110e
commit
7a2f25cb64
3 changed files with 23 additions and 22 deletions
|
@ -6,6 +6,7 @@
|
||||||
* selfsigned issuer
|
* selfsigned issuer
|
||||||
* LetsEncrypt issuers (Prod and Staging)
|
* LetsEncrypt issuers (Prod and Staging)
|
||||||
* [prometheus and grafana](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
|
* [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/)
|
* [loki](https://grafana.com/docs/loki/latest/)
|
||||||
* [keel](https://keel.sh)
|
* [keel](https://keel.sh)
|
||||||
* [reloader](https://github.com/stakater/Reloader)
|
* [reloader](https://github.com/stakater/Reloader)
|
||||||
|
|
|
@ -32,28 +32,7 @@ app + {
|
||||||
kubeControllerManager:
|
kubeControllerManager:
|
||||||
enabled: false
|
enabled: false
|
||||||
alertmanager:
|
alertmanager:
|
||||||
config:
|
enabled: false
|
||||||
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
|
|
||||||
prometheus:
|
prometheus:
|
||||||
prometheusSpec:
|
prometheusSpec:
|
||||||
storageSpec:
|
storageSpec:
|
||||||
|
|
21
k8s-manifests/monitoring/zabbix-proxy.jsonnet
Normal file
21
k8s-manifests/monitoring/zabbix-proxy.jsonnet
Normal 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"
|
||||||
|
|||
|
||||||
|
}
|
||||||
|
]
|
Loading…
Reference in a new issue