1
0
forked from k-space/kube
kube/monitoring
2024-07-25 19:17:24 +03:00
..
alertmanager.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
blackbox-exporter.yaml monitoring: Upgrade blackbox-exporter 2024-07-25 19:17:24 +03:00
mikrotik-exporter.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
node-exporter.yaml Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +03:00
ping-exporter.yaml monitoring: add ping-exporter 2023-10-04 20:46:25 +03:00
prometheus.yaml monitoring: Switch Prometheus to local path provisioner 2023-09-23 11:55:56 +03:00
README.md Move Prometheus instance to monitoring namespace 2023-08-19 09:24:48 +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

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)