sylr / alertmanager-splunkbot

alertmanager alerts to splunk
6 stars 7 forks source link
alertmanager go golang prometheus splunk

alertmanager-splunkbot

Docker Repository on Quay

Forwarding alerts sent by prometheus alertmanager to splunk in order to understand the logic ...

Alertmanager splunkbot k8s container:

      - name: prometheus-alertmanager-splunkbot
        image: quay.io/sylr/alertmanager-splunkbot:v0.0.9
        args:
        - -v
        - --insecure
        env:
        - name: SPLUNKBOT_LISTENING_ADDRESS
          value: 127.0.0.1
        - name: SPLUNKBOT_LISTENING_PORT
          value: "44553"
        - name: SPLUNKBOT_SPLUNK_URL
          value: https://10.101.0.46/services/collector/event/1.0
        - name: SPLUNKBOT_SPLUNK_TOKEN
          valueFrom:
            secretKeyRef:
              key: splunk-token
              name: splunkbot-secrets
        imagePullPolicy: IfNotPresent
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File

Alertmanager config:

receivers:
  webhook_configs:
  - send_resolved: true
    url: http://127.0.0.1:44553