1
0
forked from k-space/kube
kube/monitoring
2024-08-12 21:41:36 +03:00
..
alertmanager.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
blackbox-exporter.yaml deprecate members.k-space.ee 2024-07-27 03:17:24 +03:00
mikrotik-exporter.yaml Use Codemower's image for mikrotik-exporter 2024-07-26 14:15:18 +03:00
node-exporter.yaml Remove Keel annotations 2024-07-26 13:56:13 +03:00
ping-exporter.yaml monitoring: add ping-exporter 2023-10-04 20:46:25 +03:00
prometheus.yaml migrate to new passmower 2024-07-27 03:17:24 +03:00
README.md docs: mega refactor 2024-07-30 10:51:34 +03:00
snmp-configs.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
snmp-exporter.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
zrepl.yaml Move Ansible directory to separate repo 2024-08-12 21:41:36 +03:00

Monitoring

Additional docs: https://wiki.k-space.ee/en/hosting/monitoring

This namespace is managed by ArgoCD

To reconfigure SNMP targets etc:

kubectl delete -n monitoring configmap snmp-exporter
kubectl create -n monitoring configmap snmp-exporter --from-file=snmp.yml=snmp-configs.yaml

To set Slack secrets:

 kubectl create -n monitoring secret generic slack-secrets \
    --from-literal=webhook-url=https://hooks.slack.com/services/...

To set Mikrotik secrets:

 kubectl create -n monitoring secret generic mikrotik-exporter \
  --from-literal=MIKROTIK_PASSWORD='f7W!H*Pu' \
  --from-literal=PROMETHEUS_BEARER_TOKEN=$(cat /dev/urandom | base64 | head -c 30)